#ifndef  TYPE_SDAIDISCRETISED_ACTION_MODEL_SELECT_H
#define  TYPE_SDAIDISCRETISED_ACTION_MODEL_SELECT_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 SdaiDiscretised_action_model_select
class SC_SCHEMA_EXPORT SdaiDiscretised_action_model_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   ANALYSIS_STEP    --  sdaiINSTANCE
    //   MODEL_ACTION_DOMAIN    --  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
    SdaiDiscretised_action_model_select( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_discretised_action_model_select );
    //  part 1
    SdaiDiscretised_action_model_select( const SdaiAnalysis_step_ptr&,
                                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_discretised_action_model_select );
    SdaiDiscretised_action_model_select( const SdaiModel_action_domain_ptr&,
                                         const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_discretised_action_model_select );
    virtual ~SdaiDiscretised_action_model_select();

    //  part 2
    operator SdaiAnalysis_step_ptr();
    operator SdaiModel_action_domain_ptr();

    //  part 3
        SdaiModel_state_domain_ptr_c final_() const;
        SdaiModel_state_domain_ptr   final_();
        void final_( const SdaiModel_state_domain_ptr x );

        SdaiModel_state_domain_ptr_c initial_() const;
        SdaiModel_state_domain_ptr   initial_();
        void initial_( const SdaiModel_state_domain_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 );

        SdaiControl_ptr_c analysis_control_() const;
        SdaiControl_ptr   analysis_control_();
        void analysis_control_( const SdaiControl_ptr x );


    //  part 4
    SdaiDiscretised_action_model_select& operator =( const SdaiAnalysis_step_ptr& );
    SdaiDiscretised_action_model_select& operator =( const SdaiModel_action_domain_ptr& );
    // not in SDAI
    SdaiDiscretised_action_model_select& ShallowCopy ( const SdaiDiscretised_action_model_select& );

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

    //  part 5
    Logical IsAnalysis_step() const;
    Logical IsModel_action_domain() const;

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

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

inline SDAI_Select * create_SdaiDiscretised_action_model_select () { return new SdaiDiscretised_action_model_select; }
typedef SdaiDiscretised_action_model_select * SdaiDiscretised_action_model_selectH;
typedef SdaiDiscretised_action_model_select_ptr SdaiDiscretised_action_model_select_var;


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

  public:
    SdaiDiscretised_action_model_select_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_discretised_action_model_select );
    ~SdaiDiscretised_action_model_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiDiscretised_action_model_select( sel_type )); }
};
inline STEPaggregate * create_SdaiDiscretised_action_model_select_agg () { return new SdaiDiscretised_action_model_select_agg; }
typedef SdaiDiscretised_action_model_select_agg_ptr SdaiDiscretised_action_model_select_agg_var;

/////  END SELECT TYPE discretised_action_model_select

void init_SdaiDiscretised_action_model_select(Registry& reg);

#endif
