FRX SDK Documentation 2025 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | List of all members
AcValue Class Reference

#include <AcValue.h>

Inheritance diagram for AcValue:
AcRxObject AcRTTIObject AcObject AcFdFieldValue

Public Types

enum  DataType {
  kUnknown = 0x00 , kLong = 0x01 , kDouble = 0x02 , kString = 0x04 ,
  kDate = 0x08 , kPoint = 0x10 , k3dPoint = 0x20 , kObjectId = 0x40 ,
  kBuffer = 0x80 , kResbuf = 0x100 , kGeneral = 0x200
}
 
enum  FormatOption {
  kFormatOptionNone = 0x00 , kForEditing = 0x01 , kForExpression = 0x02 , kUseMaximumPrecision = 0x04 ,
  kIgnoreMtextFormat = 0x08
}
 
enum  ParseOption { kParseOptionNone = 0x00 , kSetDefaultFormat = 0x01 , kPreserveMtextFormat = 0x02 }
 
enum  UnitType {
  kUnitless = 0x00 , kDistance = 0x01 , kAngle = 0x02 , kArea = 0x04 ,
  kVolume = 0x08
}
 

Public Member Functions

 AcValue (__int64 const &)
 
 AcValue (AcCmColor const &)
 
 AcValue (AcDbEvalVariant const &)
 
 AcValue (AcDbObjectId const &)
 
 AcValue (AcGePoint2d const &)
 
 AcValue (AcGePoint3d const &)
 
 AcValue (AcValue const &)
 
 AcValue (double)
 
 AcValue (double, double)
 
 AcValue (double, double, double)
 
 AcValue (DataType)
 
 AcValue (long)
 
 AcValue (_SYSTEMTIME const &)
 
 AcValue (resbuf const &)
 
 AcValue (tagVARIANT const &)
 
 AcValue (void const *, unsigned long)
 
 AcValue (void)
 
 AcValue (wchar_t const *)
 
 operator __int64 (void) const
 
 operator AcDbObjectId (void) const
 
 operator AcGePoint2d (void) const
 
 operator AcGePoint3d (void) const
 
 operator double (void) const
 
 operator long (void) const
 
 operator wchar_t const * (void) const
 
bool convertTo (DataType, UnitType)
 
bool convertTo (DataType, UnitType, bool)
 
bool format (wchar_t *&) const
 
bool format (wchar_t const *, wchar_t *&) const
 
bool get (__int64 &) const
 
bool get (AcCmColor &) const
 
bool get (AcDbEvalVariant &) const
 
bool get (AcDbObjectId &) const
 
bool get (AcGePoint2d &) const
 
bool get (AcGePoint3d &) const
 
bool get (double &) const
 
bool get (double &, double &) const
 
bool get (double &, double &, double &) const
 
bool get (long &) const
 
bool get (_SYSTEMTIME &) const
 
bool get (resbuf **) const
 
bool get (tagVARIANT &) const
 
bool get (void *&, unsigned long &) const
 
bool get (wchar_t *&) const
 
bool get (wchar_t const *&) const
 
bool isValid (void) const
 
bool operator!= (AcValue const &) const
 
bool operator== (AcValue const &) const
 
bool parse (wchar_t const *, DataType, UnitType, wchar_t const *, ParseOption, AcDbObjectId const *)
 
bool reset (DataType)
 
bool reset (void)
 
bool resetValue (void)
 
bool set (__int64 const &)
 
bool set (AcCmColor const &)
 
bool set (AcDbEvalVariant const &)
 
bool set (AcDbObjectId const &)
 
bool set (AcGePoint2d const &)
 
bool set (AcGePoint3d const &)
 
bool set (AcValue const &)
 
bool set (double)
 
bool set (double, double)
 
bool set (double, double, double)
 
bool set (DataType, wchar_t const *)
 
bool set (long)
 
bool set (_SYSTEMTIME const &)
 
bool set (resbuf const &)
 
bool set (tagVARIANT const &)
 
bool set (void const *, unsigned long)
 
bool set (wchar_t const *)
 
