#ifndef  TYPE_SDAIPLANE_2D_ELEMENT_PURPOSE_H
#define  TYPE_SDAIPLANE_2D_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 SdaiPlane_2d_element_purpose
class SC_SCHEMA_EXPORT SdaiPlane_2d_element_purpose  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   ENUMERATED_PLANE_2D_ELEMENT_PURPOSE    --  sdaiENUMERATION
    //   APPLICATION_DEFINED_ELEMENT_PURPOSE    --  sdaiSTRING
       SdaiEnumerated_plane_2d_element_purpose_var _sdaienumerated_plane_2d_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
    SdaiPlane_2d_element_purpose( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_plane_2d_element_purpose );
    //  part 1
    SdaiPlane_2d_element_purpose( const SdaiEnumerated_plane_2d_element_purpose_var&,
                                  const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_plane_2d_element_purpose );
    SdaiPlane_2d_element_purpose( const SdaiApplication_defined_element_purpose&,
                                  const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_plane_2d_element_purpose );
    virtual ~SdaiPlane_2d_element_purpose();

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

    //  part 3

    //  part 4
    SdaiPlane_2d_element_purpose& operator =( const SdaiEnumerated_plane_2d_element_purpose_var& );
    SdaiPlane_2d_element_purpose& operator =( const SdaiApplication_defined_element_purpose& );
    // not in SDAI
    SdaiPlane_2d_element_purpose& ShallowCopy ( const SdaiPlane_2d_element_purpose& );

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

    //  part 5
    Logical IsEnumerated_plane_2d_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_SdaiPlane_2d_element_purpose () { return new SdaiPlane_2d_element_purpose; }
typedef SdaiPlane_2d_element_purpose * SdaiPlane_2d_element_purposeH;
typedef SdaiPlane_2d_element_purpose_ptr SdaiPlane_2d_element_purpose_var;


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

  public:
    SdaiPlane_2d_element_purpose_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_plane_2d_element_purpose );
    ~SdaiPlane_2d_element_purpose_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiPlane_2d_element_purpose( sel_type )); }
};
inline STEPaggregate * create_SdaiPlane_2d_element_purpose_agg () { return new SdaiPlane_2d_element_purpose_agg; }
typedef SdaiPlane_2d_element_purpose_agg_ptr SdaiPlane_2d_element_purpose_agg_var;

/////  END SELECT TYPE plane_2d_element_purpose

void init_SdaiPlane_2d_element_purpose(Registry& reg);

#endif
