CFx SDK Documentation  2022 SP0
Public Member Functions | Protected Member Functions | List of all members
OdRxClassConsImpl Class Reference

#include <RxClassImpl.h>

Inheritance diagram for OdRxClassConsImpl:
OdRxBaseClassImpl OdRxClassProtocolExtImpl OdRxClass OdRxObject OdRxNamedClassImpl OdDxfClassImpl OdRxValueType OdRxNonBlittableType< ValueType > OdRxNonBlittableType< T > OdRxSpecifiedValueType OdRxValueTypePOD< ValueType > OdRxNonBlittableWithUnderlyingType< ValueType > AggrValueTypePOD< ValueType > OdDAISelectValueTypePOD< ValueType > OdRxEnumType< ValueType > OdRxValueWithReferenceTypePOD< ValueType > OdRxValueWithUnderlyingTypePOD< ValueType > OdRxEnumWithUnderlyingType< ValueType >

Public Member Functions

void init (OdRxModule *pModule, OdRxClass *pParent, OdPseudoConstructorType pConstr)
 
OdRxObjectPtr create () const
 
OdPseudoConstructorType constructor ()
 
void setConstructor (OdPseudoConstructorType pConstr)
 
- Public Member Functions inherited from OdRxBaseClassImpl
 ~OdRxBaseClassImpl ()
 
void init (OdRxClass *pParent, OdRxModule *pModule)
 
OdRxClassmyParent () const
 
OdRxModulemodule () const
 
virtual OdRxOverruleIterator * getOverrule (OverrulingType t) const ODRX_OVERRIDE
 
virtual void setOverrule (OdRxOverruleIterator *pIt, OverrulingType t) ODRX_OVERRIDE
 
- Public Member Functions inherited from OdRxClassProtocolExtImpl
 ~OdRxClassProtocolExtImpl ()
 
OdRxObjectPtr addX (OdRxClass *pProtocolClass, OdRxObject *pProtocolObject)
 
OdRxObjectPtr getX (const OdRxClass *pProtocolClass)
 
OdRxObjectPtr delX (OdRxClass *pProtocolClass)
 
const OdString dxfName () const
 
const OdString appName () const
 
AppNameChangeFuncPtr appNameCallbackPtr () const
 
OdUInt32 proxyFlags () const
 
OdDb::DwgVersion getClassVersion (OdDb::MaintReleaseVer *pMaintVer=0) const
 
OdUInt32 customFlags () const
 
- Public Member Functions inherited from OdRxClass
 ODRX_DECLARE_MEMBERS (OdRxClass)
 
virtual const OdString name () const =0
 
virtual bool isDerivedFrom (const OdRxClass *pClass) const
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Protected Member Functions

 OdRxClassConsImpl ()
 
- Protected Member Functions inherited from OdRxBaseClassImpl
 OdRxBaseClassImpl ()
 
- Protected Member Functions inherited from OdRxClassProtocolExtImpl
 OdRxClassProtocolExtImpl ()
 
- Protected Member Functions inherited from OdRxClass
 OdRxClass ()
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

Definition at line 116 of file RxClassImpl.h.

Constructor & Destructor Documentation

◆ OdRxClassConsImpl()

OdRxClassConsImpl::OdRxClassConsImpl ( )
protected

Member Function Documentation

◆ constructor()

OdPseudoConstructorType OdRxClassConsImpl::constructor ( )
virtual

Returns the raw pointer to the function that is the pseudo-constructor for this class.

See also
<link rtti_class_constructors.html, Functionality of Pseudo-Constructors>
<link rtti_pseudoconstructor.html, Understanding Pseudo-Constructors>

Reimplemented from OdRxClass.

◆ create()

OdRxObjectPtr OdRxClassConsImpl::create ( ) const
virtual

Creates a new instance of the class associated with the class describing instance using the pseudo-constructor of the class.

Returns
Returns a smart pointer to the newly created instance.
See also
<link rtti_class_constructors.html, Functionality of Pseudo-Constructors>
<link rtti_pseudoconstructor.html, Understanding Pseudo-Constructors>

Reimplemented from OdRxClassProtocolExtImpl.

Reimplemented in OdRxValueType.

◆ init()

void OdRxClassConsImpl::init ( OdRxModule pModule,
OdRxClass pParent,
OdPseudoConstructorType  pConstr 
)

◆ setConstructor()

void OdRxClassConsImpl::setConstructor ( OdPseudoConstructorType  psuedoConstr)
virtual

Sets the user-defined function as the pseudo-constructor for this class.

Parameters
pseudoConstr[in] Raw pointer to the user-defined function that does not have arguments and returns the smart pointer to a new instance of this class.
See also
<link rtti_class_constructors.html, Functionality of Pseudo-Constructors>
<link rtti_pseudoconstructor.html, Understanding Pseudo-Constructors>

Reimplemented from OdRxClassProtocolExtImpl.


The documentation for this class was generated from the following file: