#include <ObjectFactory.hpp>
List of all members.
Detailed Description
Definition at line 15 of file ObjectFactory.hpp.
Constructor & Destructor Documentation
| yap::ObjectFactory::ObjectFactory |
( |
| ) |
|
|
private |
| yap::ObjectFactory::~ObjectFactory |
( |
| ) |
|
|
private |
Member Function Documentation
| void yap::ObjectFactory::AddType |
( |
const ID & |
id, |
|
|
const String & |
type |
|
) |
| |
| bool yap::ObjectFactory::ContainsLoader |
( |
const String & |
typeName | ) |
const |
|
private |
template<typename T >
| T * yap::ObjectFactory::Create |
( |
const String & |
typeName, |
|
|
const ID & |
id |
|
) |
| |
|
inline |
template<typename T >
| T * yap::ObjectFactory::Create |
( |
const ID & |
typeID, |
|
|
const ID & |
id |
|
) |
| |
|
inline |
template<typename T >
| T * yap::ObjectFactory::Create |
( |
const String & |
typeName, |
|
|
IReader & |
reader, |
|
|
const String & |
rootNodeName |
|
) |
| |
|
inline |
Creates an object from a partial input file. Does not store it.
- Parameters:
-
| typeName | Name of the registered type to load. |
| reader | IReader from which to load the entity. |
| rootNodeName | Name of the root node which contains the definition of the entity to create. |
- Returns:
- The entity with the type typeName created from the node rootNodeName in the file file.
Definition at line 43 of file ObjectFactory.hxx.
template<typename T >
| T * yap::ObjectFactory::Get |
( |
const String & |
typeName, |
|
|
const ID & |
id |
|
) |
| |
| const ID & yap::ObjectFactory::GetID |
( |
const String & |
type | ) |
const |
| const String & yap::ObjectFactory::GetType |
( |
const ID & |
id | ) |
const |
Member Data Documentation
| const UInt64 yap::ObjectFactory::INITIAL_ID = 0 |
|
staticprivate |
The documentation for this class was generated from the following files: