Hide menu
Loading...
Searching...
No Matches

Describeas a base class for composite features. More...

Inheritance diagram for cadex::MTKBase_CompositeFeature:
cadex::MTKBase_Feature cadex::Machining_SteppedHole cadex::SheetMetal_CompoundBend

Public Types

typedef cadex::internal::MTKBaseImpl_CompositeFeature ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 
- Public Types inherited from cadex::MTKBase_Feature
typedef cadex::internal::MTKBaseImpl_Feature ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 

Public Member Functions

 MTKBase_CompositeFeature ()
 Constructor.
 
 MTKBase_CompositeFeature (const MTKBase_FeatureList &theFeatureList)
 Constructor.
 
void AddFeature (const MTKBase_Feature &theFeature)
 Adds feature reference to feature references list.
 
void AddFeatures (const MTKBase_FeatureList &theFeatureList)
 Adds feature references to feature references list.
 
const MTKBase_FeatureListFeatureList () const
 Returns the feature references list.
 
- Public Member Functions inherited from cadex::MTKBase_Feature
 MTKBase_Feature ()
 Constructor.
 
 ~MTKBase_Feature ()
 Destructor.
 
void Nullify ()
 Resets reference to implementation object.
 
bool IsNull () const
 Returns true if the object is nullified.
 
 operator bool () const
 Casts the object to the bool type.
 
template<typename T >
bool IsOfType () const
 
ImplType * Impl () const
 
template<typename T >
T * Impl () const
 Reserved for internal use.
 
bool operator== (const MTKBase_Feature &theObject) const
 
bool operator!= (const MTKBase_Feature &theObject) const
 

Static Public Member Functions

static bool CompareType (const MTKBase_Feature &theFeature)
 Returns true if theFeature is a composite feature.
 

Protected Member Functions

 MTKBase_CompositeFeature (ImplPtrType theImpl)
 Reserved for internal use.
 
- Protected Member Functions inherited from cadex::MTKBase_Feature
 MTKBase_Feature (ImplPtrType theImpl)
 Reserved for internal use.
 

Additional Inherited Members

- Protected Attributes inherited from cadex::MTKBase_Feature
ImplPtrType myImpl
 

Detailed Description

Describeas a base class for composite features.

Composite feature is a feature consisting of other features. Features can be any inherited from the base MTKBase_Feature class, and can be retrieved by FeatureList() method.

Constructor & Destructor Documentation

◆ MTKBase_CompositeFeature() [1/3]

cadex::MTKBase_CompositeFeature::MTKBase_CompositeFeature ( )

Constructor.

◆ MTKBase_CompositeFeature() [2/3]

cadex::MTKBase_CompositeFeature::MTKBase_CompositeFeature ( const MTKBase_FeatureList & theFeatureList)

Constructor.

Creates a composite feature from a MTKBase_FeatureList.

◆ MTKBase_CompositeFeature() [3/3]

cadex::MTKBase_CompositeFeature::MTKBase_CompositeFeature ( ImplPtrType theImpl)
explicitprotected

Reserved for internal use.

Member Function Documentation

◆ AddFeature()

void cadex::MTKBase_CompositeFeature::AddFeature ( const MTKBase_Feature & theFeature)

Adds feature reference to feature references list.

See also
FeatureList()

◆ AddFeatures()

void cadex::MTKBase_CompositeFeature::AddFeatures ( const MTKBase_FeatureList & theFeatureList)

Adds feature references to feature references list.

See also
FeatureList()

◆ CompareType()

bool cadex::MTKBase_CompositeFeature::CompareType ( const MTKBase_Feature & theFeature)
static

Returns true if theFeature is a composite feature.

◆ FeatureList()

const MTKBase_FeatureList & cadex::MTKBase_CompositeFeature::FeatureList ( ) const

Returns the feature references list.

See also
AddFeature(), AddFeatures()