Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

strmanip Class Reference

#include <strmanip.h>

List of all members.


Detailed Description

Strmanip singleton class.


Static Public Member Functions

void ToLowerCase (string &String)
 Converts a string to lower case.

void Replace (string &String, const string &OrigValue, const string &NewValue)
 Replace string inside of string.

void Replace (string &String, const char OrigValue, const char NewValue)
 Replace char inside of string.

string HexFormat (const unsigned char *pContent, const size_t ContentSize)
 Hexadecimal values of a piece of memory.

string HMS (const long long NumSeconds)
 Converts number to HMS formated String.

string StripComments (const string &String)
 Removes all comment lines in a string.


Member Function Documentation

void strmanip::ToLowerCase string &  String  )  [static]
 

Converts a string to lower case.

Parameters:
String: String to convert to lower case.

void strmanip::Replace string &  String,
const string &  OrigValue,
const string &  NewValue
[static]
 

Replace string inside of string.

Parameters:
String: String to convert.
OrigValue: String to find.
NewValue: string to replace with.

void strmanip::Replace string &  String,
const char  OrigValue,
const char  NewValue
[static]
 

Replace char inside of string.

Parameters:
String: String to be processed.
OrigValue: Character to find.
NewValue: Character to replace with.

string strmanip::HexFormat const unsigned char *  pContent,
const size_t  ContentSize
[static]
 

Hexadecimal values of a piece of memory.

Parameters:
pContent: Pointer to a piece of memory.
ContentSize: Size of memory to be translated.
Returns:
String with hex format.

string strmanip::HMS const long long  NumSeconds  )  [static]
 

Converts number to HMS formated String.

Parameters:
NumSeconds: Number of seconds.
Returns:
String with the HMS format.

string strmanip::StripComments const string &  String  )  [static]
 

Removes all comment lines in a string.

Parameters:
String: String with comments.
Note:
A comment is any line begining with the char '#'.


The documentation for this class was generated from the following files:
doxygen sourceforge id3lib