#ifndef  TYPE_SDAIIFCSURFACEORFACESURFACE_H
#define  TYPE_SDAIIFCSURFACEORFACESURFACE_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 SdaiIfcsurfaceorfacesurface
class SC_SCHEMA_EXPORT SdaiIfcsurfaceorfacesurface  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IFCFACEBASEDSURFACEMODEL    --  sdaiINSTANCE
    //   IFCFACESURFACE    --  sdaiINSTANCE
    //   IFCSURFACE    --  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
    SdaiIfcsurfaceorfacesurface( const SelectTypeDescriptor * =ifc4::t_ifcsurfaceorfacesurface );
    //  part 1
    SdaiIfcsurfaceorfacesurface( const SdaiIfcfacebasedsurfacemodel_ptr&,
                                 const SelectTypeDescriptor * =ifc4::t_ifcsurfaceorfacesurface );
    SdaiIfcsurfaceorfacesurface( const SdaiIfcfacesurface_ptr&,
                                 const SelectTypeDescriptor * =ifc4::t_ifcsurfaceorfacesurface );
    SdaiIfcsurfaceorfacesurface( const SdaiIfcsurface_ptr&,
                                 const SelectTypeDescriptor * =ifc4::t_ifcsurfaceorfacesurface );
    virtual ~SdaiIfcsurfaceorfacesurface();

    //  part 2
    operator SdaiIfcfacebasedsurfacemodel_ptr();
    operator SdaiIfcfacesurface_ptr();
    operator SdaiIfcsurface_ptr();

    //  part 3
        Boolean   samesense_() const;
        void samesense_( const Boolean x );

        SdaiIfcsurface_ptr_c facesurface_() const;
        SdaiIfcsurface_ptr   facesurface_();
        void facesurface_( const SdaiIfcsurface_ptr x );

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

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

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

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

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


    //  part 4
    SdaiIfcsurfaceorfacesurface& operator =( const SdaiIfcfacebasedsurfacemodel_ptr& );
    SdaiIfcsurfaceorfacesurface& operator =( const SdaiIfcfacesurface_ptr& );
    SdaiIfcsurfaceorfacesurface& operator =( const SdaiIfcsurface_ptr& );
    // not in SDAI
    SdaiIfcsurfaceorfacesurface& ShallowCopy ( const SdaiIfcsurfaceorfacesurface& );

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

    //  part 5
    Logical IsIfcfacebasedsurfacemodel() const;
    Logical IsIfcfacesurface() const;
    Logical IsIfcsurface() const;

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

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

inline SDAI_Select * create_SdaiIfcsurfaceorfacesurface () { return new SdaiIfcsurfaceorfacesurface; }
typedef SdaiIfcsurfaceorfacesurface * SdaiIfcsurfaceorfacesurfaceH;
typedef SdaiIfcsurfaceorfacesurface_ptr SdaiIfcsurfaceorfacesurface_var;


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

  public:
    SdaiIfcsurfaceorfacesurface_agg( SelectTypeDescriptor * =ifc4::t_ifcsurfaceorfacesurface );
    ~SdaiIfcsurfaceorfacesurface_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIfcsurfaceorfacesurface( sel_type )); }
};
inline STEPaggregate * create_SdaiIfcsurfaceorfacesurface_agg () { return new SdaiIfcsurfaceorfacesurface_agg; }
typedef SdaiIfcsurfaceorfacesurface_agg_ptr SdaiIfcsurfaceorfacesurface_agg_var;

/////  END SELECT TYPE ifcsurfaceorfacesurface

void init_SdaiIfcsurfaceorfacesurface(Registry& reg);

#endif
