Whiteboard
An interface and tools for visualizing large and complex datasets
Classes | Macros | Typedefs | Functions
mutil.h File Reference
#include <string.h>
#include <stdio.h>

Go to the source code of this file.

Classes

class  CMString
 
class  IMStream
 
class  IMReadStream
 
class  IMWriteStream
 
class  IMLogSink
 
class  VerbositySetting
 
class  CMLog
 
class  TMValueVector< Item >
 
class  TMSTValueVector< Item >
 
class  TMFixedValueVector< Item, size >
 
class  TMIOFixedValueVector< Item, size >
 
class  TMSTFixedValueVector< Item, size >
 
class  TMValueVector< Item >
 
class  TMIOValueVector< Item >
 
class  TMSTValueVector< Item >
 
class  TMPtrList< Item, ChunkSize >
 
class  TMNoOwnPtrList< Item, ChunkSize >
 
class  TMIOPtrList< Item >
 
class  CMStringMap
 
class  CMTokenizer
 
class  CMAsciiReadFileStream
 
class  CMAsciiWriteFileStream
 
class  CMReadFileStream
 
class  CMWriteFileStream
 
class  CMException
 
class  TMBinaryArraySearcher< Item >
 
class  TMBinaryIndexSearcher< Item, Index >
 
class  CMFileHeader
 
class  CMStringDictionary
 

Macros

#define MDLLEXPORT
 
#define _TMCL
 
#define __mccl_strcpy   strcpy
 
#define __mccl_strcat   strcat
 
#define __mccl_strlen   strlen
 
#define __mccl_strcmp   strcmp
 
#define __mccl_strncmp   strncmp
 
#define __mccl_printf   printf
 
#define __mccl_sprintf   sprintf
 
#define __mccl_fopen   fopen
 
#define __mccl_fclose   fclose
 
#define __mccl_atoi   atoi
 
#define __mccl_fscanf   fscanf
 
#define __mccl_fgets   fgets
 
#define __mccl_fprintf   fprintf
 
#define __mccl_atof   atof
 
#define ML_ENDL   "\n"
 
#define MCL_TRY   try
 
#define INVALID_STRING_DICT_ID   -1
 

Typedefs

typedef char MCL_TCHAR
 
typedef TMSTValueVector< unsigned char > CMUInt8List
 
typedef TMSTValueVector< signed char > CMInt8List
 
typedef TMSTValueVector< char > CMCharList
 
typedef TMSTValueVector< unsigned short > CMUInt16List
 
typedef TMSTValueVector< unsigned long > CMUInt32List
 
typedef TMSTValueVector< short > CMInt16List
 
typedef TMSTValueVector< long > CMInt32List
 
typedef TMSTValueVector< int > CMIntList
 
typedef TMSTValueVector< double > CMDoubleList
 
typedef TMPtrList< CMStringCMPtrStringList
 
typedef TMValueVector< CMStringCMStringList
 
typedef TMPtrList< CMStringMapCMPtrStringMapList
 

Functions

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

Macro Definition Documentation

#define __mccl_atof   atof
#define __mccl_atoi   atoi
#define __mccl_fclose   fclose
#define __mccl_fgets   fgets
#define __mccl_fopen   fopen
#define __mccl_fprintf   fprintf
#define __mccl_fscanf   fscanf
#define __mccl_printf   printf
#define __mccl_sprintf   sprintf
#define __mccl_strcat   strcat
#define __mccl_strcmp   strcmp
#define __mccl_strcpy   strcpy
#define __mccl_strlen   strlen
#define __mccl_strncmp   strncmp
#define _TMCL
#define INVALID_STRING_DICT_ID   -1
#define MCL_TRY   try
#define MDLLEXPORT
#define ML_ENDL   "\n"

Typedef Documentation

typedef TMSTValueVector<char> CMCharList
typedef TMSTValueVector<double> CMDoubleList
typedef TMSTValueVector<short> CMInt16List
typedef TMSTValueVector<signed char> CMInt8List
typedef TMSTValueVector<int> CMIntList
typedef TMSTValueVector<unsigned short> CMUInt16List
typedef TMSTValueVector<unsigned long> CMUInt32List
typedef TMSTValueVector<unsigned char> CMUInt8List
typedef char MCL_TCHAR

Function Documentation

void __mccl_tolwr ( MCL_TCHAR szText)
void __mccl_toupr ( MCL_TCHAR szText)
MDLLEXPORT bool AddUTF8Sig ( CMString string)
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 = true)
MDLLEXPORT void MCLSetUTF8Encode ( bool  b = true)
MDLLEXPORT void MLog ( const MCL_TCHAR szText,
bool  bLineFeed = true 
)
MDLLEXPORT void MLog ( const MCL_TCHAR szText,
long  val,
bool  bLineFeed = true 
)
MDLLEXPORT void MLog ( const MCL_TCHAR szText,
const MCL_TCHAR szText2,
bool  bLineFeed = true 
)
MDLLEXPORT CMLog& mlog ( )
MDLLEXPORT bool RemoveUTF8Sig ( CMString string)
MDLLEXPORT void SetLogSink ( IMLogSink p)
MDLLEXPORT void SetMemoryManage ( bool  b = true)
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 = 0x7FFFFFFF 
)