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::DFMMolding_RibIssue cadex::DFMMolding_ScrewBossIssue cadex::DFMMolding_SmallDistanceBetweenBossesIssue cadex::DFMMolding_SmallDistanceBetweenRibsIssue cadex::DFMMolding_SmallDraftAngleWallIssue cadex::DFMMolding_WallThicknessIssue cadex::DFMSheetMetal_BendIssue cadex::DFMSheetMetal_FlatPatternInterferenceIssue cadex::DFMSheetMetal_IrregularCornerFilletRadiusNotchIssue cadex::DFMSheetMetal_IrregularSizeNotchIssue cadex::DFMSheetMetal_IrregularSizeTabIssue cadex::DFMSheetMetal_LargeDepthBeadIssue cadex::DFMSheetMetal_LargeDepthCountersinkIssue cadex::DFMSheetMetal_NarrowCutoutIssue cadex::DFMSheetMetal_NonStandardSheetSizeIssue cadex::DFMSheetMetal_NonStandardSheetThicknessIssue cadex::DFMSheetMetal_SmallDepthLouverIssue cadex::DFMSheetMetal_SmallDistanceBetweenFeaturesIssue cadex::Machining_SteppedHole cadex::SheetMetal_CompoundBend cadex::MTKBase_Boss cadex::MTKBase_Hole cadex::Machining_Bore cadex::Machining_Countersink cadex::Machining_Face cadex::Machining_Groove cadex::Machining_Pocket cadex::Molding_Rib cadex::SheetMetal_Bead cadex::SheetMetal_Bend cadex::SheetMetal_Bridge cadex::SheetMetal_Cutout cadex::SheetMetal_FormingFeature 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 ()
 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
 

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

Constructor & Destructor Documentation

◆ MTKBase_Feature() [1/2]

cadex::MTKBase_Feature::MTKBase_Feature ( )
inline

Constructor.

Creates a null object (see IsNull()).

◆ ~MTKBase_Feature()

cadex::MTKBase_Feature::~MTKBase_Feature ( )

Destructor.

◆ MTKBase_Feature() [2/2]

cadex::MTKBase_Feature::MTKBase_Feature ( ImplPtrType theImpl)
explicitprotected

Reserved for internal use.

Member Function Documentation

◆ Impl()

template<typename T >
T * cadex::MTKBase_Feature::Impl ( ) const
inline

Reserved for internal use.

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