#ifndef  TYPE_SDAIDISCRETISED_DISTRIBUTION_MODEL_SELECT_H
#define  TYPE_SDAIDISCRETISED_DISTRIBUTION_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_distribution_model_select
class SC_SCHEMA_EXPORT SdaiDiscretised_distribution_model_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   MODEL_PROPERTY_DISTRIBUTION    --  sdaiINSTANCE
    //   STATE_DEFINITION    --  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_distribution_model_select( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_discretised_distribution_model_select );
    //  part 1
    SdaiDiscretised_distribution_model_select( const SdaiModel_property_distribution_ptr&,
                                               const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_discretised_distribution_model_select );
    SdaiDiscretised_distribution_model_select( const SdaiState_definition_ptr&,
                                               const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_discretised_distribution_model_select );
    virtual ~SdaiDiscretised_distribution_model_select();

    //  part 2
    operator SdaiModel_property_distribution_ptr();
    operator SdaiState_definition_ptr();

    //  part 3
        SdaiState_ptr_c defined_state_() const;
        SdaiState_ptr   defined_state_();
        void defined_state_( const SdaiState_ptr x );

        SdaiGeneral_property_ptr_c range_() const;
        SdaiGeneral_property_ptr   range_();
        void range_( const SdaiGeneral_property_ptr x );

        SdaiNumerical_model_ptr_c domain_() const;
        SdaiNumerical_model_ptr   domain_();
        void domain_( const SdaiNumerical_model_ptr x );

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


    //  part 4
    SdaiDiscretised_distribution_model_select& operator =( const SdaiModel_property_distribution_ptr& );
    SdaiDiscretised_distribution_model_select& operator =( const SdaiState_definition_ptr& );
    // not in SDAI
    SdaiDiscretised_distribution_model_select& ShallowCopy ( const SdaiDiscretised_distribution_model_select& );

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

    //  part 5
    Logical IsModel_property_distribution() const;
    Logical IsState_definition() const;

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

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

inline SDAI_Select * create_SdaiDiscretised_distribution_model_select () { return new SdaiDiscretised_distribution_model_select; }
typedef SdaiDiscretised_distribution_model_select * SdaiDiscretised_distribution_model_selectH;
typedef SdaiDiscretised_distribution_model_select_ptr SdaiDiscretised_distribution_model_select_var;


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

  public:
    SdaiDiscretised_distribution_model_select_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_discretised_distribution_model_select );
    ~SdaiDiscretised_distribution_model_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiDiscretised_distribution_model_select( sel_type )); }
};
inline STEPaggregate * create_SdaiDiscretised_distribution_model_select_agg () { return new SdaiDiscretised_distribution_model_select_agg; }
typedef SdaiDiscretised_distribution_model_select_agg_ptr SdaiDiscretised_distribution_model_select_agg_var;

/////  END SELECT TYPE discretised_distribution_model_select

void init_SdaiDiscretised_distribution_model_select(Registry& reg);

#endif
