4 #include <Atlas/Objects/ObjectsFwd.h> 5 #include "ViewEntity.h" 23 virtual bool accept(
const Atlas::Objects::Entity::RootEntity &ge,
TypeInfo* type) = 0;
26 virtual std::unique_ptr<ViewEntity>
instantiate(
const Atlas::Objects::Entity::RootEntity &ge,
TypeInfo* type,
View& v) = 0;
Factory is used to allow custom entity creation by client libraries.
virtual std::unique_ptr< ViewEntity > instantiate(const Atlas::Objects::Entity::RootEntity &ge, TypeInfo *type, View &v)=0
create whatever entity the client desires
The representation of an Atlas type (i.e a class or operation definition). This class supports effice...
virtual bool accept(const Atlas::Objects::Entity::RootEntity &ge, TypeInfo *type)=0
Accept is called by the world to test if this factory can instantiate the specified object...