CAD Exchanger SDK
cadex::ModelData_PMIGraphicalElementComponent Class Reference

Base class for various component types. More...

Inheritance diagram for cadex::ModelData_PMIGraphicalElementComponent:
cadex::Base_PublicObject cadex::ModelData_PMIOutlinedComponent cadex::ModelData_PMITextComponent cadex::ModelData_PMITriangulatedComponent

Public Member Functions

void Accept (ModelData_PMIGraphicalElementComponentVisitor &theVisitor) const
 
template<typename T >
bool IsOfType () const
 Returns true if the object has a type T. More...
 
- Public Member Functions inherited from cadex::Base_PublicObject
 Base_PublicObject ()
 Constructor. More...
 
void Nullify ()
 Resets reference to implementation object.
 
bool IsNull () const
 Returns true if the object is nullified. More...
 
 operator bool () const
 Casts the object to the bool type. More...
 
internal::Base_HandledObject * Impl () const
 Return a handle to backend (reserved for internal use).
 

Protected Member Functions

 ModelData_PMIGraphicalElementComponent ()
 Constructor. More...
 
 ModelData_PMIGraphicalElementComponent (internal::ModelData_PMIGraphicalElementComponentImpl *theImpl)
 Constructor.
 
- Protected Member Functions inherited from cadex::Base_PublicObject
 Base_PublicObject (const internal::Base_HandledObject *theObject)
 Constructor (reserved for internal use).
 
template<typename T >
T * GetOrCreateImpl ()
 Reserved for internal use.
 

Detailed Description

Base class for various component types.

Constructor & Destructor Documentation

◆ ModelData_PMIGraphicalElementComponent()

cadex::ModelData_PMIGraphicalElementComponent::ModelData_PMIGraphicalElementComponent ( )
inlineprotected

Constructor.

Creates a null object (see IsNull()).

Member Function Documentation

◆ IsOfType()

template<typename T >
bool cadex::ModelData_PMIGraphicalElementComponent::IsOfType ( ) const
inline

Returns true if the object has a type T.

Helper method which uses static method T::CompareType().