#include <string>#include <sigc++/signal.h>Go to the source code of this file.
Classes | |
| class | pos |
| struct | pos_cmp |
Defines | |
| #define | nmin(a, b) (((a)<(b)?(a):(b)) |
| #define | nmax(a, b) (((a)>(b)?(a):(b)) |
Functions | |
| int | toint (char *s) |
| int | toint (std::string s) |
| std::string | tostr (long l) |
| std::string | tostr (int i) |
| long | tolong (char *s) |
| long | tolong (std::string s) |
| std::string | ncpy (int n, std::string s) |
| std::string | split (std::string *parm, std::string txt) |
| std::string | filename (std::string fname) |
| bool | isfile (std::string fname) |
| void | directory (std::string dir, sigc::signal< void, std::string > handler) |
| #define nmax | ( | a, | |||
| b | ) | (((a)>(b)?(a):(b)) |
| #define nmin | ( | a, | |||
| b | ) | (((a)<(b)?(a):(b)) |
| void directory | ( | std::string | dir, | |
| sigc::signal< void, std::string > | handler | |||
| ) |
| std::string filename | ( | std::string | fname | ) |
| fname | the filename possibly including ~ |
| bool isfile | ( | std::string | fname | ) |
| fname | check if this is a regular file |
| std::string ncpy | ( | int | n, | |
| std::string | s | |||
| ) |
| std::string split | ( | std::string * | parm, | |
| std::string | txt | |||
| ) |
| int toint | ( | std::string | s | ) |
| int toint | ( | char * | s | ) |
| long tolong | ( | std::string | s | ) |
| long tolong | ( | char * | s | ) |
| std::string tostr | ( | int | i | ) |
| std::string tostr | ( | long | l | ) |
Generated on Tue Jan 1 17:30:01 2008 for general/util.h File Reference by
Visit the project page on