#ifndef  TYPE_SDAIDEGREE_OF_FREEDOM_H
#define  TYPE_SDAIDEGREE_OF_FREEDOM_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 SdaiDegree_of_freedom
class SC_SCHEMA_EXPORT SdaiDegree_of_freedom  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   ENUMERATED_DEGREE_OF_FREEDOM    --  sdaiENUMERATION
    //   APPLICATION_DEFINED_DEGREE_OF_FREEDOM    --  sdaiSTRING
       SdaiEnumerated_degree_of_freedom_var _sdaienumerated_degree_of_freedom_var;
       SDAI_String _string;

  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
    SdaiDegree_of_freedom( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_degree_of_freedom );
    //  part 1
    SdaiDegree_of_freedom( const SdaiEnumerated_degree_of_freedom_var&,
                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_degree_of_freedom );
    SdaiDegree_of_freedom( const SdaiApplication_defined_degree_of_freedom&,
                           const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_degree_of_freedom );
    virtual ~SdaiDegree_of_freedom();

    //  part 2
    operator SdaiEnumerated_degree_of_freedom_var();
    operator SdaiApplication_defined_degree_of_freedom();

    //  part 3

    //  part 4
    SdaiDegree_of_freedom& operator =( const SdaiEnumerated_degree_of_freedom_var& );
    SdaiDegree_of_freedom& operator =( const SdaiApplication_defined_degree_of_freedom& );
    // not in SDAI
    SdaiDegree_of_freedom& ShallowCopy ( const SdaiDegree_of_freedom& );

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

    //  part 5
    Logical IsEnumerated_degree_of_freedom() const;
    Logical IsApplication_defined_degree_of_freedom() const;

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

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

inline SDAI_Select * create_SdaiDegree_of_freedom () { return new SdaiDegree_of_freedom; }
typedef SdaiDegree_of_freedom * SdaiDegree_of_freedomH;
typedef SdaiDegree_of_freedom_ptr SdaiDegree_of_freedom_var;


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

  public:
    SdaiDegree_of_freedom_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_degree_of_freedom );
    ~SdaiDegree_of_freedom_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiDegree_of_freedom( sel_type )); }
};
inline STEPaggregate * create_SdaiDegree_of_freedom_agg () { return new SdaiDegree_of_freedom_agg; }
typedef SdaiDegree_of_freedom_agg_ptr SdaiDegree_of_freedom_agg_var;

/////  END SELECT TYPE degree_of_freedom

void init_SdaiDegree_of_freedom(Registry& reg);

#endif
