MetaObject Class Reference
[Reflections]

Meta-information about class. More...

#include <object.h>

List of all members.

Public Types

enum  { ABSTRACT = 1 }

Public Member Functions

const char * className () const
const char * description () const
bool isAbstract () const
ObjectnewObject () const
ObjectcloneObject (const Object &obj) const
int superClassCount () const
const MetaObjectsuperClass (int n) const
bool inherits (const MetaObject *obj) const
bool inherits (const char *name) const
int classPropertyCount () const
const MetaPropertyclassProperty (int n) const
int propertyCount () const
const MetaPropertyproperty (int n) const
const MetaPropertyproperty (const char *name) const


Detailed Description

Meta-information about class.


Member Enumeration Documentation

anonymous enum

Enumerator:
ABSTRACT  Class is abstract.


Member Function Documentation

const char* className (  )  const [inline]

Returns class name

const char* description (  )  const [inline]

Returns class description

bool isAbstract (  )  const [inline]

Returns true if class is abstract

Object* newObject (  )  const [inline]

Creates new object of this class

Object* cloneObject ( const Object obj  )  const [inline]

Creates a copy of given object

int superClassCount (  )  const [inline]

Returns number of direct bases

const MetaObject* superClass ( int  n  )  const [inline]

Returns direct base

bool inherits ( const MetaObject obj  )  const

Returns true if this class inherits class described by obj

bool inherits ( const char *  name  )  const

Returns true if this class inherits class named name

int classPropertyCount (  )  const [inline]

Returns number of non-inherited properties

const MetaProperty* classProperty ( int  n  )  const [inline]

Returns non-inherited property

int propertyCount (  )  const

Returns property count

Todo:
TODO caching

const MetaProperty * property ( int  n  )  const

Returns property by index

Todo:
TODO caching

const MetaProperty * property ( const char *  name  )  const

Returns property by name


The documentation for this class was generated from the following files:
Generated on Thu Mar 15 14:23:37 2007 for StepCore by  doxygen 1.5.1