oaheader.gif
topics.gif classes.gif classes.gif exceptions.gif progguide.gif infomodel.gif index.gif help.gif
 
 
 

DEF Properties

PROPERTY {propName propVal} ...

DEF properties are stored using oaProp objects. The type of the value determines whether oaIntProp, oaIntRangeProp, oaDoubleProp, oaDoubleRange, or oaStringProp is used. The API for retrieving this informations is:

    oaCollection oaObject::getProps()
    oaIter<oaProp>::oaIter<oaProp>(const oaBaseCollection &coll)
    oaProp *oaIter<oaProp>::getNext()
    void oaProp::getName(oaString  &name) const
    void oaProp::getValue(oaString &value) const

Any property name used in DEF must be defined in the PROPERTYDEFINITIONS statement.