My Documents/Codes/MD++.svn/trunk/src/general.cpp File Reference

#include "general.h"
#include <stdio.h>

Go to the source code of this file.

Functions

LFDStream _IO (0, 1)
LFDStream _Error (-1, 2)
unsigned UpdateCRC (unsigned crc, unsigned char *buf, int len)
const char * StrCaseStr (const char *s1, const char *s2)
const char * StrSkipSpaces (const char *str)
void StrSnipSpaces (char *str)
bool StrScanInt (const char *s, int &i)
bool StrScanLong (const char *s, long &i)
bool StrScanDouble (const char *s, double &d)
int StrNPrintf (char *str, int size, const char *fmt...)
int StrPrintf (char *str, const char *fmt...)

Variables

LFDStream _Null
const unsigned _CharTable [256]


Function Documentation

LFDStream _Error ( 1,
 
)

LFDStream _IO ( ,
 
)

const char* StrCaseStr ( const char *  s1,
const char *  s2 
)

Definition at line 286 of file general.cpp.

References ASSERT, and NULL.

int StrNPrintf ( char *  str,
int  size,
const char *  fmt... 
)

Definition at line 322 of file general.cpp.

int StrPrintf ( char *  str,
const char *  fmt... 
)

Definition at line 332 of file general.cpp.

Referenced by Unzip().

bool StrScanDouble ( const char *  s,
double &  d 
)

Definition at line 317 of file general.cpp.

bool StrScanInt ( const char *  s,
int &  i 
)

Definition at line 309 of file general.cpp.

bool StrScanLong ( const char *  s,
long &  i 
)

Definition at line 313 of file general.cpp.

const char* StrSkipSpaces ( const char *  str  ) 

Definition at line 295 of file general.cpp.

References ASSERT, and NULL.

void StrSnipSpaces ( char *  str  ) 

Definition at line 302 of file general.cpp.

unsigned UpdateCRC ( unsigned  crc,
unsigned char *  buf,
int  len 
)

Definition at line 47 of file general.cpp.


Variable Documentation

const unsigned _CharTable[256]

Definition at line 359 of file general.cpp.

LFDStream _Null

Definition at line 20 of file general.cpp.


Generated on Tue Oct 28 15:21:09 2008 for MD++ by  doxygen 1.5.7.1