#ifndef  TYPE_SDAIACTION_ITEMS_H
#define  TYPE_SDAIACTION_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_items
class SC_SCHEMA_EXPORT SdaiAction_items  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   ACTION_DIRECTIVE    --  sdaiINSTANCE
    //   CERTIFICATION_ITEM    --  sdaiSELECT
    //   CHARACTERIZED_OBJECT    --  sdaiINSTANCE
    //   CLASSIFICATION_ITEM    --  sdaiSELECT
    //   CONFIGURATION_EFFECTIVITY    --  sdaiINSTANCE
    //   DOCUMENT_REFERENCE_ITEM    --  sdaiSELECT
    //   IDENTIFICATION_ITEM    --  sdaiSELECT
    //   ORGANIZATION    --  sdaiINSTANCE
    //   PERSON_AND_ORGANIZATION    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION_FORMATION    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION_FORMATION_RELATIONSHIP    --  sdaiINSTANCE
    //   PRODUCT_DEFINITION_RELATIONSHIP    --  sdaiINSTANCE
    //   REQUIREMENT_ASSIGNED_ITEM    --  sdaiSELECT
       SDAI_Application_instance_ptr _app_inst;
       SdaiCertification_item _sdaicertification_item;
       SdaiClassification_item _sdaiclassification_item;
       SdaiDocument_reference_item _sdaidocument_reference_item;
       SdaiIdentification_item _sdaiidentification_item;
       SdaiRequirement_assigned_item _sdairequirement_assigned_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
    SdaiAction_items( const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_action_items );
    //  part 1
    SdaiAction_items( const SdaiAction_directive_ptr&,
                      const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_action_items );
    SdaiAction_items( const SdaiCertification_item_ptr&,
                      const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_action_items );
    SdaiAction_items( const SdaiCharacterized_object_ptr&,
                      const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_action_items );
    SdaiAction_items( const SdaiClassification_item_ptr&,
                      const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_action_items );
    SdaiAction_items( const SdaiConfiguration_effectivity_ptr&,
                      const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_action_items );
    SdaiAction_items( const SdaiDocument_reference_item_ptr&,
                      const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_action_items );
    SdaiAction_items( const SdaiIdentification_item_ptr&,
                      const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_action_items );
    SdaiAction_items( const SdaiOrganization_ptr&,
                      const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_action_items );
    SdaiAction_items( const SdaiPerson_and_organization_ptr&,
                      const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_action_items );
    SdaiAction_items( const SdaiProduct_definition_ptr&,
                      const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_action_items );
    SdaiAction_items( const SdaiProduct_definition_formation_ptr&,
                      const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_action_items );
    SdaiAction_items( const SdaiProduct_definition_formation_relationship_ptr&,
                      const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_action_items );
    SdaiAction_items( const SdaiProduct_definition_relationship_ptr&,
                      const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_action_items );
    SdaiAction_items( const SdaiRequirement_assigned_item_ptr&,
                      const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_action_items );
    virtual ~SdaiAction_items();

    //  part 2
    operator SdaiAction_directive_ptr();
    operator SdaiCertification_item_ptr();
    operator SdaiCharacterized_object_ptr();
    operator SdaiClassification_item_ptr();
    operator SdaiConfiguration_effectivity_ptr();
    operator SdaiDocument_reference_item_ptr();
    operator SdaiIdentification_item_ptr();
    operator SdaiOrganization_ptr();
    operator SdaiPerson_and_organization_ptr();
    operator SdaiProduct_definition_ptr();
    operator SdaiProduct_definition_formation_ptr();
    operator SdaiProduct_definition_formation_relationship_ptr();
    operator SdaiProduct_definition_relationship_ptr();
    operator SdaiRequirement_assigned_item_ptr();

    //  part 3
        SdaiProduct_definition_ptr_c related_product_definition_() const;
        SdaiProduct_definition_ptr   related_product_definition_();
        void related_product_definition_( const SdaiProduct_definition_ptr x );

        SdaiProduct_definition_ptr_c relating_product_definition_() const;
        SdaiProduct_definition_ptr   relating_product_definition_();
        void relating_product_definition_( const SdaiProduct_definition_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_context_ptr_c frame_of_reference_() const;
        SdaiProduct_definition_context_ptr   frame_of_reference_();
        void frame_of_reference_( const SdaiProduct_definition_context_ptr x );

        SdaiProduct_definition_formation_ptr_c formation_() const;
        SdaiProduct_definition_formation_ptr   formation_();
        void formation_( const SdaiProduct_definition_formation_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 );

        SdaiConfiguration_design_ptr_c configuration_() const;
        SdaiConfiguration_design_ptr   configuration_();
        void configuration_( const SdaiConfiguration_design_ptr x );

        SdaiProduct_definition_relationship_ptr_c usage_() const;
        SdaiProduct_definition_relationship_ptr   usage_();
        void usage_( const SdaiProduct_definition_relationship_ptr x );

  const SdaiIdentifier   id_() const;
        SdaiIdentifier   id_();
        void id_( const SdaiIdentifier x );

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

  const SdaiText   comment_() const;
        SdaiText   comment_();
        void comment_( const SdaiText x );

  const SdaiText   analysis_() const;
        SdaiText   analysis_();
        void analysis_( 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 );


    //  part 4
    SdaiAction_items& operator =( const SdaiAction_directive_ptr& );
    SdaiAction_items& operator =( const SdaiCertification_item_ptr& );
    SdaiAction_items& operator =( const SdaiCharacterized_object_ptr& );
    SdaiAction_items& operator =( const SdaiClassification_item_ptr& );
    SdaiAction_items& operator =( const SdaiConfiguration_effectivity_ptr& );
    SdaiAction_items& operator =( const SdaiDocument_reference_item_ptr& );
    SdaiAction_items& operator =( const SdaiIdentification_item_ptr& );
    SdaiAction_items& operator =( const SdaiOrganization_ptr& );
    SdaiAction_items& operator =( const SdaiPerson_and_organization_ptr& );
    SdaiAction_items& operator =( const SdaiProduct_definition_ptr& );
    SdaiAction_items& operator =( const SdaiProduct_definition_formation_ptr& );
    SdaiAction_items& operator =( const SdaiProduct_definition_formation_relationship_ptr& );
    SdaiAction_items& operator =( const SdaiProduct_definition_relationship_ptr& );
    SdaiAction_items& operator =( const SdaiRequirement_assigned_item_ptr& );
    // not in SDAI
    SdaiAction_items& ShallowCopy ( const SdaiAction_items& );

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

    //  part 5
    Logical IsAction_directive() const;
    Logical IsCertification_item() const;
    Logical IsCharacterized_object() const;
    Logical IsClassification_item() const;
    Logical IsConfiguration_effectivity() const;
    Logical IsDocument_reference_item() const;
    Logical IsIdentification_item() const;
    Logical IsOrganization() const;
    Logical IsPerson_and_organization() const;
    Logical IsProduct_definition() const;
    Logical IsProduct_definition_formation() const;
    Logical IsProduct_definition_formation_relationship() const;
    Logical IsProduct_definition_relationship() const;
    Logical IsRequirement_assigned_item() const;

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

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

inline SDAI_Select * create_SdaiAction_items () { return new SdaiAction_items; }
typedef SdaiAction_items * SdaiAction_itemsH;
typedef SdaiAction_items_ptr SdaiAction_items_var;


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

  public:
    SdaiAction_items_agg( SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_action_items );
    ~SdaiAction_items_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiAction_items( sel_type )); }
};
inline STEPaggregate * create_SdaiAction_items_agg () { return new SdaiAction_items_agg; }
typedef SdaiAction_items_agg_ptr SdaiAction_items_agg_var;

/////  END SELECT TYPE action_items

void init_SdaiAction_items(Registry& reg);

#endif
