#include "OdaCommon.h"
#include "daiRxProperties.h"
#include "IfcValueTypes.h"
Go to the source code of this file.
|
#define | ODRX_DECLARE_RX_PROPERTY_RO_TREE(Object, Name, Type, Category, Description, HierarchyLevel) |
|
#define | ODRX_DAI_DECLARE_RX_PROPERTY_COLLECTION_TREE(Object, Name, Type, Category, Description, HierarchyLevel) |
|
◆ ODRX_DAI_DECLARE_RX_PROPERTY_COLLECTION_TREE
#define ODRX_DAI_DECLARE_RX_PROPERTY_COLLECTION_TREE |
( |
|
Object, |
|
|
|
Name, |
|
|
|
Type, |
|
|
|
Category, |
|
|
|
Description, |
|
|
|
HierarchyLevel |
|
) |
| |
Value:
{\
((Object ## Name ## Property*)res.
get())->
attributes().
add(OdDAIRxHierarchyLevelAttribute::createObject()); \
return res;\
}\
}
static OdRxAttributePtr createObject(bool bShowIndex, bool bShowObjectType)
OdResult add(const OdRxAttribute *attribute)
virtual OdResult subTryGetCount(const OdRxObject *pO, int &count) const
void init(const OdString &name, const OdRxValueType *type, const OdRxObject *owner=0)
virtual OdRxValueIteratorPtr subNewValueIterator(const OdRxObject *pO) const
static OdRxAttributePtr createObject(const OdString &description, unsigned int id=0, unsigned int sourceHint=0)
const OdRxObject * owner() const
const OdRxAttributeCollection & attributes() const
static OdSmartPtr< TInterface > createObject()
static OdRxAttributePtr createObject(const OdString &category, unsigned int weight)
FIRSTDLL_EXPORT_STATIC static const OdString kEmpty
static const OdRxValueType & value()
Definition at line 51 of file IfcRxProperties.h.
◆ ODRX_DECLARE_RX_PROPERTY_RO_TREE
#define ODRX_DECLARE_RX_PROPERTY_RO_TREE |
( |
|
Object, |
|
|
|
Name, |
|
|
|
Type, |
|
|
|
Category, |
|
|
|
Description, |
|
|
|
HierarchyLevel |
|
) |
| |
Value:
{\
((Object ## Name ## Property*)res.
get())->
attributes().
add(OdDAIRxHierarchyLevelAttribute::createObject()); \
return res;\
}\
}
void init(const OdString &name, const OdRxValueType *type, const OdRxObject *owner=0)
virtual bool isReadOnly(const OdRxObject *pO) const
virtual OdResult subGetValue(const OdRxObject *pO, OdRxValue &value) const
GLsizei const GLfloat * value
Definition at line 32 of file IfcRxProperties.h.