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

Describes a base class of MTK based features. More...

Inheritance diagram for cadex::MTKBase_Feature:
cadex::DFMBase_Issue cadex::MTKBase_CompositeFeature cadex::MTKBase_ShapeFeature cadex::DFMBase_HoleIssue cadex::DFMMachining_DeepBoredHoleIssue cadex::DFMMachining_IrregularTurnedPartOuterDiameterProfileReliefIssue cadex::DFMMachining_LargeTurnedPartIssue cadex::DFMMachining_LongSlenderTurnedPartIssue cadex::DFMMachining_MillingIssue cadex::DFMMachining_NonSymmetricalAxialSlotIssue cadex::DFMMachining_SmallDepthBlindBoredHoleReliefIssue cadex::DFMMachining_SmallRadiusTurnedPartInternalCornerIssue cadex::DFMMachining_SquareEndKeywayIssue cadex::DFMSheetMetal_BendIssue cadex::DFMSheetMetal_FlatPatternInterferenceIssue cadex::DFMSheetMetal_IrregularCornerFilletRadiusNotchIssue cadex::DFMSheetMetal_IrregularSizeNotchIssue cadex::DFMSheetMetal_IrregularSizeTabIssue cadex::DFMSheetMetal_LargeDepthBeadIssue cadex::DFMSheetMetal_NonStandardSheetSizeIssue cadex::DFMSheetMetal_NonStandardSheetThicknessIssue cadex::DFMSheetMetal_SmallDepthLouverIssue cadex::DFMSheetMetal_SmallDistanceBetweenFeaturesIssue cadex::SheetMetal_CompoundBend cadex::MTKBase_Boss cadex::MTKBase_Hole cadex::Machining_Countersink cadex::Machining_Face cadex::Machining_Pocket cadex::SheetMetal_Bead cadex::SheetMetal_Bend cadex::SheetMetal_Bridge cadex::SheetMetal_Cutout cadex::SheetMetal_Louver cadex::SheetMetal_Notch cadex::SheetMetal_Tab

Public Types

typedef cadex::internal::MTKBaseImpl_Feature ImplType
 
typedef std::shared_ptr< ImplType > ImplPtrType
 

Public Member Functions

 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
 

Protected Member Functions

 MTKBase_Feature (ImplPtrType theImpl)
 Reserved for internal use.
 

Protected Attributes

ImplPtrType myImpl
 

Detailed Description

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, 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.

Constructor & Destructor Documentation

◆ MTKBase_Feature()

cadex::MTKBase_Feature::MTKBase_Feature ( )
inline

Constructor.

Creates a null object (see IsNull()).

Member Function Documentation

◆ 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().