#ifndef  TYPE_SDAICURVE_ELEMENT_VARIABLE_H
#define  TYPE_SDAICURVE_ELEMENT_VARIABLE_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 SdaiCurve_element_variable
class SC_SCHEMA_EXPORT SdaiCurve_element_variable  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   VOLUME_VARIABLE    --  sdaiSELECT
    //   CURVE_SCALAR_VARIABLE    --  sdaiENUMERATION
    //   CURVE_VECTOR_2D_VARIABLE    --  sdaiENUMERATION
    //   APPLICATION_DEFINED_VECTOR_2D_VARIABLE    --  sdaiSTRING
    //   CURVE_VECTOR_3D_VARIABLE    --  sdaiENUMERATION
       SdaiVolume_variable _sdaivolume_variable;
       SdaiCurve_scalar_variable_var _sdaicurve_scalar_variable_var;
       SdaiCurve_vector_2d_variable_var _sdaicurve_vector_2d_variable_var;
       SDAI_String _string;
       SdaiCurve_vector_3d_variable_var _sdaicurve_vector_3d_variable_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
    SdaiCurve_element_variable( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_curve_element_variable );
    //  part 1
    SdaiCurve_element_variable( const SdaiVolume_variable_ptr&,
                                const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_curve_element_variable );
    SdaiCurve_element_variable( const SdaiCurve_scalar_variable_var&,
                                const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_curve_element_variable );
    SdaiCurve_element_variable( const SdaiCurve_vector_2d_variable_var&,
                                const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_curve_element_variable );
    SdaiCurve_element_variable( const SdaiApplication_defined_vector_2d_variable&,
                                const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_curve_element_variable );
    SdaiCurve_element_variable( const SdaiCurve_vector_3d_variable_var&,
                                const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_curve_element_variable );
    virtual ~SdaiCurve_element_variable();

    //  part 2
    operator SdaiVolume_variable_ptr();
    operator SdaiCurve_scalar_variable_var();
    operator SdaiCurve_vector_2d_variable_var();
    operator SdaiApplication_defined_vector_2d_variable();
    operator SdaiCurve_vector_3d_variable_var();

    //  part 3

    //  part 4
    SdaiCurve_element_variable& operator =( const SdaiVolume_variable_ptr& );
    SdaiCurve_element_variable& operator =( const SdaiCurve_scalar_variable_var& );
    SdaiCurve_element_variable& operator =( const SdaiCurve_vector_2d_variable_var& );
    SdaiCurve_element_variable& operator =( const SdaiApplication_defined_vector_2d_variable& );
    SdaiCurve_element_variable& operator =( const SdaiCurve_vector_3d_variable_var& );
    // not in SDAI
    SdaiCurve_element_variable& ShallowCopy ( const SdaiCurve_element_variable& );

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

    //  part 5
    Logical IsVolume_variable() const;
    Logical IsCurve_scalar_variable() const;
    Logical IsCurve_vector_2d_variable() const;
    Logical IsApplication_defined_vector_2d_variable() const;
    Logical IsCurve_vector_3d_variable() const;

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

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

inline SDAI_Select * create_SdaiCurve_element_variable () { return new SdaiCurve_element_variable; }
typedef SdaiCurve_element_variable * SdaiCurve_element_variableH;
typedef SdaiCurve_element_variable_ptr SdaiCurve_element_variable_var;


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

  public:
    SdaiCurve_element_variable_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_curve_element_variable );
    ~SdaiCurve_element_variable_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiCurve_element_variable( sel_type )); }
};
inline STEPaggregate * create_SdaiCurve_element_variable_agg () { return new SdaiCurve_element_variable_agg; }
typedef SdaiCurve_element_variable_agg_ptr SdaiCurve_element_variable_agg_var;

/////  END SELECT TYPE curve_element_variable

void init_SdaiCurve_element_variable(Registry& reg);

#endif
