#ifndef  TYPE_SDAIIFCPROPERTYSETDEFINITIONSELECT_H
#define  TYPE_SDAIIFCPROPERTYSETDEFINITIONSELECT_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 SdaiIfcpropertysetdefinitionselect
class SC_SCHEMA_EXPORT SdaiIfcpropertysetdefinitionselect  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IFCPROPERTYSETDEFINITION    --  sdaiINSTANCE
    //   IFCPROPERTYSETDEFINITIONSET    --  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
    SdaiIfcpropertysetdefinitionselect( const SelectTypeDescriptor * =ifc4::t_ifcpropertysetdefinitionselect );
    //  part 1
    SdaiIfcpropertysetdefinitionselect( const SdaiIfcpropertysetdefinition_ptr&,
                                        const SelectTypeDescriptor * =ifc4::t_ifcpropertysetdefinitionselect );
    SdaiIfcpropertysetdefinitionselect( const SdaiIfcpropertysetdefinitionset_ptr&,
                                        const SelectTypeDescriptor * =ifc4::t_ifcpropertysetdefinitionselect );
    virtual ~SdaiIfcpropertysetdefinitionselect();

    //  part 2
    operator SdaiIfcpropertysetdefinition_ptr();
    operator SdaiIfcpropertysetdefinitionset_ptr();

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

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

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

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

        EntityAggregate_ptr_c hascontext_() const;
        EntityAggregate_ptr   hascontext_();
        void hascontext_( 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
    SdaiIfcpropertysetdefinitionselect& operator =( const SdaiIfcpropertysetdefinition_ptr& );
    SdaiIfcpropertysetdefinitionselect& operator =( const SdaiIfcpropertysetdefinitionset_ptr& );
    // not in SDAI
    SdaiIfcpropertysetdefinitionselect& ShallowCopy ( const SdaiIfcpropertysetdefinitionselect& );

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

    //  part 5
    Logical IsIfcpropertysetdefinition() const;
    Logical IsIfcpropertysetdefinitionset() const;

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

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

inline SDAI_Select * create_SdaiIfcpropertysetdefinitionselect () { return new SdaiIfcpropertysetdefinitionselect; }
typedef SdaiIfcpropertysetdefinitionselect * SdaiIfcpropertysetdefinitionselectH;
typedef SdaiIfcpropertysetdefinitionselect_ptr SdaiIfcpropertysetdefinitionselect_var;


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

  public:
    SdaiIfcpropertysetdefinitionselect_agg( SelectTypeDescriptor * =ifc4::t_ifcpropertysetdefinitionselect );
    ~SdaiIfcpropertysetdefinitionselect_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIfcpropertysetdefinitionselect( sel_type )); }
};
inline STEPaggregate * create_SdaiIfcpropertysetdefinitionselect_agg () { return new SdaiIfcpropertysetdefinitionselect_agg; }
typedef SdaiIfcpropertysetdefinitionselect_agg_ptr SdaiIfcpropertysetdefinitionselect_agg_var;

/////  END SELECT TYPE ifcpropertysetdefinitionselect

void init_SdaiIfcpropertysetdefinitionselect(Registry& reg);

#endif
