Whiteboard
An interface and tools for visualizing large and complex datasets
Classes | Macros | Functions | Variables
mutil.cc File Reference
#include "util/mutil.h"
#include <stdlib.h>
#include <iostream>

Classes

class  CMMemPage
 
class  CMMemoryManager
 
class  CLogClear
 

Macros

#define NDEBUG
 
#define PAGE_SIZE   131072
 
#define MLOGFILENAME   "mccllog.txt"
 
#define NO_LOG
 

Functions

CMMemoryManagerGetMemoryManager ()
 
MDLLEXPORT void ThrowException ()
 
MDLLEXPORT void ThrowException (const CMString &reason)
 
MDLLEXPORT void ThrowException (const CMString &comment, const CMString &reason)
 
MDLLEXPORT CMLogmlog ()
 
MDLLEXPORT void SetLogSink (IMLogSink *p)
 
MDLLEXPORT void MLog (const MCL_TCHAR *szText, bool bLineFeed)
 
MDLLEXPORT void MLog (const MCL_TCHAR *szText, long val, bool bLineFeed)
 
MDLLEXPORT void MLog (const MCL_TCHAR *szText, const MCL_TCHAR *szText2, bool bLineFeed)
 
MDLLEXPORT void SetMemoryManage (bool b)
 
void __mccl_tolwr (MCL_TCHAR *szText)
 
void __mccl_toupr (MCL_TCHAR *szText)
 
MDLLEXPORT void MCLSetCasing (bool b)
 
MDLLEXPORT void MCLSetUTF8Encode (bool b)
 
MDLLEXPORT bool MCLIsUTF8Encode ()
 
MDLLEXPORT bool Tokenize (CMPtrStringList &result, const CMString &source, char delimiter, long limit)
 
MDLLEXPORT bool GetNextToken (CMString &result, CMString &source, char delimiter)
 
MDLLEXPORT const char * GetUTF8Sig ()
 
MDLLEXPORT bool IsUTF8 (const CMString &string)
 
MDLLEXPORT bool RemoveUTF8Sig (CMString &string)
 
MDLLEXPORT bool AddUTF8Sig (CMString &string)
 

Variables

CMMemoryManager theMemMgr
 
CLogClear logClear
 
bool g_UseCasing = true
 
const long utf8SigLength = 3
 
const char utf8Signature []
 

Macro Definition Documentation

#define MLOGFILENAME   "mccllog.txt"
#define NDEBUG
#define NO_LOG
#define PAGE_SIZE   131072

Function Documentation

void __mccl_tolwr ( MCL_TCHAR szText)
void __mccl_toupr ( MCL_TCHAR szText)
MDLLEXPORT bool AddUTF8Sig ( CMString string)
CMMemoryManager & GetMemoryManager ( )
MDLLEXPORT bool GetNextToken ( CMString result,
CMString source,
char  delimiter 
)
MDLLEXPORT const char* GetUTF8Sig ( )
MDLLEXPORT bool IsUTF8 ( const CMString string)
MDLLEXPORT bool MCLIsUTF8Encode ( )
MDLLEXPORT void MCLSetCasing ( bool  b)
MDLLEXPORT void MCLSetUTF8Encode ( bool  b)
MDLLEXPORT CMLog& mlog ( )
MDLLEXPORT void MLog ( const MCL_TCHAR szText,
bool  bLineFeed 
)
MDLLEXPORT void MLog ( const MCL_TCHAR szText,
long  val,
bool  bLineFeed 
)
MDLLEXPORT void MLog ( const MCL_TCHAR szText,
const MCL_TCHAR szText2,
bool  bLineFeed 
)
MDLLEXPORT bool RemoveUTF8Sig ( CMString string)
MDLLEXPORT void SetLogSink ( IMLogSink p)
MDLLEXPORT void SetMemoryManage ( bool  b)
MDLLEXPORT void ThrowException ( )
MDLLEXPORT void ThrowException ( const CMString reason)
MDLLEXPORT void ThrowException ( const CMString comment,
const CMString reason 
)
MDLLEXPORT bool Tokenize ( CMPtrStringList result,
const CMString source,
char  delimiter,
long  limit 
)

Variable Documentation

bool g_UseCasing = true
CLogClear logClear
CMMemoryManager theMemMgr
const long utf8SigLength = 3
const char utf8Signature[]
Initial value:
= {
(char)0xef,
(char)0xbb,
(char)0xbf,
(char)0x00,
}