VR-Exchange 2.1 API Documentation
List of all members | Public Member Functions | Protected Attributes
MAKVrExchange::DtProperty Class Reference

A property class. More...

Public Member Functions

 DtProperty (QString name, DtPropertyTypeAP type, QVariant value)
 DtProperty (const DtProperty &)
 Copy Constructor.
 DtProperty ()
 ~DtProperty ()
DtProperty & operator= (const DtProperty &)
virtual bool operator< (const DtProperty &) const
DtProperty & appendChild (const DtProperty &child)
void removeChild (QString name)
DtProperty * findChild (QString name)
 Find a child by name.
const DtProperty * findChild (QString name) const
const DtPropertyType * type () const
QString name () const
QVariant value () const
int id () const
bool readOnly () const
DtPropertyList * children ()
const DtPropertyList * children () const
void setId (int id)
void setValue (QVariant value)
void setReadOnly (bool readOnly)

Protected Attributes

QString myName
QVariant myValue
DtPropertyTypeAP myType
int myId
DtPropertyList * myChildren
DtProperty * myParent
bool myReadOnly

Detailed Description

A property class.

Constructor & Destructor Documentation

MAKVrExchange::DtProperty::DtProperty ( QString  name,
DtPropertyTypeAP  type,
QVariant  value 
)
MAKVrExchange::DtProperty::DtProperty ( const DtProperty &  )

Copy Constructor.

MAKVrExchange::DtProperty::DtProperty ( )
MAKVrExchange::DtProperty::~DtProperty ( )

Member Function Documentation

DtProperty& MAKVrExchange::DtProperty::operator= ( const DtProperty &  )
virtual bool MAKVrExchange::DtProperty::operator< ( const DtProperty &  ) const
virtual
DtProperty& MAKVrExchange::DtProperty::appendChild ( const DtProperty &  child)
void MAKVrExchange::DtProperty::removeChild ( QString  name)
DtProperty* MAKVrExchange::DtProperty::findChild ( QString  name)

Find a child by name.

const DtProperty* MAKVrExchange::DtProperty::findChild ( QString  name) const
const DtPropertyType* MAKVrExchange::DtProperty::type ( ) const
QString MAKVrExchange::DtProperty::name ( ) const
QVariant MAKVrExchange::DtProperty::value ( ) const
int MAKVrExchange::DtProperty::id ( ) const
bool MAKVrExchange::DtProperty::readOnly ( ) const
DtPropertyList* MAKVrExchange::DtProperty::children ( )
const DtPropertyList* MAKVrExchange::DtProperty::children ( ) const
void MAKVrExchange::DtProperty::setId ( int  id)
void MAKVrExchange::DtProperty::setValue ( QVariant  value)
void MAKVrExchange::DtProperty::setReadOnly ( bool  readOnly)

Member Data Documentation

QString MAKVrExchange::DtProperty::myName
protected
QVariant MAKVrExchange::DtProperty::myValue
protected
DtPropertyTypeAP MAKVrExchange::DtProperty::myType
protected
int MAKVrExchange::DtProperty::myId
protected
DtPropertyList* MAKVrExchange::DtProperty::myChildren
protected
DtProperty* MAKVrExchange::DtProperty::myParent
protected
bool MAKVrExchange::DtProperty::myReadOnly
protected

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

Document ID: Generated on Tue Aug 7 22:07:13 EDT 2012 from SVN revision 117874
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)