CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
26 #ifndef _ODVALUE_INCLUDED_
27 #define _ODVALUE_INCLUDED_
73 kParseOptionNone = 0x00,
74 kSetDefaultFormat = 0x01,
75 kPreserveMtextFormat = 0x02,
76 kConvertTextToValue = 0x04,
77 kChangeDataType = 0x08,
78 kParseTextForFieldCode = 0x10
83 kFormatOptionNone = 0x00,
85 kForExpression = 0x02,
86 kUseMaximumPrecision = 0x04,
87 kIgnoreMtextFormat = 0x08
149 operator double()
const;
207 bool get(
double&
x,
double&
y)
const;
218 bool get(
double&
x,
double&
y,
double&
z)
const;
249 bool get(
void*& pBuf,
OdInt32& bufferSize)
const;
304 bool set(
double x,
double y);
315 bool set(
double x,
double y,
double z);
380 bool bResetIfIncompatible);
395 friend class OdDbSystemInternals;
401 #endif // _ODVALUE_INCLUDED_
OdValue(OdValueImpl *pValImpl)
OdValue & operator=(OdInt32 value)
OdValue(const void *buffer, OdInt32 bufferSize)
void setFormat(const OdString &pszFormat)
OdValue & operator=(double value)
bool convertTo(OdValue::DataType nDataType, OdValue::UnitType nUnitType, bool bResetIfIncompatible)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdValue & operator=(OdInt64 date)
OdString format(OdDbDatabase *pDb=0) const
OdValue & operator=(const OdDbObjectId &objectId)
OdString getFormat(void) const
OdValue(double x, double y, double z)
bool reset(OdValue::DataType nDataType)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdSmartPtr< OdValue > OdValuePtr
OdString format(OdValue::FormatOption nOption, OdDbDatabase *pDb=0)
OdValue::UnitType unitType(void) const
ODRX_DECLARE_MEMBERS(OdValue)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdValue(const OdDbObjectId &objectId)
bool convertTo(OdValue::DataType nDataType, OdValue::UnitType nUnitType)
OdValue & operator=(const OdString &value)
OdValue & operator=(const OdValue &value)
OdValue(const OdString &value)
OdValue(const OdValue &value)
OdValue & operator=(const OdResBufPtr &resBuf)
OdString format(const OdString &pszFormat, OdValue::FormatOption nOption, OdDbDatabase *pDb=0)
GLsizei const GLfloat * value
OdValue::DataType dataType() const
void setUnitType(OdValue::UnitType nUnitType)
OdValue(double x, double y)
OdValue(const OdInt64 &date)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
GLfloat GLfloat GLfloat z
OdValue(const OdResBufPtr &resBuf)
bool format(const OdString &pszFormat, OdString &pszValue, OdDbDatabase *pDb=0) const