#ifndef  TYPE_SDAISHAPE_REPRESENTATION_ITEM_H
#define  TYPE_SDAISHAPE_REPRESENTATION_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 SdaiShape_representation_item
class SC_SCHEMA_EXPORT SdaiShape_representation_item  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   GEOMETRIC_REPRESENTATION_ITEM    --  sdaiINSTANCE
    //   TOPOLOGICAL_REPRESENTATION_ITEM    --  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
    SdaiShape_representation_item( const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_shape_representation_item );
    //  part 1
    SdaiShape_representation_item( const SdaiGeometric_representation_item_ptr&,
                                   const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_shape_representation_item );
    SdaiShape_representation_item( const SdaiTopological_representation_item_ptr&,
                                   const SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_shape_representation_item );
    virtual ~SdaiShape_representation_item();

    //  part 2
    operator SdaiGeometric_representation_item_ptr();
    operator SdaiTopological_representation_item_ptr();

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


    //  part 4
    SdaiShape_representation_item& operator =( const SdaiGeometric_representation_item_ptr& );
    SdaiShape_representation_item& operator =( const SdaiTopological_representation_item_ptr& );
    // not in SDAI
    SdaiShape_representation_item& ShallowCopy ( const SdaiShape_representation_item& );

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

    //  part 5
    Logical IsGeometric_representation_item() const;
    Logical IsTopological_representation_item() const;

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

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

inline SDAI_Select * create_SdaiShape_representation_item () { return new SdaiShape_representation_item; }
typedef SdaiShape_representation_item * SdaiShape_representation_itemH;
typedef SdaiShape_representation_item_ptr SdaiShape_representation_item_var;


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

  public:
    SdaiShape_representation_item_agg( SelectTypeDescriptor * =ap209_multidisciplinary_analysis_and_design_mim_lf::t_shape_representation_item );
    ~SdaiShape_representation_item_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiShape_representation_item( sel_type )); }
};
inline STEPaggregate * create_SdaiShape_representation_item_agg () { return new SdaiShape_representation_item_agg; }
typedef SdaiShape_representation_item_agg_ptr SdaiShape_representation_item_agg_var;

/////  END SELECT TYPE shape_representation_item

void init_SdaiShape_representation_item(Registry& reg);

#endif
