CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Macros
AECMacros.h File Reference
#include <DbEntity.h>
#include <RxModule.h>

Go to the source code of this file.

Macros

#define CURVE_DECLARE_MEMBERS()
 
#define AEC_DECLARE_MEMBERS(ClassName)
 
#define DECLARE_EMPTY(API, AECClass, AECParentClass)
 
#define AEC_DICTIONARY_BASE(ClassName)
 
#define AEC_DICTIONARY_DECLARE_MEMBERS(ClassName)
 
#define AEC_SUBOBJ_DECLARE_MEMBERS_NO_DESTR(ClassName)
 
#define AEC_SUBOBJ_DECLARE_MEMBERS(ClassName)
 

Macro Definition Documentation

◆ AEC_DECLARE_MEMBERS

#define AEC_DECLARE_MEMBERS (   ClassName)
Value:
\
ODRX_DECLARE_MEMBERS( ClassName ); \
\
private: \
OdRxModulePtr m_pModule; \
public: \
static const OdUInt16 m_AECType; \
static const OdUInt16 m_ver; \
public: \
ClassName(); \
virtual ~ClassName(); \
public: \
virtual OdUInt16 GetAECType() const; \
void referenceModule(); \
\
virtual OdResult dwgInFieldsEx( AECDbDwgFiler* pFiler ); \
virtual void dwgOutFieldsEx( AECDbDwgFiler* pFiler ) const; \
\
virtual OdResult dxfInFields( OdDbDxfFiler* pFiler ); \
virtual void dxfOutFields( OdDbDxfFiler* pFiler ) const
unsigned short OdUInt16
OdResult
Definition: OdResult.h:29

Definition at line 54 of file AECMacros.h.

◆ AEC_DICTIONARY_BASE

#define AEC_DICTIONARY_BASE (   ClassName)
Value:
public: \
static OdDbObjectId GetAECDictionary( OdDbDatabase* pDatabase, bool bCreateIfNotFound = false ); \
static OdDbObjectId GetAECDictionaryExt( OdDbObject* pObject, bool bCreateIfNotFound = false )

Definition at line 86 of file AECMacros.h.

◆ AEC_DICTIONARY_DECLARE_MEMBERS

#define AEC_DICTIONARY_DECLARE_MEMBERS (   ClassName)
Value:
AEC_DICTIONARY_BASE( ClassName ); \
static OdDbObjectId GetStandardAECObject( OdDbDatabase* pDatabase ); \
static OdDbObjectId GetAECObject( OdDbDatabase* pDatabase, const OdString& strName = OdString::kEmpty ); \
static OdDbObjectId GetAECObjectExt( OdDbObject* pObject, const OdString& strName ); \
static OdDbObjectId CreateAECObject( OdDbDatabase* pDatabase, const OdString& strName = OdString::kEmpty ); \
static OdDbObjectId CreateAECObjectExt( OdDbObject* pObject, const OdString& strName = OdString::kEmpty )
#define AEC_DICTIONARY_BASE(ClassName)
Definition: AECMacros.h:86
FIRSTDLL_EXPORT_STATIC static const OdString kEmpty
Definition: OdString.h:98

Definition at line 91 of file AECMacros.h.

◆ AEC_SUBOBJ_DECLARE_MEMBERS

#define AEC_SUBOBJ_DECLARE_MEMBERS (   ClassName)
Value:
virtual ~ClassName() { }
#define AEC_SUBOBJ_DECLARE_MEMBERS_NO_DESTR(ClassName)
Definition: AECMacros.h:100

Definition at line 107 of file AECMacros.h.

◆ AEC_SUBOBJ_DECLARE_MEMBERS_NO_DESTR

#define AEC_SUBOBJ_DECLARE_MEMBERS_NO_DESTR (   ClassName)
Value:
ODRX_DECLARE_MEMBERS( ClassName ); \
public: \
ClassName(); \
virtual OdResult dwgInFieldsEx( AECDbDwgFiler* pFiler ); \
virtual void dwgOutFieldsEx( AECDbDwgFiler* pFiler ) const;
#define ODRX_DECLARE_MEMBERS(ClassName)
Definition: RxObject.h:112

Definition at line 100 of file AECMacros.h.

◆ CURVE_DECLARE_MEMBERS

#define CURVE_DECLARE_MEMBERS ( )
Value:
public: \
virtual bool isClosed() const; \
virtual bool isPeriodic() const; \
virtual OdResult getStartParam( double& param ) const; \
virtual OdResult getEndParam ( double& param ) const; \
virtual OdResult getStartPoint( OdGePoint3d& pt ) const; \
virtual OdResult getEndPoint( OdGePoint3d& pt ) const; \
virtual OdResult getPointAtParam( double, OdGePoint3d& ) const; \
virtual OdResult getParamAtPoint( const OdGePoint3d&, double& ) const; \
virtual OdResult getDistAtParam ( double param, double& dist ) const; \
virtual OdResult getParamAtDist ( double dist, double& param ) const; \
virtual OdResult getDistAtPoint ( const OdGePoint3d&, double& )const; \
virtual OdResult getPointAtDist ( double, OdGePoint3d&) const; \
virtual OdResult getFirstDeriv ( double param, OdGeVector3d& firstDeriv ) const; \
virtual OdResult getPlane(OdGePlane& plane, OdDb::Planarity& planarity) const; \
virtual OdResult getClosestPointTo( const OdGePoint3d& givenPoint, OdGePoint3d& pointOnCurve, bool extend = false ) const
Planarity
Definition: DbEntity.h:74

Definition at line 34 of file AECMacros.h.

◆ DECLARE_EMPTY

#define DECLARE_EMPTY (   API,
  AECClass,
  AECParentClass 
)
Value:
class API AECClass : public AECParentClass \
{ \
AEC_DECLARE_MEMBERS( AECClass ); \
}; \
typedef OdSmartPtr<AECClass> AECClass##Ptr

Definition at line 77 of file AECMacros.h.