Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

vos/corelibs/vos/metaobject.hh File Reference

Go to the source code of this file.

Namespaces

Defines


Define Documentation

#define CREATE_METAOBJECT SITE,
CLASS   )     VOS::MetaObject::meta_cast<CLASS*>((SITE)->createMetaObject(#CLASS, typeid(CLASS).name(), 0))
 

This is a macro for the convenience of lazy typists.

Note, it can only create objects with one type.

Deprecated:
Don't use this, use LocalSite::createMetaObject<TYPE>(name, ac).
Parameters:
SITE A pointer or vRef to a Site
CLASS Class to cast to and to use in creating the new object.

Definition at line 318 of file metaobject.hh.


Generated on Tue Aug 12 03:55:48 2003 for Interreality Project - VOS by doxygen 1.3.2