#ifndef  TYPE_SDAIFD_BEHAVIOUR_MODELS_H
#define  TYPE_SDAIFD_BEHAVIOUR_MODELS_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 SdaiFd_behaviour_models
class SC_SCHEMA_EXPORT SdaiFd_behaviour_models  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   GAS_MODEL    --  sdaiINSTANCE
    //   TURBULENCE_CLOSURE    --  sdaiINSTANCE
    //   TURBULENCE_MODEL    --  sdaiINSTANCE
    //   VISCOSITY_MODEL    --  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
    SdaiFd_behaviour_models( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_fd_behaviour_models );
    //  part 1
    SdaiFd_behaviour_models( const SdaiGas_model_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_fd_behaviour_models );
    SdaiFd_behaviour_models( const SdaiTurbulence_closure_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_fd_behaviour_models );
    SdaiFd_behaviour_models( const SdaiTurbulence_model_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_fd_behaviour_models );
    SdaiFd_behaviour_models( const SdaiViscosity_model_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_fd_behaviour_models );
    virtual ~SdaiFd_behaviour_models();

    //  part 2
    operator SdaiGas_model_ptr();
    operator SdaiTurbulence_closure_ptr();
    operator SdaiTurbulence_model_ptr();
    operator SdaiViscosity_model_ptr();

    //  part 3
        SdaiFd_diffusion_model_ptr_c diffusion_model_() const;
        SdaiFd_diffusion_model_ptr   diffusion_model_();
        void diffusion_model_( const SdaiFd_diffusion_model_ptr x );

  const SdaiTurbulence_closure_type_var   closure_type_() const;
        SdaiTurbulence_closure_type_var   closure_type_();
        void closure_type_( const SdaiTurbulence_closure_type_var x );

  const SdaiGas_model_type_var   model_type_() const;
        SdaiGas_model_type_var   model_type_();
        void model_type_( const SdaiGas_model_type_var x );

        EntityAggregate_ptr_c data_() const;
        EntityAggregate_ptr   data_();
        void data_( const EntityAggregate_ptr x );

        EntityAggregate_ptr_c temporal_parts_() const;
        EntityAggregate_ptr   temporal_parts_();
        void temporal_parts_( const EntityAggregate_ptr x );

  const SdaiText   analysis_type_() const;
        SdaiText   analysis_type_();
        void analysis_type_( const SdaiText x );

        StringAggregate_ptr_c intended_analysis_code_() const;
        StringAggregate_ptr   intended_analysis_code_();
        void intended_analysis_code_( const StringAggregate_ptr x );

  const SdaiText   creating_software_() const;
        SdaiText   creating_software_();
        void creating_software_( const SdaiText x );

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

  const SdaiLabel   name_() const;
        SdaiLabel   name_();
        void name_( const SdaiLabel x );

  const SdaiIdentifier   id_() const;
        SdaiIdentifier   id_();
        void id_( const SdaiIdentifier x );


    //  part 4
    SdaiFd_behaviour_models& operator =( const SdaiGas_model_ptr& );
    SdaiFd_behaviour_models& operator =( const SdaiTurbulence_closure_ptr& );
    SdaiFd_behaviour_models& operator =( const SdaiTurbulence_model_ptr& );
    SdaiFd_behaviour_models& operator =( const SdaiViscosity_model_ptr& );
    // not in SDAI
    SdaiFd_behaviour_models& ShallowCopy ( const SdaiFd_behaviour_models& );

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

    //  part 5
    Logical IsGas_model() const;
    Logical IsTurbulence_closure() const;
    Logical IsTurbulence_model() const;
    Logical IsViscosity_model() const;

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

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

inline SDAI_Select * create_SdaiFd_behaviour_models () { return new SdaiFd_behaviour_models; }
typedef SdaiFd_behaviour_models * SdaiFd_behaviour_modelsH;
typedef SdaiFd_behaviour_models_ptr SdaiFd_behaviour_models_var;


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

  public:
    SdaiFd_behaviour_models_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_fd_behaviour_models );
    ~SdaiFd_behaviour_models_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiFd_behaviour_models( sel_type )); }
};
inline STEPaggregate * create_SdaiFd_behaviour_models_agg () { return new SdaiFd_behaviour_models_agg; }
typedef SdaiFd_behaviour_models_agg_ptr SdaiFd_behaviour_models_agg_var;

/////  END SELECT TYPE fd_behaviour_models

void init_SdaiFd_behaviour_models(Registry& reg);

#endif
