#ifndef  TYPE_SDAITRANSLATIONAL_RANGE_MEASURE_H
#define  TYPE_SDAITRANSLATIONAL_RANGE_MEASURE_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 SdaiTranslational_range_measure
class SC_SCHEMA_EXPORT SdaiTranslational_range_measure  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   LENGTH_MEASURE    --  sdaiREAL
    //   UNLIMITED_RANGE    --  sdaiENUMERATION
       SDAI_Real _real;
       SdaiUnlimited_range_var _sdaiunlimited_range_var;

  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
    SdaiTranslational_range_measure( const SelectTypeDescriptor * =automotive_design::t_translational_range_measure );
    //  part 1
    SdaiTranslational_range_measure( const SdaiLength_measure&,
                                     const SelectTypeDescriptor * =automotive_design::t_translational_range_measure );
    SdaiTranslational_range_measure( const SdaiUnlimited_range_var&,
                                     const SelectTypeDescriptor * =automotive_design::t_translational_range_measure );
    virtual ~SdaiTranslational_range_measure();

    //  part 2
    operator SdaiLength_measure();
    operator SdaiUnlimited_range_var();

    //  part 3

    //  part 4
    SdaiTranslational_range_measure& operator =( const SdaiLength_measure& );
    SdaiTranslational_range_measure& operator =( const SdaiUnlimited_range_var& );
    // not in SDAI
    SdaiTranslational_range_measure& ShallowCopy ( const SdaiTranslational_range_measure& );

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

    //  part 5
    Logical IsLength_measure() const;
    Logical IsUnlimited_range() const;

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

    //  part 7 ... NONE    only for complex selects...
};

inline SDAI_Select * create_SdaiTranslational_range_measure () { return new SdaiTranslational_range_measure; }
typedef SdaiTranslational_range_measure * SdaiTranslational_range_measureH;
typedef SdaiTranslational_range_measure_ptr SdaiTranslational_range_measure_var;


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

  public:
    SdaiTranslational_range_measure_agg( SelectTypeDescriptor * =automotive_design::t_translational_range_measure );
    ~SdaiTranslational_range_measure_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiTranslational_range_measure( sel_type )); }
};
inline STEPaggregate * create_SdaiTranslational_range_measure_agg () { return new SdaiTranslational_range_measure_agg; }
typedef SdaiTranslational_range_measure_agg_ptr SdaiTranslational_range_measure_agg_var;

/////  END SELECT TYPE translational_range_measure

void init_SdaiTranslational_range_measure(Registry& reg);

#endif
