24 #ifndef _IFC_ENTITY_H_
25 #define _IFC_ENTITY_H_
46 #define STL_USING_LIMITS
72 class OdIfcModelContents;
148 virtual bool testAttr(
const OdAnsiString &explicitAttrName)
const;
161 virtual void unsetAttr(
const OdAnsiString &explicitAttrName);
201 m_resolved = resolved;
216 return reinterpret_cast<OdGePoint3d*
>(pEnt->m_resPtr);
232 return reinterpret_cast<OdGePoint2d*
>(pEnt->m_resPtr);
372 void* asCustom()
const {
return m_resPtr; }
375 friend class OdIfcModelContents;
#define ODA_ASSERT_ONCE(exp)
ODRX_DECLARE_MEMBERS(OdIfcEntity)
static OdGeMatrix2d * asMatrix2d(OdSmartPtr< OdIfcEntity > pEnt)
static OdGeVector3d * asVector3d(OdSmartPtr< OdIfcEntity > pEnt)
virtual OdIfcEntityType type() const =0
static OdGePoint3d * asPoint3d(OdSmartPtr< OdIfcEntity > pEnt)
virtual bool putAttr(const OdIfcAttribute explicitAttrDef, const OdRxValue &val)
virtual void setGsNode(OdGsCache *pGsNode)
static OdCmEntityColor * asRgbColor(OdSmartPtr< OdIfcEntity > pEnt)
static OdIfcCompoundPtr asCompound(OdSmartPtr< OdIfcEntity > pEnt)
virtual OdGsCache * gsNode() const
virtual bool testAttr(const OdIfcAttribute explicitAttrDef) const
virtual bool putAttr(const OdAnsiString &explicitAttrName, const OdRxValue &val)
virtual OdRxValue getAttr(const OdAnsiString &attrName) const
void resolve(IfcOpResult resolved, void *resPtr)
virtual bool isInstanceOf(OdIfcEntityType entityType) const
virtual bool isKindOf(OdIfcEntityType entityType) const
virtual OdRxValue getAttr(const OdIfcAttribute attrDef) const
virtual OdUInt32 subSetAttributes(OdGiDrawableTraits *traits) const
virtual void unsetAttr(const OdIfcAttribute explicitAttrDef)
static OdGeVector2d * asVector2d(OdSmartPtr< OdIfcEntity > pEnt)
static OdGeMatrix3d * asMatrix3d(OdSmartPtr< OdIfcEntity > pEnt)
virtual bool testAttr(const OdAnsiString &explicitAttrName) const
static OdGePoint2d * asPoint2d(OdSmartPtr< OdIfcEntity > pEnt)
virtual bool subWorldDraw(OdGiWorldDraw *wd) const
virtual void unsetAttr(const OdAnsiString &explicitAttrName)
OdSmartPtr< OdIfcCompound > OdIfcCompoundPtr