// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _StepShape_ToleranceMethodDefinition_HeaderFile
#define _StepShape_ToleranceMethodDefinition_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>

#include <StepData_SelectType.hxx>
#include <Standard_Integer.hxx>
#include <Handle_Standard_Transient.hxx>
#include <Handle_StepShape_ToleranceValue.hxx>
#include <Handle_StepShape_LimitsAndFits.hxx>
class Standard_Transient;
class StepShape_ToleranceValue;
class StepShape_LimitsAndFits;


//! Added for Dimensional Tolerances
class StepShape_ToleranceMethodDefinition  : public StepData_SelectType
{
public:

  DEFINE_STANDARD_ALLOC

  
  Standard_EXPORT StepShape_ToleranceMethodDefinition();
  
  //! Recognizes a kind of ValueQualifier Select Type :
  //! 1 -> ToleranceValue from StepShape
  //! 2 -> LimitsAndFits from StepShape
  Standard_EXPORT   Standard_Integer CaseNum (const Handle(Standard_Transient)& ent)  const;
  
  //! Returns Value as ToleranceValue
  Standard_EXPORT   Handle(StepShape_ToleranceValue) ToleranceValue()  const;
  
  //! Returns Value as LimitsAndFits
  Standard_EXPORT   Handle(StepShape_LimitsAndFits) LimitsAndFits()  const;




protected:





private:





};







#endif // _StepShape_ToleranceMethodDefinition_HeaderFile