bool setFormat (wchar_t const *)
 
bool setUnitType (UnitType)
 
AcString format (FormatOption)
 
AcString format (wchar_t const *) const
 
AcString format (wchar_t const *, FormatOption)
 
AcValueoperator= (__int64)
 
AcValueoperator= (AcCmColor const &)
 
AcValueoperator= (AcDbEvalVariant const &)
 
AcValueoperator= (AcDbObjectId const &)
 
AcValueoperator= (AcGePoint2d const &)
 
AcValueoperator= (AcGePoint3d const &)
 
AcValueoperator= (AcValue const &)
 
AcValueoperator= (double)
 
AcValueoperator= (long)
 
AcValueoperator= (resbuf const &)
 
AcValueoperator= (tagVARIANT const &)
 
AcValueoperator= (wchar_t const *)
 
DataType dataType (void) const
 
UnitType unitType (void) const
 
Acad::ErrorStatus dwgInFields (AcDbDwgFiler *)
 
Acad::ErrorStatus dwgOutFields (AcDbDwgFiler *) const
 
Acad::ErrorStatus dxfInFields (AcDbDxfFiler *)
 
Acad::ErrorStatus dxfOutFields (AcDbDxfFiler *) const
 
virtual ~AcValue (void)
 
virtual int isEqualTo (AcRxObject const *) const
 
wchar_t const * format (void) const
 
wchar_t const * getFormat (void) const
 
- Public Member Functions inherited from AcRxObject
virtual AcRxObjectqueryX (AcRxClass const *) const
 
AcRxObjectx (AcRxClass const *) const
 
virtual AcRxClassisA (void) const
 
virtual AcRxObjectclone (void) const
 
virtual AcRx::Ordering comparedTo (AcRxObject const *) const
 
virtual Acad::ErrorStatus copyFrom (AcRxObject const *)
 
bool isKindOf (const AcRxClass *pOtherClass) const
 
virtual ~AcRxObject (void)
 
- Public Member Functions inherited from AcRTTIObject
 AcRTTIObject ()
 
virtual ~AcRTTIObject ()
 
- Public Member Functions inherited from AcObject
 AcObject ()
 
 AcObject (const AcObject &source)
 
virtual ~AcObject ()
 
voiddata () const
 

Static Public Member Functions

static bool __cdecl isValidDataType (tagVARIANT const &)
 
- Static Public Member Functions inherited from AcRxObject
static AcRxClass *__cdecl desc (void)
 
static AcRxObject *__cdecl cast (AcRxObject const *)
 

Additional Inherited Members

- Protected Member Functions inherited from AcRxObject
 AcRxObject (void)
 
virtual AcRxObjectsubQueryX (AcRxClass const *) const
 
- Protected Attributes inherited from AcObject
voidm_pData
 

Detailed Description

Definition at line 34 of file AcValue.h.

Member Enumeration Documentation

◆ DataType

Enumerator
kUnknown 
kLong 
kDouble 
kString 
kDate 
kPoint 
k3dPoint 
kObjectId 
kBuffer 
kResbuf 
kGeneral 

Definition at line 37 of file AcValue.h.

◆ FormatOption

Enumerator
kFormatOptionNone 
kForEditing 
kForExpression 
kUseMaximumPrecision 
kIgnoreMtextFormat 

Definition at line 51 of file AcValue.h.

◆ ParseOption

Enumerator
kParseOptionNone 
kSetDefaultFormat 
kPreserveMtextFormat 

Definition at line 59 of file AcValue.h.

◆ UnitType

Enumerator
kUnitless 
kDistance 
kAngle 
kArea 
kVolume 

Definition at line 65 of file AcValue.h.

Constructor & Destructor Documentation

◆ AcValue() [1/18]

AcValue::AcValue ( __int64 const & )

◆ AcValue() [2/18]

AcValue::AcValue ( AcCmColor const & )

◆ AcValue() [3/18]

AcValue::AcValue ( AcDbEvalVariant const & )

◆ AcValue() [4/18]

AcValue::AcValue ( AcDbObjectId const & )

◆ AcValue() [5/18]

AcValue::AcValue ( AcGePoint2d const & )

◆ AcValue() [6/18]

AcValue::AcValue ( AcGePoint3d const & )

◆ AcValue() [7/18]

AcValue::AcValue ( AcValue const & )

◆ AcValue() [8/18]

AcValue::AcValue ( double )

◆ AcValue() [9/18]

AcValue::AcValue ( double ,
double  )

◆ AcValue() [10/18]

AcValue::AcValue ( double ,
double ,
double  )

◆ AcValue() [11/18]

AcValue::AcValue ( DataType )

◆ AcValue() [12/18]

AcValue::AcValue ( long )

◆ AcValue() [13/18]

AcValue::AcValue ( _SYSTEMTIME const & )

◆ AcValue() [14/18]

AcValue::AcValue ( resbuf const & )

◆ AcValue() [15/18]

AcValue::AcValue ( tagVARIANT const & )

◆ AcValue() [16/18]

AcValue::AcValue ( void const * ,
unsigned long  )

◆ AcValue() [17/18]

AcValue::AcValue ( void )

◆ AcValue() [18/18]

AcValue::AcValue ( wchar_t const * )

◆ ~AcValue()

virtual AcValue::~AcValue ( void )
virtual

Member Function Documentation

◆ convertTo() [1/2]

bool AcValue::convertTo ( DataType ,
UnitType  )

◆ convertTo() [2/2]

bool AcValue::convertTo ( DataType ,
UnitType ,
bool  )

◆ dataType()

DataType AcValue::dataType ( void ) const

◆ dwgInFields()

Acad::ErrorStatus AcValue::dwgInFields ( AcDbDwgFiler * )

◆ dwgOutFields()

Acad::ErrorStatus AcValue::dwgOutFields ( AcDbDwgFiler * ) const

◆ dxfInFields()

Acad::ErrorStatus AcValue::dxfInFields ( AcDbDxfFiler * )

◆ dxfOutFields()

Acad::ErrorStatus AcValue::dxfOutFields ( AcDbDxfFiler * ) const

◆ format() [1/6]

AcString AcValue::format ( FormatOption )

◆ format() [2/6]

wchar_t const * AcValue::format ( void ) const

◆ format() [3/6]

bool AcValue::format ( wchar_t *& ) const

◆ format() [4/6]

AcString AcValue::format ( wchar_t const * ) const

◆ format() [5/6]

AcString AcValue::format ( wchar_t const * ,
FormatOption  )

◆ format() [6/6]

bool AcValue::format ( wchar_t const * ,
wchar_t *&  ) const

◆ get() [1/16]

bool AcValue::get ( __int64 & ) const

◆ get() [2/16]

bool AcValue::get ( _SYSTEMTIME & ) const

◆ get() [3/16]

bool AcValue::get ( AcCmColor & ) const

◆ get() [4/16]

bool AcValue::get ( AcDbEvalVariant & ) const

◆ get() [5/16]

bool AcValue::get ( AcDbObjectId & ) const

◆ get() [6/16]

bool AcValue::get ( AcGePoint2d & ) const

◆ get() [7/16]

bool AcValue::get ( AcGePoint3d & ) const

◆ get() [8/16]

bool AcValue::get ( double & ) const

◆ get() [9/16]

bool AcValue::get ( double & ,
double &  ) const

◆ get() [10/16]

bool AcValue::get ( double & ,
double & ,
double &  ) const

◆ get() [11/16]

bool AcValue::get ( long & ) const

◆ get() [12/16]

bool AcValue::get ( resbuf ** ) const

◆ get() [13/16]

bool AcValue::get ( tagVARIANT & ) const

◆ get() [14/16]

bool AcValue::get ( void *& ,
unsigned long &  ) const

◆ get() [15/16]

bool AcValue::get ( wchar_t *& ) const

◆ get() [16/16]

bool AcValue::get ( wchar_t const *& ) const

◆ getFormat()

wchar_t const * AcValue::getFormat ( void ) const

◆ isEqualTo()

virtual int AcValue::isEqualTo ( AcRxObject const * ) const
virtual

Reimplemented from AcRxObject.

◆ isValid()

bool AcValue::isValid ( void ) const

◆ isValidDataType()

static bool __cdecl AcValue::isValidDataType ( tagVARIANT const & )
static

◆ operator __int64()

AcValue::operator __int64 ( void ) const

◆ operator AcDbObjectId()

AcValue::operator AcDbObjectId ( void ) const

◆ operator AcGePoint2d()

AcValue::operator AcGePoint2d ( void ) const

◆ operator AcGePoint3d()

AcValue::operator AcGePoint3d ( void ) const

◆ operator double()

AcValue::operator double ( void ) const

◆ operator long()

AcValue::operator long ( void ) const

◆ operator wchar_t const *()

AcValue::operator wchar_t const * ( void ) const

◆ operator!=()

bool AcValue::operator!= ( AcValue const & ) const

◆ operator=() [1/12]

AcValue & AcValue::operator= ( __int64 )

◆ operator=() [2/12]

AcValue & AcValue::operator= ( AcCmColor const & )

◆ operator=() [3/12]

AcValue & AcValue::operator= ( AcDbEvalVariant const & )

◆ operator=() [4/12]

AcValue & AcValue::operator= ( AcDbObjectId const & )

◆ operator=() [5/12]

AcValue & AcValue::operator= ( AcGePoint2d const & )

◆ operator=() [6/12]

AcValue & AcValue::operator= ( AcGePoint3d const & )

◆ operator=() [7/12]

AcValue & AcValue::operator= ( AcValue const & )

◆ operator=() [8/12]

AcValue & AcValue::operator= ( double )

◆ operator=() [9/12]

AcValue & AcValue::operator= ( long )

◆ operator=() [10/12]

AcValue & AcValue::operator= ( resbuf const & )

◆ operator=() [11/12]

AcValue & AcValue::operator= ( tagVARIANT const & )

◆ operator=() [12/12]

AcValue & AcValue::operator= ( wchar_t const * )

◆ operator==()

bool AcValue::operator== ( AcValue const & ) const

◆ parse()

bool AcValue::parse ( wchar_t const * ,
DataType ,
UnitType ,
wchar_t const * ,
ParseOption ,
AcDbObjectId const *  )

◆ reset() [1/2]

bool AcValue::reset ( DataType )

◆ reset() [2/2]

bool AcValue::reset ( void )

◆ resetValue()

bool AcValue::resetValue ( void )

◆ set() [1/17]

bool AcValue::set ( __int64 const & )

◆ set() [2/17]

bool AcValue::set ( _SYSTEMTIME const & )

◆ set() [3/17]

bool AcValue::set ( AcCmColor const & )

◆ set() [4/17]

bool AcValue::set ( AcDbEvalVariant const & )

◆ set() [5/17]

bool AcValue::set ( AcDbObjectId const & )

◆ set() [6/17]

bool AcValue::set ( AcGePoint2d const & )

◆ set() [7/17]

bool AcValue::set ( AcGePoint3d const & )

◆ set() [8/17]

bool AcValue::set ( AcValue const & )

◆ set() [9/17]

bool AcValue::set ( DataType ,
wchar_t const *  )

◆ set() [10/17]

bool AcValue::set ( double )

◆ set() [11/17]

bool AcValue::set ( double ,
double  )

◆ set() [12/17]

bool AcValue::set ( double ,
double ,
double  )

◆ set() [13/17]

bool AcValue::set ( long )

◆ set() [14/17]

bool AcValue::set ( resbuf const & )

◆ set() [15/17]

bool AcValue::set ( tagVARIANT const & )

◆ set() [16/17]

bool AcValue::set ( void const * ,
unsigned long  )

◆ set() [17/17]

bool AcValue::set ( wchar_t const * )

◆ setFormat()

bool AcValue::setFormat ( wchar_t const * )

◆ setUnitType()

bool AcValue::setUnitType ( UnitType )

◆ unitType()

UnitType AcValue::unitType ( void ) const

The documentation for this class was generated from the following file: