Library | File

Class pfcModelUnits

# include <pfcBase.h>

class pfcModelUnits
 : public virtual xobject
{
    xdeclare(pfcModelUnits)
    ...
};
This is a COMPACT class.



Description

This interface represents a type of units (length, mass, or other units).
Direct Known Subclasses:
pfcLengthUnits



Method Summary

optional xstringGetUnitName ()
voidSetUnitName (optional xrstring value)
The name of the units.
pfcUnitTypeGetUnitType ()
Returns the type of units described by the data object.



Method Detail

pfcUnitTypeGetUnitType ()

Returns the type of units described by the data object.
Returns:
The type of units (length, mass, or custom).



optional xstringGetUnitName ()
voidSetUnitName (optional xrstring value)

The name of the units.