|
ubit
|
Public Member Functions | |
| MetaClass (const UStr &classname) | |
| virtual bool | isInstance (UObject &obj) const |
| returns true if this 'object' derives from this class. | |
| virtual UDefaultBlockElement * | newInstance () const |
| creates a new instance of the corresponding class (if applicable). More... | |
| virtual UStyle * | newStyle () 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 UStr & | getName () 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). | |
| UStyle * | obtainStyle () const |
| returns the style prototype that is associated to this class. More... | |
| UAttrList * | getAttributes () 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... | |
|
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.
|
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.
1.8.12