#ifndef  TYPE_SDAIIFCTEXTFONTSELECT_H
#define  TYPE_SDAIIFCTEXTFONTSELECT_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 SdaiIfctextfontselect
class SC_SCHEMA_EXPORT SdaiIfctextfontselect  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IFCEXTERNALLYDEFINEDTEXTFONT    --  sdaiINSTANCE
    //   IFCPREDEFINEDTEXTFONT    --  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
    SdaiIfctextfontselect( const SelectTypeDescriptor * =ifc4::t_ifctextfontselect );
    //  part 1
    SdaiIfctextfontselect( const SdaiIfcexternallydefinedtextfont_ptr&,
                           const SelectTypeDescriptor * =ifc4::t_ifctextfontselect );
    SdaiIfctextfontselect( const SdaiIfcpredefinedtextfont_ptr&,
                           const SelectTypeDescriptor * =ifc4::t_ifctextfontselect );
    virtual ~SdaiIfctextfontselect();

    //  part 2
    operator SdaiIfcexternallydefinedtextfont_ptr();
    operator SdaiIfcpredefinedtextfont_ptr();

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

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

  const SdaiIfcidentifier   identification_() const;
        SdaiIfcidentifier   identification_();
        void identification_( const SdaiIfcidentifier x );

  const SdaiIfcurireference   location_() const;
        SdaiIfcurireference   location_();
        void location_( const SdaiIfcurireference x );


    //  part 4
    SdaiIfctextfontselect& operator =( const SdaiIfcexternallydefinedtextfont_ptr& );
    SdaiIfctextfontselect& operator =( const SdaiIfcpredefinedtextfont_ptr& );
    // not in SDAI
    SdaiIfctextfontselect& ShallowCopy ( const SdaiIfctextfontselect& );

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

    //  part 5
    Logical IsIfcexternallydefinedtextfont() const;
    Logical IsIfcpredefinedtextfont() const;

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

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

inline SDAI_Select * create_SdaiIfctextfontselect () { return new SdaiIfctextfontselect; }
typedef SdaiIfctextfontselect * SdaiIfctextfontselectH;
typedef SdaiIfctextfontselect_ptr SdaiIfctextfontselect_var;


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

  public:
    SdaiIfctextfontselect_agg( SelectTypeDescriptor * =ifc4::t_ifctextfontselect );
    ~SdaiIfctextfontselect_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIfctextfontselect( sel_type )); }
};
inline STEPaggregate * create_SdaiIfctextfontselect_agg () { return new SdaiIfctextfontselect_agg; }
typedef SdaiIfctextfontselect_agg_ptr SdaiIfctextfontselect_agg_var;

/////  END SELECT TYPE ifctextfontselect

void init_SdaiIfctextfontselect(Registry& reg);

#endif
