#ifndef  TYPE_SDAIIFCSIZESELECT_H
#define  TYPE_SDAIIFCSIZESELECT_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 SdaiIfcsizeselect
class SC_SCHEMA_EXPORT SdaiIfcsizeselect  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IFCDESCRIPTIVEMEASURE    --  sdaiSTRING
    //   IFCLENGTHMEASURE    --  sdaiREAL
    //   IFCNORMALISEDRATIOMEASURE    --  sdaiREAL
    //   IFCPOSITIVELENGTHMEASURE    --  sdaiREAL
    //   IFCPOSITIVERATIOMEASURE    --  sdaiREAL
    //   IFCRATIOMEASURE    --  sdaiREAL
       SDAI_String _string;
       SDAI_Real _real;

  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
    SdaiIfcsizeselect( const SelectTypeDescriptor * =ifc4::t_ifcsizeselect );
    //  part 1
    SdaiIfcsizeselect( const SdaiIfcdescriptivemeasure&,
                       const SelectTypeDescriptor * =ifc4::t_ifcsizeselect );
    SdaiIfcsizeselect( const SDAI_Real&,
                       const SelectTypeDescriptor * =ifc4::t_ifcsizeselect );
    virtual ~SdaiIfcsizeselect();

    //  part 2
    operator SdaiIfcdescriptivemeasure();
    operator SDAI_Real ();

    //  part 3

    //  part 4
    SdaiIfcsizeselect& operator =( const SdaiIfcdescriptivemeasure& );
    SdaiIfcsizeselect& operator =( const SDAI_Real& );
    // not in SDAI
    SdaiIfcsizeselect& ShallowCopy ( const SdaiIfcsizeselect& );

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

    //  part 5
    Logical IsIfcdescriptivemeasure() const;
    Logical IsIfclengthmeasure() const;
    Logical IsIfcnormalisedratiomeasure() const;
    Logical IsIfcpositivelengthmeasure() const;
    Logical IsIfcpositiveratiomeasure() const;
    Logical IsIfcratiomeasure() const;

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

    //  part 7
    const TypeDescriptor *SetUnderlyingType ( const TypeDescriptor * td );
};

inline SDAI_Select * create_SdaiIfcsizeselect () { return new SdaiIfcsizeselect; }
typedef SdaiIfcsizeselect * SdaiIfcsizeselectH;
typedef SdaiIfcsizeselect_ptr SdaiIfcsizeselect_var;


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

  public:
    SdaiIfcsizeselect_agg( SelectTypeDescriptor * =ifc4::t_ifcsizeselect );
    ~SdaiIfcsizeselect_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIfcsizeselect( sel_type )); }
};
inline STEPaggregate * create_SdaiIfcsizeselect_agg () { return new SdaiIfcsizeselect_agg; }
typedef SdaiIfcsizeselect_agg_ptr SdaiIfcsizeselect_agg_var;

/////  END SELECT TYPE ifcsizeselect

void init_SdaiIfcsizeselect(Registry& reg);

#endif
