#ifndef  TYPE_SDAIITEM_IDENTIFIED_REPRESENTATION_USAGE_SELECT_H
#define  TYPE_SDAIITEM_IDENTIFIED_REPRESENTATION_USAGE_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 SdaiItem_identified_representation_usage_select
class SC_SCHEMA_EXPORT SdaiItem_identified_representation_usage_select  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   REPRESENTATION_ITEM    --  sdaiINSTANCE
    //   LIST_REPRESENTATION_ITEM    --  LIST_TYPE
    //   SET_REPRESENTATION_ITEM    --  SET_TYPE
       SDAI_Application_instance_ptr _app_inst;
       EntityAggregate_ptr _entityaggregate;

  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
    SdaiItem_identified_representation_usage_select( const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_item_identified_representation_usage_select );
    //  part 1
    SdaiItem_identified_representation_usage_select( const SdaiRepresentation_item_ptr&,
                                                     const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_item_identified_representation_usage_select );
    SdaiItem_identified_representation_usage_select( const SdaiSet_representation_item_ptr&,
                                                     const SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_item_identified_representation_usage_select );
    virtual ~SdaiItem_identified_representation_usage_select();

    //  part 2
    operator SdaiRepresentation_item_ptr();
    operator SdaiSet_representation_item_ptr ();

    //  part 3
  const SdaiLabel   name_() const;
        SdaiLabel   name_();
        void name_( const SdaiLabel x );


    //  part 4
    SdaiItem_identified_representation_usage_select& operator =( const SdaiRepresentation_item_ptr& );
    SdaiItem_identified_representation_usage_select& operator =( const SdaiSet_representation_item_ptr& );
    // not in SDAI
    SdaiItem_identified_representation_usage_select& ShallowCopy ( const SdaiItem_identified_representation_usage_select& );

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

    //  part 5
    Logical IsRepresentation_item() const;
    Logical IsList_representation_item() const;
    Logical IsSet_representation_item() const;

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

    //  part 7
    const TypeDescriptor *SetUnderlyingType ( const TypeDescriptor * td );
};

inline SDAI_Select * create_SdaiItem_identified_representation_usage_select () { return new SdaiItem_identified_representation_usage_select; }
typedef SdaiItem_identified_representation_usage_select * SdaiItem_identified_representation_usage_selectH;
typedef SdaiItem_identified_representation_usage_select_ptr SdaiItem_identified_representation_usage_select_var;


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

  public:
    SdaiItem_identified_representation_usage_select_agg( SelectTypeDescriptor * =ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf::t_item_identified_representation_usage_select );
    ~SdaiItem_identified_representation_usage_select_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiItem_identified_representation_usage_select( sel_type )); }
};
inline STEPaggregate * create_SdaiItem_identified_representation_usage_select_agg () { return new SdaiItem_identified_representation_usage_select_agg; }
typedef SdaiItem_identified_representation_usage_select_agg_ptr SdaiItem_identified_representation_usage_select_agg_var;

/////  END SELECT TYPE item_identified_representation_usage_select

void init_SdaiItem_identified_representation_usage_select(Registry& reg);

#endif
