Share

AcRxBoxedValue Template

Class Hierarchy

AcRxObject
    AcRxBoxedValue
        AcRxBoxedValueOnStack

C++

template <typename T>
class AcRxBoxedValue : public AcRxObject;

File

rxvalue.h

Description

This is the base class for all boxed types. This class can be used to wrap the AcRxValue in an AcRxObject. There are instances where we need to treat the non-AcRxObject derived object as an AcRxObject. An example is querying the properties of AcGePoint3d which is a non-AcRxObject derived type. In this case we can box the AcGePoint3d value, pass the AcRxBoxedValue object that is obtained to the property engine to get its properties.

Links

AcRxBoxedValue Methods

Was this information helpful?