#ifndef  TYPE_SDAIVOLUME_ELEMENT_PURPOSE_H
#define  TYPE_SDAIVOLUME_ELEMENT_PURPOSE_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 SdaiVolume_element_purpose
class SC_SCHEMA_EXPORT SdaiVolume_element_purpose  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   ENUMERATED_VOLUME_ELEMENT_PURPOSE    --  sdaiENUMERATION
    //   APPLICATION_DEFINED_ELEMENT_PURPOSE    --  sdaiSTRING
       SdaiEnumerated_volume_element_purpose_var _sdaienumerated_volume_element_purpose_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
    SdaiVolume_element_purpose( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_volume_element_purpose );
    //  part 1
    SdaiVolume_element_purpose( const SdaiEnumerated_volume_element_purpose_var&,
                                const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_volume_element_purpose );
    SdaiVolume_element_purpose( const SdaiApplication_defined_element_purpose&,
                                const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_volume_element_purpose );
    virtual ~SdaiVolume_element_purpose();

    //  part 2
    operator SdaiEnumerated_volume_element_purpose_var();
    operator SdaiApplication_defined_element_purpose();

    //  part 3

    //  part 4
    SdaiVolume_element_purpose& operator =( const SdaiEnumerated_volume_element_purpose_var& );
    SdaiVolume_element_purpose& operator =( const SdaiApplication_defined_element_purpose& );
    // not in SDAI
    SdaiVolume_element_purpose& ShallowCopy ( const SdaiVolume_element_purpose& );

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

    //  part 5
    Logical IsEnumerated_volume_element_purpose() const;
    Logical IsApplication_defined_element_purpose() const;

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

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

inline SDAI_Select * create_SdaiVolume_element_purpose () { return new SdaiVolume_element_purpose; }
typedef SdaiVolume_element_purpose * SdaiVolume_element_purposeH;
typedef SdaiVolume_element_purpose_ptr SdaiVolume_element_purpose_var;


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

  public:
    SdaiVolume_element_purpose_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_volume_element_purpose );
    ~SdaiVolume_element_purpose_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiVolume_element_purpose( sel_type )); }
};
inline STEPaggregate * create_SdaiVolume_element_purpose_agg () { return new SdaiVolume_element_purpose_agg; }
typedef SdaiVolume_element_purpose_agg_ptr SdaiVolume_element_purpose_agg_var;

/////  END SELECT TYPE volume_element_purpose

void init_SdaiVolume_element_purpose(Registry& reg);

#endif
