klMatrix
Data Structures | Macros | Typedefs | Enumerations | Functions
kl_util.h File Reference
#include <windows.h>
#include <map>
#include <assert.h>
#include "float.h"
#include <intrin.h>
#include "kl_exception.h"
#include <process.h>
Include dependency graph for kl_util.h:
This graph shows which files directly or indirectly include this file:

Data Structures

class  klGuard< TYPE >
 
class  klRefCount< TYPE_MUTEX >
 
class  klMutex
 
class  klFlotingPointHelper
 
class  klThreadMap
 
class  klThread< TYPE_MUTEX >
 
class  klConstSmartPtr< TYPE >
 
class  klSmartPtr< TYPE >
 
class  klTimer
 

Macros

#define GetBit(var, bit)   ((var & (1 << bit)) != 0)
 
#define SetBit(var, bit)   (var |= (1 << bit))
 
#define FlipBit(var, bit)   (var ^= (1 << bit))
 

Typedefs

typedef unsigned long klThreadId
 

Enumerations

enum  klTestType {
  SMALL =0, MEDIUM =1, LARGE =2, VERYLARGE =3,
  GROW =4
}
 

Functions

template<class TYPE >
bool operator== (const TYPE *optr, const klConstSmartPtr< TYPE > &sp)
 
template<class TYPE >
bool operator!= (const TYPE *optr, const klConstSmartPtr< TYPE > &sp)
 
template<class TYPE >
bool operator< (const TYPE *optr, const klConstSmartPtr< TYPE > &sp)
 

Macro Definition Documentation

#define FlipBit (   var,
  bit 
)    (var ^= (1 << bit))
#define GetBit (   var,
  bit 
)    ((var & (1 << bit)) != 0)
#define SetBit (   var,
  bit 
)    (var |= (1 << bit))

Typedef Documentation

typedef unsigned long klThreadId

Enumeration Type Documentation

enum klTestType
Enumerator
SMALL 
MEDIUM 
LARGE 
VERYLARGE 
GROW 

Function Documentation

template<class TYPE >
bool operator!= ( const TYPE *  optr,
const klConstSmartPtr< TYPE > &  sp 
)
inline

Here is the call graph for this function:

template<class TYPE >
bool operator< ( const TYPE *  optr,
const klConstSmartPtr< TYPE > &  sp 
)
inline
template<class TYPE >
bool operator== ( const TYPE *  optr,
const klConstSmartPtr< TYPE > &  sp 
)
inline

Here is the call graph for this function: