|
cdb::Field − |
|
#include <cdbField.h> |
|
Public Types |
|
enum Type { tyNull = 0, tyAny = 1, tyString = 2, tyOctet = 3, tyBoolean = 4, tyShort = 5, tyLong = 6, tyLongLong = 7, tyUShort = 8, tyULong = 9, tyULongLong = 10, tyFloat = 11, tyDouble = 12, tyArray = 13, tyAnyArray = 14, tyStringArray = 15, tyOctetArray = 16, tyShortArray = 17, tyLongArray = 18, tyLongLongArray = 19, tyUShortArray = 20, tyULongArray = 21, tyULongLongArray = 22, tyFloatArray = 23, tyDoubleArray = 24 } |
|
Public Member Functions |
|
Field (Type ty, ULong nBound=0) |
|
Field () |
|
Field (const Field &fld) |
|
Field (const Any &) |
|
Field (const String &) |
|
Field (Octet) |
|
Field (Short) |
|
Field (Long) |
|
Field (LongLong) |
|
Field (UShort) |
|
Field (ULong) |
|
Field (ULongLong) |
|
Field (Float) |
|
Field (Double) |
|
Field (const AnyArray &) |
|
Field (const StringArray &) |
|
Field (const OctetArray &) |
|
Field (const ShortArray &) |
|
Field (const LongArray &) |
|
Field (const LongLongArray &) |
|
Field (const UShortArray &) |
|
Field (const ULongArray &) |
|
Field (const ULongLongArray &) |
|
Field (const FloatArray &) |
|
Field (const DoubleArray &) |
|
Field & operator= (const Field &) |
|
~Field () |
|
Boolean SetType (Type ty, ULong ulBound=0) |
|
Type GetType () const |
|
ULong GetBound () const |
|
ULong IsNull () const |
|
Boolean GetOctet (Octet &) const |
|
Boolean GetString (String &) const |
|
Boolean getValue (String &) const |
|
Boolean GetBoolean (Boolean &) const |
|
Boolean GetShort (Short &) const |
|
Boolean GetLong (Long &) const |
|
Boolean getValue (Long &) const |
|
Boolean GetLongLong (LongLong &) const |
|
Boolean getValue (LongLong &val) const |
|
Boolean GetUShort (UShort &) const |
|
Boolean GetULong (ULong &) const |
|
Boolean getValue (ULong &) const |
|
Boolean GetULongLong (ULongLong &) const |
|
Boolean getValue (ULongLong &val) const |
|
Boolean GetFloat (Float &) const |
|
Boolean getValue (Float &) const |
|
Boolean GetDouble (Double &) const |
|
Boolean getValue (Double &) const |
|
Boolean GetStringArray (StringArray &) const |
|
Boolean GetOctetArray (OctetArray &) const |
|
Boolean GetShortArray (ShortArray &) const |
|
Boolean GetLongArray (LongArray &) const |
|
Boolean GetLongLongArray (LongLongArray &) const |
|
Boolean GetUShortArray (UShortArray &) const |
|
Boolean GetULongArray (ULongArray &) const |
|
Boolean GetULongLongArray (ULongLongArray &) const |
|
Boolean GetFloatArray (FloatArray &) const |
|
Boolean GetDoubleArray (DoubleArray &) const |
|
Boolean getValue (DoubleArray &) const |
|
StringArray * GetStringArray () |
|
LongArray * GetLongArray () |
|
Field operator[] (ULong idx) const |
|
Boolean GetAny (Any &) const |
|
Boolean GetAnyArray (AnyArray &) const |
|
Boolean SetString (const String &) |
|
Boolean SetOctet (Octet) |
|
Boolean SetBoolean (Boolean) |
|
Boolean SetShort (Short) |
|
Boolean SetLong (Long) |
|
Boolean SetLongLong (LongLong) |
|
Boolean SetUShort (UShort) |
|
Boolean SetULong (ULong) |
|
Boolean SetULongLong (ULongLong) |
|
Boolean SetFloat (Float) |
|
Boolean SetDouble (Double) |
|
Boolean SetStringArray (const StringArray &) |
|
Boolean SetOctetArray (const OctetArray &) |
|
Boolean SetShortArray (const ShortArray &) |
|
Boolean SetLongArray (const LongArray &) |
|
Boolean SetLongLongArray (const LongLongArray &) |
|
Boolean SetUShortArray (const UShortArray &) |
|
Boolean SetULongArray (const ULongArray &) |
|
Boolean SetULongLongArray (const ULongLongArray &) |
|
Boolean SetFloatArray (const FloatArray &) |
|
Boolean SetDoubleArray (const DoubleArray &) |
|
Boolean SetAny (const Any &) |
|
Boolean SetAnyArray (const AnyArray &) |
|
Boolean ToString (String &, Boolean bType=1) const |
|
Boolean FromString (const String &) |
|
Static Public Attributes |
|
static const Field Null |
|
static const Field Nonexistent |
|
Protected Member Functions |
|
Boolean Convert (Octet &val) const |
|
Boolean Convert (Short &val) const |
|
Boolean Convert (Long &val) const |
|
Boolean Convert (LongLong &val) const |
|
Boolean Convert (UShort &val) const |
|
Boolean Convert (ULong &val) const |
|
Boolean Convert (ULongLong &val) const |
|
Boolean Convert (Float &val) const |
|
Boolean Convert (Double &val) const |
|
Boolean Convert (StringArray &val) const |
|
Boolean Convert (LongArray &val) const |
|
Boolean Convert (DoubleArray &val) const |
|
Protected Attributes |
|
Type m_ty |
|
union { |
|
Octet m_inline [8] |
|
struct { |
|
ULong m_ulBound |
|
void * m_pointer |
|
} ptr |
|
ULong m_ulWhyNull |
|
}; |
|
enum cdb::Field::Type |
|
Enumerator: |
|
tyNull |
||
|
tyAny |
|
tyString |
|
tyOctet |
|
tyBoolean |
|
tyShort |
|
tyLong |
|
tyLongLong |
|
tyUShort |
|
tyULong |
|
tyULongLong |
|
tyFloat |
|
tyDouble |
|
tyArray |
|
tyAnyArray |
|
tyStringArray |
|
tyOctetArray |
|
tyShortArray |
|
tyLongArray |
|
tyLongLongArray |
|
tyUShortArray |
|
tyULongArray |
|
tyULongLongArray |
|
tyFloatArray |
|
tyDoubleArray |
|
cdb::Field::Field (Type ty, ULong nBound = 0) |
|
cdb::Field::Field () |
|
cdb::Field::Field (const Field & fld) |
|
cdb::Field::Field (const Any &) |
|
cdb::Field::Field (const String &) |
|
cdb::Field::Field (Octet) |
|
cdb::Field::Field (Short) |
|
cdb::Field::Field (Long) |
|
cdb::Field::Field (LongLong) |
|
cdb::Field::Field (UShort) |
|
cdb::Field::Field (ULong) |
|
cdb::Field::Field (ULongLong) |
|
cdb::Field::Field (Float) |
|
cdb::Field::Field (Double) |
|
cdb::Field::Field (const AnyArray &) |
|
cdb::Field::Field (const StringArray &) |
|
cdb::Field::Field (const OctetArray &) |
|
cdb::Field::Field (const ShortArray &) |
|
cdb::Field::Field (const LongArray &) |
|
cdb::Field::Field (const LongLongArray &) |
|
cdb::Field::Field (const UShortArray &) |
|
cdb::Field::Field (const ULongArray &) |
|
cdb::Field::Field (const ULongLongArray &) |
|
cdb::Field::Field (const FloatArray &) |
|
cdb::Field::Field (const DoubleArray &) |
|
cdb::Field::~Field () |
|
Boolean cdb::Field::Convert (Octet & val) const [protected] |
|
Boolean cdb::Field::Convert (Short & val) const [protected] |
|
Boolean cdb::Field::Convert (LongArray & val) const [protected] |
|
Boolean cdb::Field::Convert (Long & val) const [protected] |
|
Boolean cdb::Field::Convert (LongLong & val) const [protected] |
|
Boolean cdb::Field::Convert (UShort & val) const [protected] |
|
Boolean cdb::Field::Convert (ULong & val) const [protected] |
|
Boolean cdb::Field::Convert (ULongLong & val) const [protected] |
|
Boolean cdb::Field::Convert (Float & val) const [protected] |
|
Boolean cdb::Field::Convert (Double & val) const [protected] |
|
Boolean cdb::Field::Convert (StringArray & val) const [protected] |
|
Boolean cdb::Field::Convert (DoubleArray & val) const [protected] |
|
Boolean cdb::Field::FromString (const String &) |
|
Boolean cdb::Field::GetAny (Any &) const |
|
Boolean cdb::Field::GetAnyArray (AnyArray &) const |
|
Boolean cdb::Field::GetBoolean (Boolean &) const |
|
ULong cdb::Field::GetBound () const [inline] |
|
Boolean cdb::Field::GetDouble (Double &) const |
|
Boolean cdb::Field::GetDoubleArray (DoubleArray &) const |
|
Boolean cdb::Field::GetFloat (Float &) const |
|
Boolean cdb::Field::GetFloatArray (FloatArray &) const |
|
Boolean cdb::Field::GetLong (Long &) const |
|
LongArray* cdb::Field::GetLongArray () |
|
Boolean cdb::Field::GetLongArray (LongArray &) const |
|
Boolean cdb::Field::GetLongLong (LongLong &) const |
|
Boolean cdb::Field::GetLongLongArray (LongLongArray &) const |
|
Boolean cdb::Field::GetOctet (Octet &) const |
|
Boolean cdb::Field::GetOctetArray (OctetArray &) const |
|
Boolean cdb::Field::GetShort (Short &) const |
|
Boolean cdb::Field::GetShortArray (ShortArray &) const |
|
Boolean cdb::Field::GetString (String &) const |
|
StringArray* cdb::Field::GetStringArray () |
|
Boolean cdb::Field::GetStringArray (StringArray &) const |
|
Type cdb::Field::GetType () const [inline] |
|
Boolean cdb::Field::GetULong (ULong &) const |
|
Boolean cdb::Field::GetULongArray (ULongArray &) const |
|
Boolean cdb::Field::GetULongLong (ULongLong &) const |
|
Boolean cdb::Field::GetULongLongArray (ULongLongArray &) const |
|
Boolean cdb::Field::GetUShort (UShort &) const |
|
Boolean cdb::Field::GetUShortArray (UShortArray &) const |
|
Boolean cdb::Field::getValue (ULong &) const |
|
Boolean cdb::Field::getValue (DoubleArray &) const |
|
Boolean cdb::Field::getValue (ULongLong & val) const [inline] |
|
Boolean cdb::Field::getValue (String &) const |
|
Boolean cdb::Field::getValue (Float &) const |
|
Boolean cdb::Field::getValue (Double &) const |
|
Boolean cdb::Field::getValue (Long &) const |
|
Boolean cdb::Field::getValue (LongLong & val) const [inline] |
|
ULong cdb::Field::IsNull () const [inline] |
|
Field& cdb::Field::operator= (const Field &) |
|
Field cdb::Field::operator[] (ULong idx) const |
|
Boolean cdb::Field::SetAny (const Any &) |
|
Boolean cdb::Field::SetAnyArray (const AnyArray &) |
|
Boolean cdb::Field::SetBoolean (Boolean) |
|
Boolean cdb::Field::SetDouble (Double) |
|
Boolean cdb::Field::SetDoubleArray (const DoubleArray &) |
|
Boolean cdb::Field::SetFloat (Float) |
|
Boolean cdb::Field::SetFloatArray (const FloatArray &) |
|
Boolean cdb::Field::SetLong (Long) |
|
Boolean cdb::Field::SetLongArray (const LongArray &) |
|
Boolean cdb::Field::SetLongLong (LongLong) |
|
Boolean cdb::Field::SetLongLongArray (const LongLongArray &) |
|
Boolean cdb::Field::SetOctet (Octet) |
|
Boolean cdb::Field::SetOctetArray (const OctetArray &) |
|
Boolean cdb::Field::SetShort (Short) |
|
Boolean cdb::Field::SetShortArray (const ShortArray &) |
|
Boolean cdb::Field::SetString (const String &) |
|
Boolean cdb::Field::SetStringArray (const StringArray &) |
|
Boolean cdb::Field::SetType (Type ty, ULong ulBound = 0) |
|
Boolean cdb::Field::SetULong (ULong) |
|
Boolean cdb::Field::SetULongArray (const ULongArray &) |
|
Boolean cdb::Field::SetULongLong (ULongLong) |
|
Boolean cdb::Field::SetULongLongArray (const ULongLongArray &) |
|
Boolean cdb::Field::SetUShort (UShort) |
|
Boolean cdb::Field::SetUShortArray (const UShortArray &) |
|
Boolean cdb::Field::ToString (String &, Boolean bType = 1) const |
|
union { ... } [protected] |
|
Octet cdb::Field::m_inline[8] |
|
void* cdb::Field::m_pointer |
|
Type cdb::Field::m_ty [protected] |
|
ULong cdb::Field::m_ulBound |
|
ULong cdb::Field::m_ulWhyNull |
|
const Field cdb::Field::Nonexistent [static] |
|
const Field cdb::Field::Null [static] |
|
struct { ... } cdb::Field::ptr |
|
Generated automatically by Doxygen for ACS-2016.2 C++ API from the source code. |