Hide menu
cadex::ModelData_PMIOutlinedComponent Class Reference

Defines a component represented by outline. More...

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

Public Types

typedef cadex::internal::ModelData_PMIOutlinedComponentImpl ImplType
 

Public Member Functions

 ModelData_PMIOutlinedComponent ()
 Constructor. More...
 
 ModelData_PMIOutlinedComponent (ImplType *theImpl)
 
 ModelData_PMIOutlinedComponent (const ModelData_PMIOutline &theOutline)
 
void SetOutline (const ModelData_PMIOutline &theOutline)
 
ModelData_PMIOutline Outline () const
 
- Public Member Functions inherited from cadex::ModelData_PMIGraphicalElementComponent
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).
 
const internal::Base_Handle & HImpl () const
 
template<typename T >
T * Impl () const
 Reserved for internal use.
 
bool operator== (const Base_PublicObject &theObject) const
 
bool operator!= (const Base_PublicObject &theObject) const
 

Static Public Member Functions

static bool CompareType (const ModelData_PMIGraphicalElementComponent &theComponent)
 Returns true if theOutline has ModelData_PMIOutlinedComponent type.
 

Additional Inherited Members

- Protected Member Functions inherited from cadex::ModelData_PMIGraphicalElementComponent
 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

Defines a component represented by outline.

A component stores PMI graphical data expressed by outline(s), like: unfilled text, lines, frames, arrows, etc.

The 2d elements of a component are defined by coordinates in the plane of its parent graphical element.

See also
ModelData_PMIGraphicalElement, ModelData_PMIOutline
Examples
exploring/pmi/main.cxx.

Constructor & Destructor Documentation

◆ ModelData_PMIOutlinedComponent()

cadex::ModelData_PMIOutlinedComponent::ModelData_PMIOutlinedComponent ( )

Constructor.

Creates a null object (see IsNull()).