#ifndef  TYPE_SDAISELECTED_ITEM_SELECT_H
#define  TYPE_SDAISELECTED_ITEM_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 SdaiSelected_item_select
class SC_SCHEMA_EXPORT SdaiSelected_item_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   INTERFACE_CONNECTION    --  sdaiINSTANCE
    //   INTERFACE_CONNECTOR_DEFINITION    --  sdaiINSTANCE
    //   INTERFACE_CONNECTOR_OCCURRENCE    --  sdaiINSTANCE
    //   INTERFACE_DEFINITION_CONNECTION    --  sdaiINSTANCE
    //   PRODUCT    --  sdaiINSTANCE
    //   PRODUCT_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
    SdaiSelected_item_select( const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_selected_item_select );
    //  part 1
    SdaiSelected_item_select( const SdaiInterface_connection_ptr&,
                              const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_selected_item_select );
    SdaiSelected_item_select( const SdaiInterface_connector_definition_ptr&,
                              const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_selected_item_select );
    SdaiSelected_item_select( const SdaiInterface_connector_occurrence_ptr&,
                              const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_selected_item_select );
    SdaiSelected_item_select( const SdaiInterface_definition_connection_ptr&,
                              const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_selected_item_select );
    SdaiSelected_item_select( const SdaiProduct_ptr&,
                              const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_selected_item_select );
    SdaiSelected_item_select( const SdaiProduct_version_ptr&,
                              const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_selected_item_select );
    virtual ~SdaiSelected_item_select();

    //  part 2
    operator SdaiInterface_connection_ptr();
    operator SdaiInterface_connector_definition_ptr();
    operator SdaiInterface_connector_occurrence_ptr();
    operator SdaiInterface_definition_connection_ptr();
    operator SdaiProduct_ptr();
    operator SdaiProduct_version_ptr();

    //  part 3
        SdaiProduct_ptr_c of_product_() const;
        SdaiProduct_ptr   of_product_();
        void of_product_( const SdaiProduct_ptr x );

        SdaiInterface_connector_definition_ptr_c occurrence_of_() const;
        SdaiInterface_connector_definition_ptr   occurrence_of_();
        void occurrence_of_( const SdaiInterface_connector_definition_ptr x );

        SdaiInterface_connector_version_ptr_c product_view_definition_defined_version_() const;
        SdaiInterface_connector_version_ptr   product_view_definition_defined_version_();
        void product_view_definition_defined_version_( const SdaiInterface_connector_version_ptr x );

        SdaiProduct_view_definition_ptr_c connector_on_() const;
        SdaiProduct_view_definition_ptr   connector_on_();
        void connector_on_( const SdaiProduct_view_definition_ptr x );

        SdaiProduct_version_ptr_c defined_version_() const;
        SdaiProduct_version_ptr   defined_version_();
        void defined_version_( const SdaiProduct_version_ptr x );

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

        SdaiView_definition_context_ptr_c initial_context_() const;
        SdaiView_definition_context_ptr   initial_context_();
        void initial_context_( const SdaiView_definition_context_ptr x );

  const SDAI_String   additional_characterization_() const;
        SDAI_String   additional_characterization_();
        void additional_characterization_( const SDAI_String x );

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

        SdaiConnection_items_ptr_c connected_() const;
        SdaiConnection_items_ptr   connected_();
        void connected_( const SdaiConnection_items_ptr x );

        SdaiConnection_items_ptr_c connecting_() const;
        SdaiConnection_items_ptr   connecting_();
        void connecting_( const SdaiConnection_items_ptr x );

  const SDAI_String   connection_type_() const;
        SDAI_String   connection_type_();
        void connection_type_( const SDAI_String x );

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

  const SDAI_String   id_() const;
        SDAI_String   id_();
        void id_( const SDAI_String x );


    //  part 4
    SdaiSelected_item_select& operator =( const SdaiInterface_connection_ptr& );
    SdaiSelected_item_select& operator =( const SdaiInterface_connector_definition_ptr& );
    SdaiSelected_item_select& operator =( const SdaiInterface_connector_occurrence_ptr& );
    SdaiSelected_item_select& operator =( const SdaiInterface_definition_connection_ptr& );
    SdaiSelected_item_select& operator =( const SdaiProduct_ptr& );
    SdaiSelected_item_select& operator =( const SdaiProduct_version_ptr& );
    // not in SDAI
    SdaiSelected_item_select& ShallowCopy ( const SdaiSelected_item_select& );

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

    //  part 5
    Logical IsInterface_connection() const;
    Logical IsInterface_connector_definition() const;
    Logical IsInterface_connector_occurrence() const;
    Logical IsInterface_definition_connection() const;
    Logical IsProduct() const;
    Logical IsProduct_version() const;

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

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

inline SDAI_Select * create_SdaiSelected_item_select () { return new SdaiSelected_item_select; }
typedef SdaiSelected_item_select * SdaiSelected_item_selectH;
typedef SdaiSelected_item_select_ptr SdaiSelected_item_select_var;


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

  public:
    SdaiSelected_item_select_agg( SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_selected_item_select );
    ~SdaiSelected_item_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiSelected_item_select( sel_type )); }
};
inline STEPaggregate * create_SdaiSelected_item_select_agg () { return new SdaiSelected_item_select_agg; }
typedef SdaiSelected_item_select_agg_ptr SdaiSelected_item_select_agg_var;

/////  END SELECT TYPE selected_item_select

void init_SdaiSelected_item_select(Registry& reg);

#endif
