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

LEF Properties

PROPERTY {propName propVal}... 

LEF properties are stored using oaProp objects. Whether a property is stored as an oaIntProp, oaIntRangeProp, oaDoubleProp, oaDoubleRange, or an oaStringProp depends on the type of the value. The API you use to store the property is:

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

Note: Any property name used in LEF must be defined in a PROPERTYDEFINITIONS statement.