#ifndef  TYPE_SDAICONNECTOR_ON_ITEM_H
#define  TYPE_SDAICONNECTOR_ON_ITEM_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 SdaiConnector_on_item
class SC_SCHEMA_EXPORT SdaiConnector_on_item  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   PRODUCT_VIEW_DEFINITION    --  sdaiINSTANCE
    //   VIEW_DEFINITION_RELATIONSHIP    --  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
    SdaiConnector_on_item( const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_connector_on_item );
    //  part 1
    SdaiConnector_on_item( const SdaiProduct_view_definition_ptr&,
                           const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_connector_on_item );
    SdaiConnector_on_item( const SdaiView_definition_relationship_ptr&,
                           const SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_connector_on_item );
    virtual ~SdaiConnector_on_item();

    //  part 2
    operator SdaiProduct_view_definition_ptr();
    operator SdaiView_definition_relationship_ptr();

    //  part 3
        SdaiProduct_view_definition_ptr_c related_view_() const;
        SdaiProduct_view_definition_ptr   related_view_();
        void related_view_( const SdaiProduct_view_definition_ptr x );

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

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

  const SDAI_String   relation_type_() const;
        SDAI_String   relation_type_();
        void relation_type_( const SDAI_String 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 );

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


    //  part 4
    SdaiConnector_on_item& operator =( const SdaiProduct_view_definition_ptr& );
    SdaiConnector_on_item& operator =( const SdaiView_definition_relationship_ptr& );
    // not in SDAI
    SdaiConnector_on_item& ShallowCopy ( const SdaiConnector_on_item& );

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

    //  part 5
    Logical IsProduct_view_definition() const;
    Logical IsView_definition_relationship() const;

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

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

inline SDAI_Select * create_SdaiConnector_on_item () { return new SdaiConnector_on_item; }
typedef SdaiConnector_on_item * SdaiConnector_on_itemH;
typedef SdaiConnector_on_item_ptr SdaiConnector_on_item_var;


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

  public:
    SdaiConnector_on_item_agg( SelectTypeDescriptor * =ap239_product_life_cycle_support_arm_lf::t_connector_on_item );
    ~SdaiConnector_on_item_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiConnector_on_item( sel_type )); }
};
inline STEPaggregate * create_SdaiConnector_on_item_agg () { return new SdaiConnector_on_item_agg; }
typedef SdaiConnector_on_item_agg_ptr SdaiConnector_on_item_agg_var;

/////  END SELECT TYPE connector_on_item

void init_SdaiConnector_on_item(Registry& reg);

#endif
