#ifndef  TYPE_SDAIIFCLAYEREDITEM_H
#define  TYPE_SDAIIFCLAYEREDITEM_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 SdaiIfclayereditem
class SC_SCHEMA_EXPORT SdaiIfclayereditem  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IFCREPRESENTATIONITEM    --  sdaiINSTANCE
    //   IFCREPRESENTATION    --  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
    SdaiIfclayereditem( const SelectTypeDescriptor * =ifc2x3::t_ifclayereditem );
    //  part 1
    SdaiIfclayereditem( const SdaiIfcrepresentationitem_ptr&,
                        const SelectTypeDescriptor * =ifc2x3::t_ifclayereditem );
    SdaiIfclayereditem( const SdaiIfcrepresentation_ptr&,
                        const SelectTypeDescriptor * =ifc2x3::t_ifclayereditem );
    virtual ~SdaiIfclayereditem();

    //  part 2
    operator SdaiIfcrepresentationitem_ptr();
    operator SdaiIfcrepresentation_ptr();

    //  part 3
        EntityAggregate_ptr_c ofproductrepresentation_() const;
        EntityAggregate_ptr   ofproductrepresentation_();
        void ofproductrepresentation_( const EntityAggregate_ptr x );

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

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

  const SdaiIfclabel   representationtype_() const;
        SdaiIfclabel   representationtype_();
        void representationtype_( const SdaiIfclabel x );

  const SdaiIfclabel   representationidentifier_() const;
        SdaiIfclabel   representationidentifier_();
        void representationidentifier_( const SdaiIfclabel x );

        SdaiIfcrepresentationcontext_ptr_c contextofitems_() const;
        SdaiIfcrepresentationcontext_ptr   contextofitems_();
        void contextofitems_( const SdaiIfcrepresentationcontext_ptr x );

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

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


    //  part 4
    SdaiIfclayereditem& operator =( const SdaiIfcrepresentationitem_ptr& );
    SdaiIfclayereditem& operator =( const SdaiIfcrepresentation_ptr& );
    // not in SDAI
    SdaiIfclayereditem& ShallowCopy ( const SdaiIfclayereditem& );

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

    //  part 5
    Logical IsIfcrepresentationitem() const;
    Logical IsIfcrepresentation() const;

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

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

inline SDAI_Select * create_SdaiIfclayereditem () { return new SdaiIfclayereditem; }
typedef SdaiIfclayereditem * SdaiIfclayereditemH;
typedef SdaiIfclayereditem_ptr SdaiIfclayereditem_var;


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

  public:
    SdaiIfclayereditem_agg( SelectTypeDescriptor * =ifc2x3::t_ifclayereditem );
    ~SdaiIfclayereditem_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIfclayereditem( sel_type )); }
};
inline STEPaggregate * create_SdaiIfclayereditem_agg () { return new SdaiIfclayereditem_agg; }
typedef SdaiIfclayereditem_agg_ptr SdaiIfclayereditem_agg_var;

/////  END SELECT TYPE ifclayereditem

void init_SdaiIfclayereditem(Registry& reg);

#endif
