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

step/stepcore

  • StepCore
  • MetaObject
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
StepCore::MetaObject Class Reference
Reflections

#include <object.h>

Public Types

enum  { ABSTRACT = 1 }
 

Public Member Functions

int classId () const
 
const QString & className () const
 
const QString & classNameTr () 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
 
const QString & descriptionTr () const
 
bool inherits (const MetaObject *obj) const
 
template<class T >
bool inherits () const
 
template<class T >
bool inherits (T *) const
 
bool inherits (const char *name) const
 
void init () const
 
bool isAbstract () const
 
Object * newObject () const
 
const MetaProperty * property (int n) const
 
const MetaProperty * property (const QString &name) const
 
int propertyCount () const
 
const MetaObject * superClass (int n) const
 
int superClassCount () const
 
void tryInit () const
 

Public Attributes

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

Static Public Attributes

static int s_classIdCount
 

Detailed Description

Meta-information about class.

Definition at line 176 of file object.h.

Member Enumeration Documentation

anonymous enum
Enumerator
ABSTRACT 

Class is abstract.

Definition at line 179 of file object.h.

Member Function Documentation

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

Returns class id.

Definition at line 195 of file object.h.

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

Returns class name.

Definition at line 185 of file object.h.

const QString& StepCore::MetaObject::classNameTr ( ) const
inline

Returns translated class name.

Definition at line 190 of file object.h.

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

Returns non-inherited property.

Definition at line 222 of file object.h.

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

Returns number of non-inherited properties.

Definition at line 220 of file object.h.

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

Creates a copy of given object.

Definition at line 202 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 187 of file object.h.

const QString& StepCore::MetaObject::descriptionTr ( ) const
inline

Returns translated class description.

Definition at line 192 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 73 of file object.cc.

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

Returns true if this class inherits class T.

Definition at line 211 of file object.h.

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

Returns true if this class inherits class T.

Definition at line 213 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 82 of file object.cc.

void StepCore::MetaObject::init ( ) const

Definition at line 43 of file object.cc.

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

Returns true if class is abstract.

Definition at line 198 of file object.h.

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

Creates new object of this class.

Definition at line 200 of file object.h.

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

Returns property by index.

Definition at line 227 of file object.h.

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

Returns property by name.

Definition at line 127 of file object.cc.

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

Returns property count.

Definition at line 225 of file object.h.

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

Returns direct base.

Definition at line 207 of file object.h.

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

Returns number of direct bases.

Definition at line 205 of file object.h.

void StepCore::MetaObject::tryInit ( ) const
inline

Definition at line 233 of file object.h.

Member Data Documentation

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

Definition at line 248 of file object.h.

int StepCore::MetaObject::_allPropertyCount
mutable

Definition at line 249 of file object.h.

QBitArray StepCore::MetaObject::_allSuperClassIds
mutable

Definition at line 252 of file object.h.

int StepCore::MetaObject::_classId
mutable

Definition at line 251 of file object.h.

const QString StepCore::MetaObject::_className

Definition at line 236 of file object.h.

QString StepCore::MetaObject::_classNameTr
mutable

Definition at line 254 of file object.h.

const MetaProperty* const StepCore::MetaObject::_classProperties

Definition at line 244 of file object.h.

const int StepCore::MetaObject::_classPropertyCount

Definition at line 245 of file object.h.

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

Definition at line 240 of file object.h.

const QString StepCore::MetaObject::_description

Definition at line 237 of file object.h.

QString StepCore::MetaObject::_descriptionTr
mutable

Definition at line 255 of file object.h.

const int StepCore::MetaObject::_flags

Definition at line 238 of file object.h.

bool StepCore::MetaObject::_initialized
mutable

Definition at line 247 of file object.h.

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

Definition at line 239 of file object.h.

const int StepCore::MetaObject::_superClassCount

Definition at line 243 of file object.h.

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

Definition at line 242 of file object.h.

int StepCore::MetaObject::s_classIdCount
static

Definition at line 257 of file object.h.


The documentation for this class was generated from the following files:
  • object.h
  • object.cc
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:43:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

step/stepcore

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

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal