#ifndef  TYPE_SDAIIFCSPACEBOUNDARYSELECT_H
#define  TYPE_SDAIIFCSPACEBOUNDARYSELECT_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 SdaiIfcspaceboundaryselect
class SC_SCHEMA_EXPORT SdaiIfcspaceboundaryselect  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IFCEXTERNALSPATIALELEMENT    --  sdaiINSTANCE
    //   IFCSPACE    --  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
    SdaiIfcspaceboundaryselect( const SelectTypeDescriptor * =ifc4::t_ifcspaceboundaryselect );
    //  part 1
    SdaiIfcspaceboundaryselect( const SdaiIfcexternalspatialelement_ptr&,
                                const SelectTypeDescriptor * =ifc4::t_ifcspaceboundaryselect );
    SdaiIfcspaceboundaryselect( const SdaiIfcspace_ptr&,
                                const SelectTypeDescriptor * =ifc4::t_ifcspaceboundaryselect );
    virtual ~SdaiIfcspaceboundaryselect();

    //  part 2
    operator SdaiIfcexternalspatialelement_ptr();
    operator SdaiIfcspace_ptr();

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

        SdaiIfclengthmeasure   elevationwithflooring_() const;
        void elevationwithflooring_( const SdaiIfclengthmeasure x );

  const SdaiIfcelementcompositionenum_var   compositiontype_() const;
        SdaiIfcelementcompositionenum_var   compositiontype_();
        void compositiontype_( const SdaiIfcelementcompositionenum_var x );

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

  const SdaiIfcexternalspatialelementtypeenum_var   predefinedtype_() const;
        SdaiIfcexternalspatialelementtypeenum_var   predefinedtype_();
        void predefinedtype_( const SdaiIfcexternalspatialelementtypeenum_var x );

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

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

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

  const SdaiIfclabel   longname_() const;
        SdaiIfclabel   longname_();
        void longname_( const SdaiIfclabel 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
    SdaiIfcspaceboundaryselect& operator =( const SdaiIfcexternalspatialelement_ptr& );
    SdaiIfcspaceboundaryselect& operator =( const SdaiIfcspace_ptr& );
    // not in SDAI
    SdaiIfcspaceboundaryselect& ShallowCopy ( const SdaiIfcspaceboundaryselect& );

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

    //  part 5
    Logical IsIfcexternalspatialelement() const;
    Logical IsIfcspace() const;

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

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

inline SDAI_Select * create_SdaiIfcspaceboundaryselect () { return new SdaiIfcspaceboundaryselect; }
typedef SdaiIfcspaceboundaryselect * SdaiIfcspaceboundaryselectH;
typedef SdaiIfcspaceboundaryselect_ptr SdaiIfcspaceboundaryselect_var;


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

  public:
    SdaiIfcspaceboundaryselect_agg( SelectTypeDescriptor * =ifc4::t_ifcspaceboundaryselect );
    ~SdaiIfcspaceboundaryselect_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIfcspaceboundaryselect( sel_type )); }
};
inline STEPaggregate * create_SdaiIfcspaceboundaryselect_agg () { return new SdaiIfcspaceboundaryselect_agg; }
typedef SdaiIfcspaceboundaryselect_agg_ptr SdaiIfcspaceboundaryselect_agg_var;

/////  END SELECT TYPE ifcspaceboundaryselect

void init_SdaiIfcspaceboundaryselect(Registry& reg);

#endif
