#ifndef  TYPE_SDAIIFCPRODUCTSELECT_H
#define  TYPE_SDAIIFCPRODUCTSELECT_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 SdaiIfcproductselect
class SC_SCHEMA_EXPORT SdaiIfcproductselect  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IFCPRODUCT    --  sdaiINSTANCE
    //   IFCTYPEPRODUCT    --  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
    SdaiIfcproductselect( const SelectTypeDescriptor * =ifc4::t_ifcproductselect );
    //  part 1
    SdaiIfcproductselect( const SdaiIfcproduct_ptr&,
                          const SelectTypeDescriptor * =ifc4::t_ifcproductselect );
    SdaiIfcproductselect( const SdaiIfctypeproduct_ptr&,
                          const SelectTypeDescriptor * =ifc4::t_ifcproductselect );
    virtual ~SdaiIfcproductselect();

    //  part 2
    operator SdaiIfcproduct_ptr();
    operator SdaiIfctypeproduct_ptr();

    //  part 3
  const SdaiIfclabel   tag_() const;
        SdaiIfclabel   tag_();
        void tag_( const SdaiIfclabel x );

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

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

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

  const SdaiIfcidentifier   applicableoccurrence_() const;
        SdaiIfcidentifier   applicableoccurrence_();
        void applicableoccurrence_( const SdaiIfcidentifier x );

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

        SdaiIfcproductrepresentation_ptr_c representation_() const;
        SdaiIfcproductrepresentation_ptr   representation_();
        void representation_( const SdaiIfcproductrepresentation_ptr x );

        SdaiIfcobjectplacement_ptr_c objectplacement_() const;
        SdaiIfcobjectplacement_ptr   objectplacement_();
        void objectplacement_( const SdaiIfcobjectplacement_ptr x );

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

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

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

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

  const SdaiIfclabel   objecttype_() const;
        SdaiIfclabel   objecttype_();
        void objecttype_( const SdaiIfclabel x );

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

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

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

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

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

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

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

  const SdaiIfctext   description_() const;
        SdaiIfctext   description_();
        void description_( const SdaiIfctext x );

  const SdaiIfclabel   name_() const;
        SdaiIfclabel   name_();
        void name_( const SdaiIfclabel x );

        SdaiIfcownerhistory_ptr_c ownerhistory_() const;
        SdaiIfcownerhistory_ptr   ownerhistory_();
        void ownerhistory_( const SdaiIfcownerhistory_ptr x );

  const SdaiIfcgloballyuniqueid   globalid_() const;
        SdaiIfcgloballyuniqueid   globalid_();
        void globalid_( const SdaiIfcgloballyuniqueid x );


    //  part 4
    SdaiIfcproductselect& operator =( const SdaiIfcproduct_ptr& );
    SdaiIfcproductselect& operator =( const SdaiIfctypeproduct_ptr& );
    // not in SDAI
    SdaiIfcproductselect& ShallowCopy ( const SdaiIfcproductselect& );

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

    //  part 5
    Logical IsIfcproduct() const;
    Logical IsIfctypeproduct() const;

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

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

inline SDAI_Select * create_SdaiIfcproductselect () { return new SdaiIfcproductselect; }
typedef SdaiIfcproductselect * SdaiIfcproductselectH;
typedef SdaiIfcproductselect_ptr SdaiIfcproductselect_var;


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

  public:
    SdaiIfcproductselect_agg( SelectTypeDescriptor * =ifc4::t_ifcproductselect );
    ~SdaiIfcproductselect_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIfcproductselect( sel_type )); }
};
inline STEPaggregate * create_SdaiIfcproductselect_agg () { return new SdaiIfcproductselect_agg; }
typedef SdaiIfcproductselect_agg_ptr SdaiIfcproductselect_agg_var;

/////  END SELECT TYPE ifcproductselect

void init_SdaiIfcproductselect(Registry& reg);

#endif
