MAK RTIspy API Documentation for HLA 1.3
List of all members | Public Member Functions | Protected Attributes
DtProperty Class Reference

A property class. More...

+ Collaboration diagram for DtProperty:

Public Member Functions

 DtProperty (QString name, DtPropertyTypeAP type, QVariant value)
 DtProperty (const DtProperty &)
 Copy Constructor.
 DtProperty ()
 ~DtProperty ()
DtPropertyoperator= (const DtProperty &)
virtual bool operator< (const DtProperty &) const
DtPropertyappendChild (const DtProperty &child)
void removeChild (QString name)
DtPropertyfindChild (QString name)
 Find a child by name.
const DtPropertyfindChild (QString name) const
const DtPropertyTypetype () const
QString name () const
QVariant value () const
int id () const
bool readOnly () const
DtPropertyListchildren ()
const DtPropertyListchildren () const
void setId (int id)
void setValue (QVariant value)
void setReadOnly (bool readOnly)

Protected Attributes

QString myName
QVariant myValue
DtPropertyTypeAP myType
int myId
DtPropertyListmyChildren
DtPropertymyParent
bool myReadOnly

Detailed Description

A property class.

Constructor & Destructor Documentation

DtProperty::DtProperty ( QString  name,
DtPropertyTypeAP  type,
QVariant  value 
)

References setValue().

DtProperty::DtProperty ( const DtProperty prop)

Copy Constructor.

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

References myChildren.

Member Function Documentation

DtProperty & DtProperty::appendChild ( const DtProperty child)
DtPropertyList * DtProperty::children ( )
const DtPropertyList * DtProperty::children ( ) const

References myChildren.

DtProperty * DtProperty::findChild ( QString  name)

Find a child by name.

References findChild().

Referenced by findChild().

const DtProperty * DtProperty::findChild ( QString  name) const

References myChildren, and name().

int DtProperty::id ( ) const

References myId.

Referenced by operator=(), and setId().

QString DtProperty::name ( ) const
bool DtProperty::operator< ( const DtProperty other) const
virtual

References myName, and name().

DtProperty & DtProperty::operator= ( const DtProperty original)
bool DtProperty::readOnly ( ) const
void DtProperty::removeChild ( QString  name)

References myChildren, and name().

void DtProperty::setId ( int  id)

References id(), and myId.

void DtProperty::setReadOnly ( bool  readOnly)

References myReadOnly, and readOnly().

void DtProperty::setValue ( QVariant  value)
const DtPropertyType * DtProperty::type ( ) const
QVariant DtProperty::value ( ) const

Member Data Documentation

DtPropertyList* DtProperty::myChildren
protected
int DtProperty::myId
protected

Referenced by id(), operator=(), and setId().

QString DtProperty::myName
protected

Referenced by name(), operator<(), and operator=().

DtProperty* DtProperty::myParent
protected

Referenced by operator=(), and readOnly().

bool DtProperty::myReadOnly
protected

Referenced by operator=(), readOnly(), and setReadOnly().

DtPropertyTypeAP DtProperty::myType
protected

Referenced by operator=(), setValue(), and type().

QVariant DtProperty::myValue
protected

Referenced by operator=(), setValue(), and value().


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

Document ID: Generated on Fri Mar 14 19:08:55 EDT 2014 from SVN revision 137085
Copyright © 2005-2014 VT MÄK Inc. All Rights Reserved (www.mak.com)