#ifndef  TYPE_SDAIVOLUME_2D_ELEMENT_DESCRIPTOR_H
#define  TYPE_SDAIVOLUME_2D_ELEMENT_DESCRIPTOR_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_2d_element_descriptor
class SC_SCHEMA_EXPORT SdaiVolume_2d_element_descriptor  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   AXISYMMETRIC_VOLUME_2D_ELEMENT_DESCRIPTOR    --  sdaiINSTANCE
    //   PLANE_VOLUME_2D_ELEMENT_DESCRIPTOR    --  sdaiINSTANCE
       SDAI_Application_instance_ptr _app_inst;

  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_2d_element_descriptor( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_volume_2d_element_descriptor );
    //  part 1
    SdaiVolume_2d_element_descriptor( const SdaiAxisymmetric_volume_2d_element_descriptor_ptr&,
                                      const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_volume_2d_element_descriptor );
    SdaiVolume_2d_element_descriptor( const SdaiPlane_volume_2d_element_descriptor_ptr&,
                                      const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_volume_2d_element_descriptor );
    virtual ~SdaiVolume_2d_element_descriptor();

    //  part 2
    operator SdaiAxisymmetric_volume_2d_element_descriptor_ptr();
    operator SdaiPlane_volume_2d_element_descriptor_ptr();

    //  part 3
        SdaiPlane_2d_element_purpose_ptr_c assumption_() const;
        SdaiPlane_2d_element_purpose_ptr   assumption_();
        void assumption_( const SdaiPlane_2d_element_purpose_ptr x );

  const SdaiElement_2d_shape_var   shape_() const;
        SdaiElement_2d_shape_var   shape_();
        void shape_( const SdaiElement_2d_shape_var x );

        GenericAggregate_ptr_c purpose_() const;
        GenericAggregate_ptr   purpose_();
        void purpose_( const GenericAggregate_ptr x );

  const SdaiText   description_() const;
        SdaiText   description_();
        void description_( const SdaiText x );

  const SdaiElement_order_var   topology_order_() const;
        SdaiElement_order_var   topology_order_();
        void topology_order_( const SdaiElement_order_var x );


    //  part 4
    SdaiVolume_2d_element_descriptor& operator =( const SdaiAxisymmetric_volume_2d_element_descriptor_ptr& );
    SdaiVolume_2d_element_descriptor& operator =( const SdaiPlane_volume_2d_element_descriptor_ptr& );
    // not in SDAI
    SdaiVolume_2d_element_descriptor& ShallowCopy ( const SdaiVolume_2d_element_descriptor& );

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

    //  part 5
    Logical IsAxisymmetric_volume_2d_element_descriptor() const;
    Logical IsPlane_volume_2d_element_descriptor() const;

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

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

inline SDAI_Select * create_SdaiVolume_2d_element_descriptor () { return new SdaiVolume_2d_element_descriptor; }
typedef SdaiVolume_2d_element_descriptor * SdaiVolume_2d_element_descriptorH;
typedef SdaiVolume_2d_element_descriptor_ptr SdaiVolume_2d_element_descriptor_var;


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

  public:
    SdaiVolume_2d_element_descriptor_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_volume_2d_element_descriptor );
    ~SdaiVolume_2d_element_descriptor_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiVolume_2d_element_descriptor( sel_type )); }
};
inline STEPaggregate * create_SdaiVolume_2d_element_descriptor_agg () { return new SdaiVolume_2d_element_descriptor_agg; }
typedef SdaiVolume_2d_element_descriptor_agg_ptr SdaiVolume_2d_element_descriptor_agg_var;

/////  END SELECT TYPE volume_2d_element_descriptor

void init_SdaiVolume_2d_element_descriptor(Registry& reg);

#endif
