Describeas a base class for composite features. More...
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_FeatureList & | FeatureList () const |
| Returns the feature references list. | |
Public Member Functions inherited from cadex::MTKBase_Feature | |
| MTKBase_Feature () | |
| Constructor. | |
| ~MTKBase_Feature () | |
| Destructor. | |
| void | Nullify () |
| bool | IsNull () const |
| 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 |
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.
| cadex::MTKBase_CompositeFeature::MTKBase_CompositeFeature | ( | const MTKBase_FeatureList & | theFeatureList | ) |
Constructor.
Creates a composite feature from a MTKBase_FeatureList.
| void cadex::MTKBase_CompositeFeature::AddFeature | ( | const MTKBase_Feature & | theFeature | ) |
Adds feature reference to feature references list.
| void cadex::MTKBase_CompositeFeature::AddFeatures | ( | const MTKBase_FeatureList & | theFeatureList | ) |
Adds feature references to feature references list.
| const MTKBase_FeatureList & cadex::MTKBase_CompositeFeature::FeatureList | ( | ) | const |
Returns the feature references list.