Describes a base class of MTK based features.
More...
|
|
typedef cadex::internal::MTKBaseImpl_Feature | ImplType |
| |
|
typedef std::shared_ptr< ImplType > | ImplPtrType |
| |
|
| | 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 |
| |
|
|
| MTKBase_Feature (ImplPtrType theImpl) |
| | Reserved for internal use.
|
| |
Describes a base class of MTK based features.
This is a base class which contains data implementation of MTK based features. Any copy of the object is shallow copy: pointer to implementation will be copied. Therefore any modification of the copied object will propagate to original object.
- Examples
- MTKConverter/Program.cs, MTKConverter/main.cxx, helpers/feature_group.cs, helpers/feature_group.hxx, machining/dfm_analyzer/Program.cs, machining/dfm_analyzer/main.cxx, machining/feature_recognizer/Program.cs, machining/feature_recognizer/main.cxx, molding/dfm_analyzer/Program.cs, molding/dfm_analyzer/main.cxx, molding/feature_recognizer/Program.cs, molding/feature_recognizer/main.cxx, sheet_metal/dfm_analyzer/Program.cs, sheet_metal/dfm_analyzer/main.cxx, sheet_metal/feature_recognizer/Program.cs, and sheet_metal/feature_recognizer/main.cxx.
◆ MTKBase_Feature()
| cadex::MTKBase_Feature::MTKBase_Feature |
( |
| ) |
|
|
inline |
Constructor.
Creates a null object (see IsNull()).
◆ IsNull()
| bool cadex::MTKBase_Feature::IsNull |
( |
| ) |
const |
Returns true if the object is nullified.
- See also
- Nullify()
◆ Nullify()
| void cadex::MTKBase_Feature::Nullify |
( |
| ) |
|
Resets reference to implementation object.
- See also
- IsNull()
◆ operator bool()
| cadex::MTKBase_Feature::operator bool |
( |
| ) |
const |
|
inline |
Casts the object to the bool type.
Returns IsNull().