CUniversalParam Class Reference

Simple class that makes it possible to have parameters that can either be a pointer or an INT32 in a 64bit safe manner. More...

#include <ops.h>

List of all members.

Public Member Functions

 CUniversalParam ()
 CUniversalParam (void *p)
 CUniversalParam (INT32 l)
void * operator= (void *p)
INT32 operator= (INT32 l)
 operator void * ()
 operator INT32 ()


Detailed Description

Simple class that makes it possible to have parameters that can either be a pointer or an INT32 in a 64bit safe manner.

Author:
Luke_Hart (Xara Group Ltd) <camelotdev@xara.com>
Date:
14/10/05

Definition at line 243 of file ops.h.


Constructor & Destructor Documentation

CUniversalParam::CUniversalParam  )  [inline]
 

Definition at line 253 of file ops.h.

00253                       : m_pVal( NULL )
00254     {}

CUniversalParam::CUniversalParam void *  p  )  [inline]
 

Definition at line 255 of file ops.h.

00255                                : m_pVal( p )
00256     {}

CUniversalParam::CUniversalParam INT32  l  )  [inline]
 

Definition at line 257 of file ops.h.

00257                                : m_lVal( l )
00258     {}


Member Function Documentation

CUniversalParam::operator INT32  )  [inline]
 

Definition at line 273 of file ops.h.

00274     {
00275         return m_lVal;
00276     }

CUniversalParam::operator void *  )  [inline]
 

Definition at line 269 of file ops.h.

00270     {
00271         return m_pVal;
00272     }

INT32 CUniversalParam::operator= INT32  l  )  [inline]
 

Definition at line 264 of file ops.h.

00265     {
00266         return m_lVal = l;
00267     }

void* CUniversalParam::operator= void *  p  )  [inline]
 

Definition at line 260 of file ops.h.

00261     {
00262         return m_pVal = p;
00263     }


Member Data Documentation

INT32 CUniversalParam::m_lVal [private]
 

Definition at line 249 of file ops.h.

void* CUniversalParam::m_pVal [private]
 

Definition at line 248 of file ops.h.


The documentation for this class was generated from the following file:
Generated on Sat Nov 10 03:53:18 2007 for Camelot by  doxygen 1.4.4