#ifndef  TYPE_SDAIACTION_METHOD_ITEMS_H
#define  TYPE_SDAIACTION_METHOD_ITEMS_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 SdaiAction_method_items
class SC_SCHEMA_EXPORT SdaiAction_method_items  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   ACTION    --  sdaiINSTANCE
    //   ACTION_METHOD    --  sdaiINSTANCE
    //   ACTION_PROPERTY    --  sdaiINSTANCE
    //   APPLIED_ACTION_ASSIGNMENT    --  sdaiINSTANCE
    //   CONFIGURATION_DESIGN    --  sdaiINSTANCE
    //   CONTRACT    --  sdaiINSTANCE
    //   DOCUMENT_FILE    --  sdaiINSTANCE
    //   EVENT_OCCURRENCE    --  sdaiINSTANCE
    //   ORGANIZATION    --  sdaiINSTANCE
    //   ORGANIZATIONAL_PROJECT    --  sdaiINSTANCE
    //   PERSON    --  sdaiINSTANCE
    //   PERSON_AND_ORGANIZATION    --  sdaiINSTANCE
    //   PRODUCT    --  sdaiINSTANCE
    //   PRODUCT_CONCEPT    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION_FORMATION    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION_FORMATION_RELATIONSHIP    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION_RELATIONSHIP    --  sdaiINSTANCE
    //   PROPERTY_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
    SdaiAction_method_items( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_action_method_items );
    //  part 1
    SdaiAction_method_items( const SdaiAction_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_action_method_items );
    SdaiAction_method_items( const SdaiAction_method_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_action_method_items );
    SdaiAction_method_items( const SdaiAction_property_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_action_method_items );
    SdaiAction_method_items( const SdaiApplied_action_assignment_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_action_method_items );
    SdaiAction_method_items( const SdaiConfiguration_design_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_action_method_items );
    SdaiAction_method_items( const SdaiContract_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_action_method_items );
    SdaiAction_method_items( const SdaiDocument_file_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_action_method_items );
    SdaiAction_method_items( const SdaiEvent_occurrence_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_action_method_items );
    SdaiAction_method_items( const SdaiOrganization_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_action_method_items );
    SdaiAction_method_items( const SdaiOrganizational_project_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_action_method_items );
    SdaiAction_method_items( const SdaiPerson_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_action_method_items );
    SdaiAction_method_items( const SdaiPerson_and_organization_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_action_method_items );
    SdaiAction_method_items( const SdaiProduct_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_action_method_items );
    SdaiAction_method_items( const SdaiProduct_concept_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_action_method_items );
    SdaiAction_method_items( const SdaiProduct_definition_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_action_method_items );
    SdaiAction_method_items( const SdaiProduct_definition_formation_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_action_method_items );
    SdaiAction_method_items( const SdaiProduct_definition_formation_relationship_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_action_method_items );
    SdaiAction_method_items( const SdaiProduct_definition_relationship_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_action_method_items );
    SdaiAction_method_items( const SdaiProperty_definition_ptr&,
                             const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_action_method_items );
    virtual ~SdaiAction_method_items();

    //  part 2
    operator SdaiAction_ptr();
    operator SdaiAction_method_ptr();
    operator SdaiAction_property_ptr();
    operator SdaiApplied_action_assignment_ptr();
    operator SdaiConfiguration_design_ptr();
    operator SdaiContract_ptr();
    operator SdaiDocument_file_ptr();
    operator SdaiEvent_occurrence_ptr();
    operator SdaiOrganization_ptr();
    operator SdaiOrganizational_project_ptr();
    operator SdaiPerson_ptr();
    operator SdaiPerson_and_organization_ptr();
    operator SdaiProduct_ptr();
    operator SdaiProduct_concept_ptr();
    operator SdaiProduct_definition_ptr();
    operator SdaiProduct_definition_formation_ptr();
    operator SdaiProduct_definition_formation_relationship_ptr();
    operator SdaiProduct_definition_relationship_ptr();
    operator SdaiProperty_definition_ptr();

    //  part 3
        SdaiProduct_definition_or_reference_ptr_c related_product_definition_() const;
        SdaiProduct_definition_or_reference_ptr   related_product_definition_();
        void related_product_definition_( const SdaiProduct_definition_or_reference_ptr x );

        SdaiProduct_definition_or_reference_ptr_c relating_product_definition_() const;
        SdaiProduct_definition_or_reference_ptr   relating_product_definition_();
        void relating_product_definition_( const SdaiProduct_definition_or_reference_ptr x );

        SdaiProduct_definition_formation_ptr_c related_product_definition_formation_() const;
        SdaiProduct_definition_formation_ptr   related_product_definition_formation_();
        void related_product_definition_formation_( const SdaiProduct_definition_formation_ptr x );

        SdaiProduct_definition_formation_ptr_c relating_product_definition_formation_() const;
        SdaiProduct_definition_formation_ptr   relating_product_definition_formation_();
        void relating_product_definition_formation_( const SdaiProduct_definition_formation_ptr x );

        SdaiProduct_ptr_c of_product_() const;
        SdaiProduct_ptr   of_product_();
        void of_product_( const SdaiProduct_ptr x );

        SdaiProduct_definition_formation_ptr_c formation_() const;
        SdaiProduct_definition_formation_ptr   formation_();
        void formation_( const SdaiProduct_definition_formation_ptr x );

        SdaiProduct_concept_context_ptr_c market_context_() const;
        SdaiProduct_concept_context_ptr   market_context_();
        void market_context_( const SdaiProduct_concept_context_ptr x );

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

        SdaiOrganization_ptr_c the_organization_() const;
        SdaiOrganization_ptr   the_organization_();
        void the_organization_( const SdaiOrganization_ptr x );

        SdaiPerson_ptr_c the_person_() const;
        SdaiPerson_ptr   the_person_();
        void the_person_( const SdaiPerson_ptr x );

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

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

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

  const SdaiLabel   first_name_() const;
        SdaiLabel   first_name_();
        void first_name_( const SdaiLabel x );

  const SdaiLabel   last_name_() const;
        SdaiLabel   last_name_();
        void last_name_( const SdaiLabel x );

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

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

        SdaiContract_type_ptr_c kind_() const;
        SdaiContract_type_ptr   kind_();
        void kind_( const SdaiContract_type_ptr x );

        SdaiConfiguration_design_item_ptr_c design_() const;
        SdaiConfiguration_design_item_ptr   design_();
        void design_( const SdaiConfiguration_design_item_ptr x );

        SdaiConfiguration_item_ptr_c configuration_() const;
        SdaiConfiguration_item_ptr   configuration_();
        void configuration_( const SdaiConfiguration_item_ptr x );

        SdaiAction_items_agg_ptr_c items_() const;
        SdaiAction_items_agg_ptr   items_();
        void items_( const SdaiAction_items_agg_ptr x );

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

        SdaiCharacterized_action_definition_ptr_c definition_() const;
        SdaiCharacterized_action_definition_ptr   definition_();
        void definition_( const SdaiCharacterized_action_definition_ptr x );

  const SdaiText   purpose_() const;
        SdaiText   purpose_();
        void purpose_( const SdaiText x );

  const SdaiText   consequence_() const;
        SdaiText   consequence_();
        void consequence_( const SdaiText 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
    SdaiAction_method_items& operator =( const SdaiAction_ptr& );
    SdaiAction_method_items& operator =( const SdaiAction_method_ptr& );
    SdaiAction_method_items& operator =( const SdaiAction_property_ptr& );
    SdaiAction_method_items& operator =( const SdaiApplied_action_assignment_ptr& );
    SdaiAction_method_items& operator =( const SdaiConfiguration_design_ptr& );
    SdaiAction_method_items& operator =( const SdaiContract_ptr& );
    SdaiAction_method_items& operator =( const SdaiDocument_file_ptr& );
    SdaiAction_method_items& operator =( const SdaiEvent_occurrence_ptr& );
    SdaiAction_method_items& operator =( const SdaiOrganization_ptr& );
    SdaiAction_method_items& operator =( const SdaiOrganizational_project_ptr& );
    SdaiAction_method_items& operator =( const SdaiPerson_ptr& );
    SdaiAction_method_items& operator =( const SdaiPerson_and_organization_ptr& );
    SdaiAction_method_items& operator =( const SdaiProduct_ptr& );
    SdaiAction_method_items& operator =( const SdaiProduct_concept_ptr& );
    SdaiAction_method_items& operator =( const SdaiProduct_definition_ptr& );
    SdaiAction_method_items& operator =( const SdaiProduct_definition_formation_ptr& );
    SdaiAction_method_items& operator =( const SdaiProduct_definition_formation_relationship_ptr& );
    SdaiAction_method_items& operator =( const SdaiProduct_definition_relationship_ptr& );
    SdaiAction_method_items& operator =( const SdaiProperty_definition_ptr& );
    // not in SDAI
    SdaiAction_method_items& ShallowCopy ( const SdaiAction_method_items& );

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

    //  part 5
    Logical IsAction() const;
    Logical IsAction_method() const;
    Logical IsAction_property() const;
    Logical IsApplied_action_assignment() const;
    Logical IsConfiguration_design() const;
    Logical IsContract() const;
    Logical IsDocument_file() const;
    Logical IsEvent_occurrence() const;
    Logical IsOrganization() const;
    Logical IsOrganizational_project() const;
    Logical IsPerson() const;
    Logical IsPerson_and_organization() const;
    Logical IsProduct() const;
    Logical IsProduct_concept() const;
    Logical IsProduct_definition() const;
    Logical IsProduct_definition_formation() const;
    Logical IsProduct_definition_formation_relationship() const;
    Logical IsProduct_definition_relationship() const;
    Logical IsProperty_definition() const;

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

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

inline SDAI_Select * create_SdaiAction_method_items () { return new SdaiAction_method_items; }
typedef SdaiAction_method_items * SdaiAction_method_itemsH;
typedef SdaiAction_method_items_ptr SdaiAction_method_items_var;


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

  public:
    SdaiAction_method_items_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_action_method_items );
    ~SdaiAction_method_items_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiAction_method_items( sel_type )); }
};
inline STEPaggregate * create_SdaiAction_method_items_agg () { return new SdaiAction_method_items_agg; }
typedef SdaiAction_method_items_agg_ptr SdaiAction_method_items_agg_var;

/////  END SELECT TYPE action_method_items

void init_SdaiAction_method_items(Registry& reg);

#endif
