#ifndef  TYPE_SDAIELEMENT_ASPECT_H
#define  TYPE_SDAIELEMENT_ASPECT_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 SdaiElement_aspect
class SC_SCHEMA_EXPORT SdaiElement_aspect  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   ELEMENT_VOLUME    --  sdaiENUMERATION
    //   VOLUME_3D_FACE    --  sdaiINTEGER
    //   VOLUME_2D_FACE    --  sdaiINTEGER
    //   VOLUME_3D_EDGE    --  sdaiINTEGER
    //   VOLUME_2D_EDGE    --  sdaiINTEGER
    //   SURFACE_3D_FACE    --  sdaiINTEGER
    //   SURFACE_2D_FACE    --  sdaiINTEGER
    //   SURFACE_3D_EDGE    --  sdaiINTEGER
    //   SURFACE_2D_EDGE    --  sdaiINTEGER
    //   CURVE_EDGE    --  sdaiENUMERATION
       SdaiElement_volume_var _sdaielement_volume_var;
       SDAI_Integer _integer;
       SdaiCurve_edge_var _sdaicurve_edge_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
    SdaiElement_aspect( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_element_aspect );
    //  part 1
    SdaiElement_aspect( const SdaiElement_volume_var&,
                        const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_element_aspect );
    SdaiElement_aspect( const SdaiCurve_edge_var&,
                        const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_element_aspect );
    SdaiElement_aspect( const SDAI_Integer&,
                        const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_element_aspect );
    virtual ~SdaiElement_aspect();

    //  part 2
    operator SdaiElement_volume_var();
    operator SdaiCurve_edge_var();
    operator SDAI_Integer ();

    //  part 3

    //  part 4
    SdaiElement_aspect& operator =( const SdaiElement_volume_var& );
    SdaiElement_aspect& operator =( const SdaiCurve_edge_var& );
    SdaiElement_aspect& operator =( const SDAI_Integer& );
    // not in SDAI
    SdaiElement_aspect& ShallowCopy ( const SdaiElement_aspect& );

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

    //  part 5
    Logical IsElement_volume() const;
    Logical IsVolume_3d_face() const;
    Logical IsVolume_2d_face() const;
    Logical IsVolume_3d_edge() const;
    Logical IsVolume_2d_edge() const;
    Logical IsSurface_3d_face() const;
    Logical IsSurface_2d_face() const;
    Logical IsSurface_3d_edge() const;
    Logical IsSurface_2d_edge() const;
    Logical IsCurve_edge() const;

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

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

inline SDAI_Select * create_SdaiElement_aspect () { return new SdaiElement_aspect; }
typedef SdaiElement_aspect * SdaiElement_aspectH;
typedef SdaiElement_aspect_ptr SdaiElement_aspect_var;


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

  public:
    SdaiElement_aspect_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_element_aspect );
    ~SdaiElement_aspect_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiElement_aspect( sel_type )); }
};
inline STEPaggregate * create_SdaiElement_aspect_agg () { return new SdaiElement_aspect_agg; }
typedef SdaiElement_aspect_agg_ptr SdaiElement_aspect_agg_var;

/////  END SELECT TYPE element_aspect

void init_SdaiElement_aspect(Registry& reg);

#endif
