#ifndef  TYPE_SDAIACTIVITY_REALIZATION_SELECT_H
#define  TYPE_SDAIACTIVITY_REALIZATION_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 SdaiActivity_realization_select
class SC_SCHEMA_EXPORT SdaiActivity_realization_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   SCHEME    --  sdaiINSTANCE
    //   SCHEME_VERSION    --  sdaiINSTANCE
    //   TASK_ELEMENT    --  sdaiINSTANCE
    //   TASK_METHOD    --  sdaiINSTANCE
    //   TASK_METHOD_VERSION    --  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
    SdaiActivity_realization_select( const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_activity_realization_select );
    //  part 1
    SdaiActivity_realization_select( const SdaiScheme_ptr&,
                                     const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_activity_realization_select );
    SdaiActivity_realization_select( const SdaiScheme_version_ptr&,
                                     const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_activity_realization_select );
    SdaiActivity_realization_select( const SdaiTask_element_ptr&,
                                     const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_activity_realization_select );
    SdaiActivity_realization_select( const SdaiTask_method_ptr&,
                                     const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_activity_realization_select );
    SdaiActivity_realization_select( const SdaiTask_method_version_ptr&,
                                     const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_activity_realization_select );
    virtual ~SdaiActivity_realization_select();

    //  part 2
    operator SdaiScheme_ptr();
    operator SdaiScheme_version_ptr();
    operator SdaiTask_element_ptr();
    operator SdaiTask_method_ptr();
    operator SdaiTask_method_version_ptr();

    //  part 3
        SdaiTask_method_ptr_c of_task_method_() const;
        SdaiTask_method_ptr   of_task_method_();
        void of_task_method_( const SdaiTask_method_ptr x );

        SdaiTask_element_ptr_c content_() const;
        SdaiTask_element_ptr   content_();
        void content_( const SdaiTask_element_ptr x );

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

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

        SdaiScheme_ptr_c of_scheme_() const;
        SdaiScheme_ptr   of_scheme_();
        void of_scheme_( const SdaiScheme_ptr x );

  const SDAI_String   purpose_() const;
        SDAI_String   purpose_();
        void purpose_( const SDAI_String x );

  const SDAI_String   consequence_() const;
        SDAI_String   consequence_();
        void consequence_( const SDAI_String x );

  const SDAI_String   description_() const;
        SDAI_String   description_();
        void description_( const SDAI_String x );

  const SDAI_String   name_() const;
        SDAI_String   name_();
        void name_( const SDAI_String x );


    //  part 4
    SdaiActivity_realization_select& operator =( const SdaiScheme_ptr& );
    SdaiActivity_realization_select& operator =( const SdaiScheme_version_ptr& );
    SdaiActivity_realization_select& operator =( const SdaiTask_element_ptr& );
    SdaiActivity_realization_select& operator =( const SdaiTask_method_ptr& );
    SdaiActivity_realization_select& operator =( const SdaiTask_method_version_ptr& );
    // not in SDAI
    SdaiActivity_realization_select& ShallowCopy ( const SdaiActivity_realization_select& );

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

    //  part 5
    Logical IsScheme() const;
    Logical IsScheme_version() const;
    Logical IsTask_element() const;
    Logical IsTask_method() const;
    Logical IsTask_method_version() const;

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

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

inline SDAI_Select * create_SdaiActivity_realization_select () { return new SdaiActivity_realization_select; }
typedef SdaiActivity_realization_select * SdaiActivity_realization_selectH;
typedef SdaiActivity_realization_select_ptr SdaiActivity_realization_select_var;


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

  public:
    SdaiActivity_realization_select_agg( SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_activity_realization_select );
    ~SdaiActivity_realization_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiActivity_realization_select( sel_type )); }
};
inline STEPaggregate * create_SdaiActivity_realization_select_agg () { return new SdaiActivity_realization_select_agg; }
typedef SdaiActivity_realization_select_agg_ptr SdaiActivity_realization_select_agg_var;

/////  END SELECT TYPE activity_realization_select

void init_SdaiActivity_realization_select(Registry& reg);

#endif
