|
QSDK 1.1 Documentation |
#include <Q/gamedev.h>
Inheritance diagram for Q::SchemaFactory:

Public Types | |
| typedef Com::Ptr< SchemaFactory > | PTR |
Public Member Functions | |
| virtual Utils::Result | conceptToName (const Concept &con, Utils::String &name)=0 |
| virtual Utils::Result | nameToConcept (const char *name, Concept &concept)=0 |
Static Public Member Functions | |
| PTR | theFactory () |
Static Public Attributes | |
| Com::UUID | IID |
| Com::UUID | CLSID |
The factory converts between user-created names of Game Schema types and their corresponding Concepts. The Game Schema types are authored in QStudio and must have been compiled into a Q file using QDS "compile" command or equivalent.
|
|
A COM pointer to an object of this class. |
|
||||||||||||
|
Look up the schema type (type of EntityInstance) name for the given Concept. The type name and the Concept's names are not the same because Concepts have no notion of namespaces. To avoid clashes with the names of other Concepts, all schema Concepts are given a specific (internal) prefix. This prefix must not be assumed or otherwise coded externally.
|
|
||||||||||||
|
Look up the concept for the given schema type
|
|
|
The Factory singleton |
|
|
COM CLSID a2765a69-664a-4a98-b72a-7f1bce468516 |
|
|
COM IID 33320fdb-aae6-4718-9a88-d6380dda7d97 Reimplemented from Com::Unknown. |
|
|
|
Qube Software Limited © 2000-2004
|
|