#ifndef  TYPE_SDAIIFCMEASUREVALUE_H
#define  TYPE_SDAIIFCMEASUREVALUE_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 SdaiIfcmeasurevalue
class SC_SCHEMA_EXPORT SdaiIfcmeasurevalue  :  public SDAI_Select {
  protected:
    //  types in SELECT 
    //   IFCAMOUNTOFSUBSTANCEMEASURE    --  sdaiREAL
    //   IFCAREAMEASURE    --  sdaiREAL
    //   IFCCOMPLEXNUMBER    --  ARRAY_TYPE
    //   IFCCONTEXTDEPENDENTMEASURE    --  sdaiREAL
    //   IFCCOUNTMEASURE    --  sdaiNUMBER
    //   IFCDESCRIPTIVEMEASURE    --  sdaiSTRING
    //   IFCELECTRICCURRENTMEASURE    --  sdaiREAL
    //   IFCLENGTHMEASURE    --  sdaiREAL
    //   IFCLUMINOUSINTENSITYMEASURE    --  sdaiREAL
    //   IFCMASSMEASURE    --  sdaiREAL
    //   IFCNONNEGATIVELENGTHMEASURE    --  sdaiREAL
    //   IFCNORMALISEDRATIOMEASURE    --  sdaiREAL
    //   IFCNUMERICMEASURE    --  sdaiNUMBER
    //   IFCPARAMETERVALUE    --  sdaiREAL
    //   IFCPLANEANGLEMEASURE    --  sdaiREAL
    //   IFCPOSITIVELENGTHMEASURE    --  sdaiREAL
    //   IFCPOSITIVEPLANEANGLEMEASURE    --  sdaiREAL
    //   IFCPOSITIVERATIOMEASURE    --  sdaiREAL
    //   IFCRATIOMEASURE    --  sdaiREAL
    //   IFCSOLIDANGLEMEASURE    --  sdaiREAL
    //   IFCTHERMODYNAMICTEMPERATUREMEASURE    --  sdaiREAL
    //   IFCTIMEMEASURE    --  sdaiREAL
    //   IFCVOLUMEMEASURE    --  sdaiREAL
       SDAI_Real _real;
       RealAggregate_ptr _realaggregate;
       SDAI_String _string;

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

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

    //  part 3

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

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

    //  part 5
    Logical IsIfcamountofsubstancemeasure() const;
    Logical IsIfcareameasure() const;
    Logical IsIfccomplexnumber() const;
    Logical IsIfccontextdependentmeasure() const;
    Logical IsIfccountmeasure() const;
    Logical IsIfcdescriptivemeasure() const;
    Logical IsIfcelectriccurrentmeasure() const;
    Logical IsIfclengthmeasure() const;
    Logical IsIfcluminousintensitymeasure() const;
    Logical IsIfcmassmeasure() const;
    Logical IsIfcnonnegativelengthmeasure() const;
    Logical IsIfcnormalisedratiomeasure() const;
    Logical IsIfcnumericmeasure() const;
    Logical IsIfcparametervalue() const;
    Logical IsIfcplaneanglemeasure() const;
    Logical IsIfcpositivelengthmeasure() const;
    Logical IsIfcpositiveplaneanglemeasure() const;
    Logical IsIfcpositiveratiomeasure() const;
    Logical IsIfcratiomeasure() const;
    Logical IsIfcsolidanglemeasure() const;
    Logical IsIfcthermodynamictemperaturemeasure() const;
    Logical IsIfctimemeasure() const;
    Logical IsIfcvolumemeasure() const;

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

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

inline SDAI_Select * create_SdaiIfcmeasurevalue () { return new SdaiIfcmeasurevalue; }
typedef SdaiIfcmeasurevalue * SdaiIfcmeasurevalueH;
typedef SdaiIfcmeasurevalue_ptr SdaiIfcmeasurevalue_var;


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

  public:
    SdaiIfcmeasurevalue_agg( SelectTypeDescriptor * =ifc4::t_ifcmeasurevalue );
    ~SdaiIfcmeasurevalue_agg();
    virtual SingleLinkNode * NewNode()
     { return new SelectNode (new SdaiIfcmeasurevalue( sel_type )); }
};
inline STEPaggregate * create_SdaiIfcmeasurevalue_agg () { return new SdaiIfcmeasurevalue_agg; }
typedef SdaiIfcmeasurevalue_agg_ptr SdaiIfcmeasurevalue_agg_var;

/////  END SELECT TYPE ifcmeasurevalue

void init_SdaiIfcmeasurevalue(Registry& reg);

#endif
