cWebshotsMisc.cpp File Reference


Detailed Description

Support functions for cWebshots.

Headers are defined in cWebshots.h

Definition in file cWebshotsMisc.cpp.

#include "cWebshots.h"
#include <cstdio>
#include <sstream>

Include dependency graph for cWebshotsMisc.cpp:

Go to the source code of this file.

Namespaces

namespace  cWebshots

Functions

string cWebshots::GetFileName (string path)
 Extracts the file name from a path.
string cWebshots::GetDirectory (string path)
 Extracts the directory from a path.
Webshots_Formats cWebshots::IdentifyFile (string File)
 Identifies the type of a file.
Webshots_Formats cWebshots::IdentifyFile (ifstream &in_file)
 Identifies the type of a file.
void cWebshots::Tokenize (const string &str, vector< string > &tokens, const string &delimiters=" ")
 Explode a string into a vector of strings, according to a delimiter.
string cWebshots::GetINI (const string &Data, const string &Section, const string &Field)
 Extracts the value of a couple section+field of an INI-like string.
string cWebshots::IntToStr (const int &i)
 Converts an integer into a string.
long cWebshots::StrToLong (const string &s)
 Converts a string into a long integer.


Generated on Tue Oct 25 14:36:30 2005 for cWebshots by  doxygen 1.4.5