#ifndef  TYPE_SDAIVOLUME_AGGREGATED_VARIABLE_H
#define  TYPE_SDAIVOLUME_AGGREGATED_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 SdaiVolume_aggregated_variable
class SC_SCHEMA_EXPORT SdaiVolume_aggregated_variable  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   AGGREGATED_SCALAR_VARIABLE    --  sdaiENUMERATION
    //   AGGREGATED_ANGULAR_VARIABLE    --  sdaiENUMERATION
    //   AGGREGATED_VECTOR_3D_VARIABLE    --  sdaiENUMERATION
    //   AGGREGATED_TENSOR2_3D_VARIABLE    --  sdaiENUMERATION
    //   APPLICATION_DEFINED_SCALAR_VARIABLE    --  sdaiSTRING
    //   APPLICATION_DEFINED_VECTOR_3D_VARIABLE    --  sdaiSTRING
    //   APPLICATION_DEFINED_TENSOR2_3D_VARIABLE    --  sdaiSTRING
       SdaiAggregated_scalar_variable_var _sdaiaggregated_scalar_variable_var;
       SdaiAggregated_angular_variable_var _sdaiaggregated_angular_variable_var;
       SdaiAggregated_vector_3d_variable_var _sdaiaggregated_vector_3d_variable_var;
       SdaiAggregated_tensor2_3d_variable_var _sdaiaggregated_tensor2_3d_variable_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_aggregated_variable( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_volume_aggregated_variable );
    //  part 1
    SdaiVolume_aggregated_variable( const SdaiAggregated_scalar_variable_var&,
                                    const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_volume_aggregated_variable );
    SdaiVolume_aggregated_variable( const SdaiAggregated_angular_variable_var&,
                                    const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_volume_aggregated_variable );
    SdaiVolume_aggregated_variable( const SdaiAggregated_vector_3d_variable_var&,
                                    const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_volume_aggregated_variable );
    SdaiVolume_aggregated_variable( const SdaiAggregated_tensor2_3d_variable_var&,
                                    const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_volume_aggregated_variable );
    SdaiVolume_aggregated_variable( const SDAI_String&,
                                    const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_volume_aggregated_variable );
    virtual ~SdaiVolume_aggregated_variable();

    //  part 2
    operator SdaiAggregated_scalar_variable_var();
    operator SdaiAggregated_angular_variable_var();
    operator SdaiAggregated_vector_3d_variable_var();
    operator SdaiAggregated_tensor2_3d_variable_var();
    operator SDAI_String ();

    //  part 3

    //  part 4
    SdaiVolume_aggregated_variable& operator =( const SdaiAggregated_scalar_variable_var& );
    SdaiVolume_aggregated_variable& operator =( const SdaiAggregated_angular_variable_var& );
    SdaiVolume_aggregated_variable& operator =( const SdaiAggregated_vector_3d_variable_var& );
    SdaiVolume_aggregated_variable& operator =( const SdaiAggregated_tensor2_3d_variable_var& );
    SdaiVolume_aggregated_variable& operator =( const SDAI_String& );
    // not in SDAI
    SdaiVolume_aggregated_variable& ShallowCopy ( const SdaiVolume_aggregated_variable& );

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

    //  part 5
    Logical IsAggregated_scalar_variable() const;
    Logical IsAggregated_angular_variable() const;
    Logical IsAggregated_vector_3d_variable() const;
    Logical IsAggregated_tensor2_3d_variable() const;
    Logical IsApplication_defined_scalar_variable() const;
    Logical IsApplication_defined_vector_3d_variable() const;
    Logical IsApplication_defined_tensor2_3d_variable() const;

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

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

inline SDAI_Select * create_SdaiVolume_aggregated_variable () { return new SdaiVolume_aggregated_variable; }
typedef SdaiVolume_aggregated_variable * SdaiVolume_aggregated_variableH;
typedef SdaiVolume_aggregated_variable_ptr SdaiVolume_aggregated_variable_var;


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

  public:
    SdaiVolume_aggregated_variable_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_volume_aggregated_variable );
    ~SdaiVolume_aggregated_variable_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiVolume_aggregated_variable( sel_type )); }
};
inline STEPaggregate * create_SdaiVolume_aggregated_variable_agg () { return new SdaiVolume_aggregated_variable_agg; }
typedef SdaiVolume_aggregated_variable_agg_ptr SdaiVolume_aggregated_variable_agg_var;

/////  END SELECT TYPE volume_aggregated_variable

void init_SdaiVolume_aggregated_variable(Registry& reg);

#endif
