#include <libdj.h>
Public Methods | |
CLibDj () | |
Empty constructor. More... | |
~CLibDj () | |
Empty destructor. More... | |
int | stoi (string s) |
Converts a string to an int. More... | |
string | itos (int i) |
Converts an int to a string. More... | |
int | validateText (char c, int flags) |
Validates c against the VA_* flags. More... | |
int | validateText (char c, string valid_chars) |
Validates c against the given char-string. More... | |
int | validateText (string text, int flags) |
Validates the string text against the given VA_* flags. More... | |
int | validateText (string text, string valid_chars) |
Validates the string text against the given char string. More... | |
string | cleanText (string text, int flags) |
Removes all non-valid chars from the string text. More... | |
string | cleanText (string text, string valid_chars) |
Removes all chars not in valid_chars from text. More... | |
string | breakString (string &incoming, string delim) |
Breaks the first field off a string delimited by delim and returns it. More... | |
Public Attributes | |
CTextScreen | TextScreen |
CGfxScreen | LCDScreen |
CGfxScreen | TouchScreen |
CMP3Player | MP3Player |
CCellPhone | CellPhone |
Class to be instantiated once that contains instances of the other libdj support classes
|
Empty constructor. FILE libdj.h
DESCRIPTION dijinni support library |
|
Empty destructor.
|
|
Breaks the first field off a string delimited by delim and returns it.
|
|
Removes all chars not in valid_chars from text.
|
|
Removes all non-valid chars from the string text.
|
|
Converts an int to a string. The same as itoa() but uses STL strings
|
|
Converts a string to an int. The same as atoi() but uses STL strings
|
|
Validates the string text against the given char string.
|
|
Validates the string text against the given VA_* flags.
|
|
Validates c against the given char-string.
|
|
Validates c against the VA_* flags.
|
|
|
|
|
|
|
|
|
|
|