• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

step/stepcore

StepCore::MetaObject

StepCore::MetaObject Class Reference
[Reflections]

#include <object.h>

List of all members.


Detailed Description

Meta-information about class.

Definition at line 154 of file object.h.


Public Types

enum  { ABSTRACT = 1 }

Public Member Functions

int classId () const
const QString & className () const
const MetaProperty * classProperty (int n) const
int classPropertyCount () const
Object * cloneObject (const Object &obj) const
void copyProperties (const MetaProperty **dest) const
const QString & description () const
bool inherits (const char *name) const
template<class T>
bool inherits (T *) const
template<class T>
bool inherits () const
bool inherits (const MetaObject *obj) const
void init () const
bool isAbstract () const
Object * newObject () const
const MetaProperty * property (const QString &name) const
const MetaProperty * property (int n) const
int propertyCount () const
const MetaObject * superClass (int n) const
int superClassCount () const

Public Attributes

const MetaProperty ** _allProperties
int _allPropertyCount
QBitArray _allSuperClassIds
int _classId
const QString _className
const MetaProperty *const _classProperties
const int _classPropertyCount
Object *(*const _cloneObject )(const Object &)
const QString _description
const int _flags
bool _initialized
Object *(*const _newObject )()
const int _superClassCount
const MetaObject **const _superClasses

Static Public Attributes

static int s_classIdCount

Member Enumeration Documentation

anonymous enum

Enumerator:
ABSTRACT  Class is abstract.

Definition at line 157 of file object.h.


Member Function Documentation

int StepCore::MetaObject::classId (  )  const [inline]

Returns class id.

Definition at line 167 of file object.h.

const QString& StepCore::MetaObject::className (  )  const [inline]

Returns class name.

Definition at line 163 of file object.h.

const MetaProperty* StepCore::MetaObject::classProperty ( int  n  )  const [inline]

Returns non-inherited property.

Definition at line 194 of file object.h.

int StepCore::MetaObject::classPropertyCount (  )  const [inline]

Returns number of non-inherited properties.

Definition at line 192 of file object.h.

Object* StepCore::MetaObject::cloneObject ( const Object &  obj  )  const [inline]

Creates a copy of given object.

Definition at line 174 of file object.h.

void StepCore::MetaObject::copyProperties ( const MetaProperty **  dest  )  const

const QString& StepCore::MetaObject::description (  )  const [inline]

Returns class description.

Definition at line 165 of file object.h.

bool StepCore::MetaObject::inherits ( const char *  name  )  const

Returns true if this class inherits class named name.

Note:
Due to technical reason this is much slower then inherits(const MetaObject*) function

Definition at line 74 of file object.cc.

template<class T>
bool StepCore::MetaObject::inherits ( T *   )  const [inline]

Returns true if this class inherits class T.

Definition at line 185 of file object.h.

template<class T>
bool StepCore::MetaObject::inherits (  )  const [inline]

Returns true if this class inherits class T.

Definition at line 183 of file object.h.

bool StepCore::MetaObject::inherits ( const MetaObject *  obj  )  const

Returns true if this class inherits class described by obj.

Definition at line 65 of file object.cc.

void StepCore::MetaObject::init (  )  const

Definition at line 41 of file object.cc.

bool StepCore::MetaObject::isAbstract (  )  const [inline]

Returns true if class is abstract.

Definition at line 170 of file object.h.

Object* StepCore::MetaObject::newObject (  )  const [inline]

Creates new object of this class.

Definition at line 172 of file object.h.

const MetaProperty * StepCore::MetaObject::property ( const QString &  name  )  const

Returns property by name.

Definition at line 108 of file object.cc.

const MetaProperty* StepCore::MetaObject::property ( int  n  )  const [inline]

Returns property by index.

Definition at line 199 of file object.h.

int StepCore::MetaObject::propertyCount (  )  const [inline]

Returns property count.

Definition at line 197 of file object.h.

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

Returns direct base.

Definition at line 179 of file object.h.

int StepCore::MetaObject::superClassCount (  )  const [inline]

Returns number of direct bases.

Definition at line 177 of file object.h.


Member Data Documentation

const MetaProperty** StepCore::MetaObject::_allProperties [mutable]

Definition at line 219 of file object.h.

int StepCore::MetaObject::_allPropertyCount [mutable]

Definition at line 220 of file object.h.

QBitArray StepCore::MetaObject::_allSuperClassIds [mutable]

Definition at line 223 of file object.h.

int StepCore::MetaObject::_classId [mutable]

Definition at line 222 of file object.h.

const QString StepCore::MetaObject::_className

Definition at line 207 of file object.h.

const MetaProperty* const StepCore::MetaObject::_classProperties

Definition at line 215 of file object.h.

const int StepCore::MetaObject::_classPropertyCount

Definition at line 216 of file object.h.

Object*(*const StepCore::MetaObject::_cloneObject)(const Object &)

const QString StepCore::MetaObject::_description

Definition at line 208 of file object.h.

const int StepCore::MetaObject::_flags

Definition at line 209 of file object.h.

bool StepCore::MetaObject::_initialized [mutable]

Definition at line 218 of file object.h.

Object*(*const StepCore::MetaObject::_newObject)()

const int StepCore::MetaObject::_superClassCount

Definition at line 214 of file object.h.

const MetaObject** const StepCore::MetaObject::_superClasses

Definition at line 213 of file object.h.

int StepCore::MetaObject::s_classIdCount [static]

Definition at line 225 of file object.h.


The documentation for this class was generated from the following files:
  • object.h
  • object.cc

step/stepcore

Skip menu "step/stepcore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal