vmsVariantValue Struct Reference

#include <vmsDataFile.h>

List of all members.

Public Member Functions

 vmsVariantValue ()
 vmsVariantValue (const vmsVariantValue &vt)
 ~vmsVariantValue ()
vmsVariantValueType type ()
bool empty ()
 operator int () const
 operator double () const
 operator __int64 () const
 operator LPCSTR () const
 operator const LPBYTE () const
 operator LPBYTE ()
UINT bytebuffersize ()
void set (int i)
void set (__int64 i)
void set (double f)
void set (LPCSTR psz)
void set (const LPBYTE pb, UINT nSize)
int operator= (int i)
__int64 operator= (__int64 i)
double operator= (double f)
LPCSTR operator= (LPCSTR psz)
void clear ()
vmsVariantValueoperator= (const vmsVariantValue &vt)

Protected Attributes

vmsVariantValueType enType
union {
   int   iVal
   double   fVal
   __int64   i64Val
   LPSTR   pszVal
   struct {
      LPBYTE   pbVal
      UINT   nByteBufferSize
   } 
}; 


Detailed Description

Definition at line 26 of file vmsDataFile.h.


Constructor & Destructor Documentation

vmsVariantValue::vmsVariantValue (  )  [inline]

Definition at line 43 of file vmsDataFile.h.

References enType, and VVT_EMPTY.

Referenced by vmsVariantValue().

vmsVariantValue::vmsVariantValue ( const vmsVariantValue vt  )  [inline]

Definition at line 44 of file vmsDataFile.h.

References vmsVariantValue().

vmsVariantValue::~vmsVariantValue (  )  [inline]

Definition at line 46 of file vmsDataFile.h.

References clear().


Member Function Documentation

vmsVariantValueType vmsVariantValue::type (  )  [inline]

Definition at line 48 of file vmsDataFile.h.

References enType.

Referenced by empty(), and vmsDataFile::SaveToFile().

bool vmsVariantValue::empty (  )  [inline]

Definition at line 49 of file vmsDataFile.h.

References type(), and VVT_EMPTY.

vmsVariantValue::operator int (  )  const [inline]

Definition at line 51 of file vmsDataFile.h.

References ASSERT, enType, iVal, and VVT_INT.

vmsVariantValue::operator double (  )  const [inline]

Definition at line 52 of file vmsDataFile.h.

References ASSERT, enType, fVal, and VVT_DOUBLE.

vmsVariantValue::operator __int64 (  )  const [inline]

Definition at line 53 of file vmsDataFile.h.

References ASSERT, enType, i64Val, and VVT_INT64.

vmsVariantValue::operator LPCSTR (  )  const [inline]

Definition at line 54 of file vmsDataFile.h.

References ASSERT, enType, pszVal, and VVT_ASTRING.

vmsVariantValue::operator const LPBYTE (  )  const [inline]

Definition at line 55 of file vmsDataFile.h.

References ASSERT, enType, pbVal, and VVT_LPBYTE.

vmsVariantValue::operator LPBYTE (  )  [inline]

Definition at line 56 of file vmsDataFile.h.

References ASSERT, enType, pbVal, and VVT_LPBYTE.

UINT vmsVariantValue::bytebuffersize (  )  [inline]

Definition at line 57 of file vmsDataFile.h.

References nByteBufferSize.

Referenced by vmsDataFile::SaveToFile().

void vmsVariantValue::set ( int  i  )  [inline]

Definition at line 59 of file vmsDataFile.h.

References clear(), enType, iVal, and VVT_INT.

Referenced by vmsDataFile::LoadFromFile(), and vmsDataFile::set_Value().

void vmsVariantValue::set ( __int64  i  )  [inline]

Definition at line 60 of file vmsDataFile.h.

References clear(), enType, i64Val, and VVT_INT64.

void vmsVariantValue::set ( double  f  )  [inline]

Definition at line 61 of file vmsDataFile.h.

References clear(), enType, fVal, and VVT_DOUBLE.

void vmsVariantValue::set ( LPCSTR  psz  )  [inline]

Definition at line 62 of file vmsDataFile.h.

References clear(), enType, pszVal, and VVT_ASTRING.

void vmsVariantValue::set ( const LPBYTE  pb,
UINT  nSize 
) [inline]

Definition at line 66 of file vmsDataFile.h.

References clear(), enType, nByteBufferSize, pbVal, and VVT_LPBYTE.

int vmsVariantValue::operator= ( int  i  )  [inline]

Definition at line 72 of file vmsDataFile.h.

__int64 vmsVariantValue::operator= ( __int64  i  )  [inline]

Definition at line 73 of file vmsDataFile.h.

double vmsVariantValue::operator= ( double  f  )  [inline]

Definition at line 74 of file vmsDataFile.h.

LPCSTR vmsVariantValue::operator= ( LPCSTR  psz  )  [inline]

Definition at line 75 of file vmsDataFile.h.

void vmsVariantValue::clear (  )  [inline]

Definition at line 77 of file vmsDataFile.h.

References ASSERT, enType, pbVal, pszVal, VVT_ASTRING, VVT_DOUBLE, VVT_EMPTY, VVT_INT, VVT_INT64, and VVT_LPBYTE.

Referenced by operator=(), set(), and ~vmsVariantValue().

vmsVariantValue& vmsVariantValue::operator= ( const vmsVariantValue vt  )  [inline]


Member Data Documentation

Definition at line 31 of file vmsDataFile.h.

Referenced by operator int(), and set().

Definition at line 32 of file vmsDataFile.h.

Referenced by operator double(), and set().

Definition at line 33 of file vmsDataFile.h.

Referenced by operator __int64(), and set().

Definition at line 34 of file vmsDataFile.h.

Referenced by clear(), operator LPCSTR(), and set().

Definition at line 36 of file vmsDataFile.h.

Referenced by clear(), operator const LPBYTE(), operator LPBYTE(), and set().

Definition at line 37 of file vmsDataFile.h.

Referenced by bytebuffersize(), operator=(), and set().

union { ... } [protected]


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

Generated on Sun May 25 00:21:25 2008 by  doxygen 1.5.6