#ifndef  TYPE_SDAITOLERANCE_DEVIATION_SELECT_H
#define  TYPE_SDAITOLERANCE_DEVIATION_SELECT_H

// This file was generated by exp2cxx,
// 0.8.1.
// You probably don't want to edit it since your modifications
// will be lost if exp2cxx is used to regenerate it.


//////////  SELECT TYPE SdaiTolerance_deviation_select
class SC_SCHEMA_EXPORT SdaiTolerance_deviation_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   CURVE_TOLERANCE_DEVIATION    --  sdaiREAL
    //   SURFACE_TOLERANCE_DEVIATION    --  sdaiREAL
       SDAI_Real _real;

  public:
    virtual const TypeDescriptor * AssignEntity (SDAI_Application_instance * se);
    virtual SDAI_Select * NewSelect ();

    virtual BASE_TYPE ValueType() const;


// STEP Part 21
    virtual void STEPwrite_content (ostream& out =std::cout,
                    const char *currSch =0) const;
    virtual void STEPwrite_verbose (ostream& out =std::cout,
                    const char *currSch =0) const;
    virtual Severity STEPread_content (istream& in =cin,
        InstMgrBase * instances =0, const char *utype =0,
        int addFileId =0, const char *currSch =0);
    virtual Severity StrToVal_content (const char *,
        InstMgrBase * instances =0);

// STEP Part 22:  SDAI

// constructors
    SdaiTolerance_deviation_select( const SelectTypeDescriptor * =automotive_design::t_tolerance_deviation_select );
    //  part 1
    SdaiTolerance_deviation_select( const SDAI_Real&,
                                    const SelectTypeDescriptor * =automotive_design::t_tolerance_deviation_select );
    virtual ~SdaiTolerance_deviation_select();

    //  part 2
    operator SDAI_Real ();

    //  part 3

    //  part 4
    SdaiTolerance_deviation_select& operator =( const SDAI_Real& );
    // not in SDAI
    SdaiTolerance_deviation_select& ShallowCopy ( const SdaiTolerance_deviation_select& );

#ifdef COMPILER_DEFINES_OPERATOR_EQ
#else
    SdaiTolerance_deviation_select& operator =( SdaiTolerance_deviation_select * const & );
    SDAI_Select& operator =( const SDAI_Select& );
#endif

    //  part 5
    Logical IsCurve_tolerance_deviation() const;
    Logical IsSurface_tolerance_deviation() const;

    //  part 6 ... UnderlyingTypeName () implemented in SDAI_Select class ...

    //  part 7
    const TypeDescriptor *SetUnderlyingType ( const TypeDescriptor * td );
};

inline SDAI_Select * create_SdaiTolerance_deviation_select () { return new SdaiTolerance_deviation_select; }
typedef SdaiTolerance_deviation_select * SdaiTolerance_deviation_selectH;
typedef SdaiTolerance_deviation_select_ptr SdaiTolerance_deviation_select_var;


class SdaiTolerance_deviation_select_agg : public SelectAggregate {
  protected:
    SelectTypeDescriptor *sel_type;

  public:
    SdaiTolerance_deviation_select_agg( SelectTypeDescriptor * =automotive_design::t_tolerance_deviation_select );
    ~SdaiTolerance_deviation_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiTolerance_deviation_select( sel_type )); }
};
inline STEPaggregate * create_SdaiTolerance_deviation_select_agg () { return new SdaiTolerance_deviation_select_agg; }
typedef SdaiTolerance_deviation_select_agg_ptr SdaiTolerance_deviation_select_agg_var;

/////  END SELECT TYPE tolerance_deviation_select

void init_SdaiTolerance_deviation_select(Registry& reg);

#endif
