26#ifndef _ODVALUE_INCLUDED_
27#define _ODVALUE_INCLUDED_
74 kParseOptionNone = 0x00,
75 kSetDefaultFormat = 0x01,
76 kPreserveMtextFormat = 0x02,
77 kConvertTextToValue = 0x04,
78 kChangeDataType = 0x08,
79 kParseTextForFieldCode = 0x10
84 kFormatOptionNone = 0x00,
86 kForExpression = 0x02,
87 kUseMaximumPrecision = 0x04,
88 kIgnoreMtextFormat = 0x08
151 operator double()
const;
209 bool get(
double&
x,
double&
y)
const;
220 bool get(
double&
x,
double&
y,
double&
z)
const;
403 bool bResetIfIncompatible);
418 friend class OdDbSystemInternals;
OdSmartPtr< OdValue > OdValuePtr
bool get(OdInt32 &value) const
bool get(double &value) const
OdValue & operator=(double value)
bool get(OdString &value) const
bool set(const OdTimeStamp &time)
OdString format(OdDbDatabase *pDb=0) const
bool get(void *&pBuf, OdInt32 &bufferSize) const
bool set(const OdString &value)
bool convertTo(OdValue::DataType nDataType, OdValue::UnitType nUnitType)
bool set(const OdInt64 &date)
OdValue(const OdTimeStamp &time)
bool get(OdResBufPtr &resBuf) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
bool get(double &x, double &y) const
OdString format(const OdString &pszFormat, OdValue::FormatOption nOption, OdDbDatabase *pDb=0)
OdValue & operator=(OdInt32 value)
OdValue & operator=(OdInt64 date)
bool get(OdInt64 &date) const
OdValue(OdValueImpl *pValImpl)
bool set(double x, double y, double z)
bool format(const OdString &pszFormat, OdString &pszValue, OdDbDatabase *pDb=0) const
OdValue(const OdValue &value)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
bool set(const OdDbObjectId &objectId)
bool set(const void *buffer, OdInt32 bufferSize)
OdValue & operator=(const OdString &value)
OdValue & operator=(const OdValue &value)
OdValue::UnitType unitType(void) const
bool get(double &x, double &y, double &z) const
bool set(const OdResBufPtr &resBuf)
OdValue(const void *buffer, OdInt32 bufferSize)
OdValue & operator=(const OdDbObjectId &objectId)
bool convertTo(OdValue::DataType nDataType, OdValue::UnitType nUnitType, bool bResetIfIncompatible)
OdValue(const OdDbObjectId &objectId)
ODRX_DECLARE_MEMBERS(OdValue)
bool get(OdTimeStamp &time) const
bool get(OdDbObjectId &objectId) const
bool set(double x, double y)
OdValue(const OdInt64 &date)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
bool set(const OdValue &value)
void setUnitType(OdValue::UnitType nUnitType)
OdString format(OdValue::FormatOption nOption, OdDbDatabase *pDb=0)
OdString getFormat(void) const
OdValue & operator=(const OdResBufPtr &resBuf)
OdValue::DataType dataType() const
bool reset(OdValue::DataType nDataType)
OdValue(const OdResBufPtr &resBuf)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdValue(const OdString &value)
OdValue(double x, double y)
void setFormat(const OdString &pszFormat)
OdValue(double x, double y, double z)
GLfloat GLfloat GLfloat z
GLsizei const GLfloat * value