Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

gbio::functions Namespace Reference

String manipulation functions. More...


Functions

unsigned int HashToUInt (const char *pS)
 Function hashes a string to unsigned int.

unsigned int HashToUInt (const std::string &s)
 Function hashes a string to unsigned int.

void Base (const char *pFilename, char *opBase)
 Retrieve the basename of a filename.

void Base (const std::string &filename, std::string &oBase)
 Retrieve the basename of a filename.

void Extension (const char *pFilename, char *opExt)
 Retrieve the extension of a filename.

void Extension (const std::string &filename, std::string &oExt)
 Retrieve the extension of a filename.


Detailed Description

String manipulation functions.

Function Documentation

void gbio::functions::Extension const std::string &    filename,
std::string &    oExt
[inline]
 

Retrieve the extension of a filename.

Remarks:
filename Assumes extension is the last 3 characters.

void gbio::functions::Extension const char *    pFilename,
char *    opExt
[inline]
 

Retrieve the extension of a filename.

Todo:
Change Extension() functions so that extensions can be of arbitrary length, and filenames can have multiple periods.

Remarks:
pFilename Assumes extension is the last 3 characters.


Generated on Mon Sep 2 14:52:33 2002 for GunBuster Engine by doxygen1.2.17