Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

vcf/FoundationKit/FrameworkConfig.h File Reference


Namespaces

namespace  VCF

Defines

#define VCF_32
 Setup the 64-bit compilation environment macro.
#define VCF_COMPILER_NAME   ""
 Setup compiler names, and some compiler-specific warnings.
#define _W64
 Setup VCF_ miscellaneous macros.
#define VCF_LIT64(x)   (x##LL)
#define KEEP_NAMESPACE_IN_CLASSNAME
#define VCF_RTTI
#define NULL   0
#define _typename_   typename
 VCF code should use _typename_, and it gets set appropriately here.
#define CHAR_CONST(x)   x
 special macro for handling multi-character constants like 'abcd' which GCC is unhappy with :( The same is with BCC.
#define FOUNDATIONKIT_API
 Setup attributes for importing/exporting.
#define GRAPHICSKIT_API
#define APPLICATIONKIT_API
#define OPENGLKIT_API
#define NETKIT_API

Typedefs

typedef unsigned char VCF::uchar
typedef unsigned short VCF::ushort
typedef unsigned int VCF::uint
typedef unsigned long VCF::ulong
typedef signed char VCF::int8
typedef unsigned char VCF::uint8
typedef short VCF::int16
typedef unsigned short VCF::uint16
typedef int VCF::int32
typedef unsigned int VCF::uint32
typedef void * VCF::OSHandleID
 This is used as a wrapper around some platform object or handle.
typedef unsigned long long VCF::uint64
typedef long long VCF::int64
typedef _W64 int32 VCF::intptr
typedef _W64 uint32 VCF::uintptr

Functions

template<typename T>
const T & VCF::minVal (const T &x, const T &y)
template<typename T>
const T & VCF::maxVal (const T &x, const T &y)
int32 VCF::PtrToInt32 (const void *val)
 Truncates the given pointer to a 32-bit value.
uint32 VCF::PtrToUInt32 (const void *val)
 Truncates the given pointer to a 32-bit value.
uint32 VCF::getHi32 (uint64 val)
 This returns the top 32 bits of the number.
int32 VCF::getHi32 (int64 val)
 This returns the top 32 bits of the number.
uint32 VCF::getLo32 (uint64 val)
 This returns the low 32 bits of the number.
uint32 VCF::getLo32 (int64 val)
 This returns the low 32 bits of the number.
void VCF::setHi32 (uint64 &val, uint32 hi)
 This sets the top 32 bits of the number to the specified value.
void VCF::setHi32 (int64 &val, int32 hi)
 This sets the top 32 bits of the number to the specified value.
void VCF::setLo32 (uint64 &val, uint32 lo)
 This sets the low 32 bits of the number to the specified value.
void VCF::setLo32 (int64 &val, uint32 lo)
 This sets the low 32 bits of the number to the specified value.
uint64 VCF::makeUInt64 (uint32 hi, uint32 lo)
 Creates an unsigned 64 bit integer from the high and low 32 bit.
int64 VCF::makeInt64 (int32 hi, uint32 lo)
 Creates a signed 64 bit integer from the high and low 32 bit.

Define Documentation

#define _typename_   typename
 

VCF code should use _typename_, and it gets set appropriately here.

#define _W64
 

Setup VCF_ miscellaneous macros.

#define APPLICATIONKIT_API
 

#define CHAR_CONST  )     x
 

special macro for handling multi-character constants like 'abcd' which GCC is unhappy with :( The same is with BCC.

#define FOUNDATIONKIT_API
 

Setup attributes for importing/exporting.

#define GRAPHICSKIT_API
 

#define KEEP_NAMESPACE_IN_CLASSNAME
 

#define NETKIT_API
 

#define NULL   0
 

#define OPENGLKIT_API
 

#define VCF_32
 

Setup the 64-bit compilation environment macro.

We do not support LP32 and ILP64, since we assume that int is 32-bit always. ==================================================================== char short int long long long pointer ==================================================================== LP32: Win16 8 16 16 32 32 ILP64: Cray, ETA 8 16 64 64 64 --------------------------------------------------------------------

ILP32: Win32,Linux, 8 16 32 32 32 Solaris, HP, MacOS

LLP64: Win64 8 16 32 32 64

LP64: most UNIXes: 8 16 32 64 64 64 Solaris, AIX, HP, Linux, MacOS ====================================================================

#define VCF_COMPILER_NAME   ""
 

Setup compiler names, and some compiler-specific warnings.

#define VCF_LIT64  )     (x##LL)
 

#define VCF_RTTI
 

   Comments or Suggestions?    License Information