ubit
Public Member Functions | List of all members
ubit::UObject::MetaClass Struct Reference
Inheritance diagram for ubit::UObject::MetaClass:
ubit::UClass

Public Member Functions

virtual bool isInstance (UObject *obj) const
 
virtual UObjectnewInstance () const
 creates a new instance of the corresponding class (if applicable). More...
 
virtual UStylenewStyle () const
 creates a new instance of the style of this class (if applicable). More...
 
- Public Member Functions inherited from ubit::UClass
 UClass (const char *name)
 
 UClass (const UStr &name)
 
const UStrgetName () const
 returns the class name.
 
unsigned int getNo () const
 returns the class #. More...
 
virtual int getParseModes () const
 returns an ORed combination of the parse modes (0 if none).
 
virtual bool isInstance (UObject &object) const
 returns true if this 'object' derives from this class.
 
UStyleobtainStyle () const
 returns the style prototype that is associated to this class. More...
 
UAttrListgetAttributes () const
 returns current class properties. More...
 
void setAttributes (UAttrList *alist) const
 changes the class properties. More...
 

Additional Inherited Members

- Public Types inherited from ubit::UClass
enum  ParseModes { EMPTY_ELEMENT = 1<<0, DONT_PARSE_CONTENT = 1<<1, PRESERVE_SPACES = 1<<2 }
 Parse Modes returned by UClass::getParseModes(): More...
 

Member Function Documentation

§ newInstance()

virtual UObject* ubit::UObject::MetaClass::newInstance ( ) const
inlinevirtual

creates a new instance of the corresponding class (if applicable).

Ubit classes that derive from UObject should have an associated UClass that redefines this method.

Reimplemented from ubit::UClass.

§ newStyle()

virtual UStyle* ubit::UObject::MetaClass::newStyle ( ) const
inlinevirtual

creates a new instance of the style of this class (if applicable).

Ubit classes that derive from UElem should have an associated UClass that redefines this method.

Reimplemented from ubit::UClass.


The documentation for this struct was generated from the following file: