#ifndef  TYPE_SDAICHANGE_MANAGEMENT_OBJECT_H
#define  TYPE_SDAICHANGE_MANAGEMENT_OBJECT_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 SdaiChange_management_object
class SC_SCHEMA_EXPORT SdaiChange_management_object  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   ACTION    --  sdaiINSTANCE
    //   ACTION_ITEMS    --  sdaiSELECT
    //   ACTION_RELATIONSHIP    --  sdaiINSTANCE
    //   CLASS    --  sdaiINSTANCE
    //   EVENT_OCCURRENCE    --  sdaiINSTANCE
    //   PROJECT_ITEM    --  sdaiSELECT
       SDAI_Application_instance_ptr _app_inst;
       SdaiAction_items _sdaiaction_items;
       SdaiProject_item _sdaiproject_item;

  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
    SdaiChange_management_object( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_change_management_object );
    //  part 1
    SdaiChange_management_object( const SdaiAction_ptr&,
                                  const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_change_management_object );
    SdaiChange_management_object( const SdaiAction_items_ptr&,
                                  const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_change_management_object );
    SdaiChange_management_object( const SdaiAction_relationship_ptr&,
                                  const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_change_management_object );
    SdaiChange_management_object( const SdaiClass_ptr&,
                                  const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_change_management_object );
    SdaiChange_management_object( const SdaiEvent_occurrence_ptr&,
                                  const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_change_management_object );
    SdaiChange_management_object( const SdaiProject_item_ptr&,
                                  const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_change_management_object );
    virtual ~SdaiChange_management_object();

    //  part 2
    operator SdaiAction_ptr();
    operator SdaiAction_items_ptr();
    operator SdaiAction_relationship_ptr();
    operator SdaiClass_ptr();
    operator SdaiEvent_occurrence_ptr();
    operator SdaiProject_item_ptr();

    //  part 3
        SdaiAction_ptr_c related_action_() const;
        SdaiAction_ptr   related_action_();
        void related_action_( const SdaiAction_ptr x );

        SdaiAction_ptr_c relating_action_() const;
        SdaiAction_ptr   relating_action_();
        void relating_action_( const SdaiAction_ptr x );

        SdaiAction_method_ptr_c chosen_method_() const;
        SdaiAction_method_ptr   chosen_method_();
        void chosen_method_( const SdaiAction_method_ptr x );

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

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


    //  part 4
    SdaiChange_management_object& operator =( const SdaiAction_ptr& );
    SdaiChange_management_object& operator =( const SdaiAction_items_ptr& );
    SdaiChange_management_object& operator =( const SdaiAction_relationship_ptr& );
    SdaiChange_management_object& operator =( const SdaiClass_ptr& );
    SdaiChange_management_object& operator =( const SdaiEvent_occurrence_ptr& );
    SdaiChange_management_object& operator =( const SdaiProject_item_ptr& );
    // not in SDAI
    SdaiChange_management_object& ShallowCopy ( const SdaiChange_management_object& );

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

    //  part 5
    Logical IsAction() const;
    Logical IsAction_items() const;
    Logical IsAction_relationship() const;
    Logical IsClass() const;
    Logical IsEvent_occurrence() const;
    Logical IsProject_item() const;

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

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

inline SDAI_Select * create_SdaiChange_management_object () { return new SdaiChange_management_object; }
typedef SdaiChange_management_object * SdaiChange_management_objectH;
typedef SdaiChange_management_object_ptr SdaiChange_management_object_var;


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

  public:
    SdaiChange_management_object_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_change_management_object );
    ~SdaiChange_management_object_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiChange_management_object( sel_type )); }
};
inline STEPaggregate * create_SdaiChange_management_object_agg () { return new SdaiChange_management_object_agg; }
typedef SdaiChange_management_object_agg_ptr SdaiChange_management_object_agg_var;

/////  END SELECT TYPE change_management_object

void init_SdaiChange_management_object(Registry& reg);

#endif
