|
Membres publics |
| MyString () |
virtual | ~MyString () |
BOOL | IsEmpty () |
| MyString (char letter) |
| MyString (int integer) |
| MyString (long linteger) |
| MyString (float floating) |
| MyString (double lfloating) |
| MyString (char *string) |
| MyString (MyString &string) |
void | Zero () |
void | operator+= (char letter) |
void | operator+= (int integer) |
void | operator+= (long linteger) |
void | operator+= (float floating) |
void | operator+= (double lfloating) |
void | operator+= (char *string) |
void | operator+= (MyString &string) |
MyString & | operator= (char letter) |
MyString & | operator= (int integer) |
MyString & | operator= (long linteger) |
MyString & | operator= (float floating) |
MyString & | operator= (double lfloating) |
MyString & | operator= (char *string) |
MyString & | operator= (MyString &string) |
BOOL | operator== (char letter) |
BOOL | operator== (int integer) |
BOOL | operator== (long linteger) |
BOOL | operator== (float floating) |
BOOL | operator== (double lfloating) |
BOOL | operator== (char *string) |
BOOL | operator== (MyString &string) |
BOOL | operator!= (char letter) |
BOOL | operator!= (int integer) |
BOOL | operator!= (long linteger) |
BOOL | operator!= (float floating) |
BOOL | operator!= (double lfloating) |
BOOL | operator!= (char *string) |
BOOL | operator!= (MyString &string) |
BOOL | AddFormat (char *format,...) |
| Formate le text avec les parametre du printf().
|
BOOL | Format (char *format,...) |
long | ToInteger () |
float | ToFloat () |
double | ToDouble () |
char & | operator[] (int num) |
| Access a un element du text.
|
| operator char * () const |
void | SplitPath (MyString *drive, MyString *dir, MyString *file, MyString *ext, MyString *driveDir, MyString *fileExt) |
BOOL | SubStringBeforToken (int numSubString, MyString &result, char *lstToken) |
| Decomposition d'une chaine par un modele.
|
char * | GetValue (int index) |
BOOL | CopyTo (MyString &result, int index, int size) |
| Recopy d'une chaine.
|
BOOL | FormatToNoCtrl () |
BOOL | FormatToLower () |
BOOL | FormatToUpper () |
void | AddRepetitiveFormat (char *matrise, int nbCopy) |
BOOL | IsVisibleText () |
int | GetPositionFromLeft (int pos) |
| Transforme les positions.
|
int | GetPositionFromRight (int pos) |
BOOL | Delete (int pos, BOOL after, char letterToFind) |
| Efface a partir de la position, avant ou apres d'un certain nombre de caracter ou delimité par un lettre a rechercher ex.: .
|
BOOL | Delete (int pos, BOOL after, int nbLetter) |
BOOL | Add (int pos, BOOL after, char letter) |
| Ajoute un element a une position donnée.
|
BOOL | Add (int pos, BOOL after, int integer) |
BOOL | Add (int pos, BOOL after, long linteger) |
BOOL | Add (int pos, BOOL after, float floating) |
BOOL | Add (int pos, BOOL after, double lfloating) |
BOOL | Add (int pos, BOOL after, char *string) |
BOOL | Add (int pos, BOOL after, MyString &string) |
int | FindLetter (int pos, BOOL after, char letter) |
| Donne la position d'un lettre a partir de la pos de base dansla direction after avec comme model la letter.
|
int | FindLetter (char letter) |
| Donne la position d'un lettre a partir de la gauche.
|
MyString | Mids (int beginPos, int sizeToCopy) |
| Recopie la chaine a partir d'une postion et d'une taille donnée.
|
BOOL | IsBeginWith (char *model) |
| Test si le "model" est bien le debut du text.
|
char * | TestSubString (char *text, BOOL caseSensitive=TRUE) |
| Test si le text est contenu dans la chaine en cours caseSensitive: distingue les majuscule et minuscule.
|
void | EnterHexaNumber (int value) |
| Entre un nombre en hexadecimal.
|
void | EnterBinNumber (int value) |
| Entre un nombre en binaire.
|
void | Reverse () |
| Met a l'envert une chaine "abcde" ==> "edcba".
|
Attributs Publics |
char * | value |
long | size |
Membres privés |
void | Delete () |
BOOL | Resize () |
BOOL | Resize (int newSize, BOOL recopy=FALSE) |
Attributs Privés |
long | allocSize |
Amis (friends) |
MyString | operator+ (MyString &string, char letter) |
MyString | operator+ (char letter, MyString &string) |
MyString | operator+ (MyString &string, int integer) |
MyString | operator+ (int integer, MyString &string) |
MyString | operator+ (MyString &string, long linteger) |
MyString | operator+ (long linteger, MyString &string) |
MyString | operator+ (MyString &string, float floating) |
MyString | operator+ (float floating, MyString &string) |
MyString | operator+ (MyString &string, double lfloating) |
MyString | operator+ (double lfloating, MyString &string) |
MyString | operator+ (MyString &string1, char *string2) |
MyString | operator+ (char *string1, MyString &string2) |
MyString | operator+ (MyString &string1, MyString &string2) |
MyString & | operator<< (MyString &string, char letter) |
MyString & | operator<< (MyString &string, int integer) |
MyString & | operator<< (MyString &string, long linteger) |
MyString & | operator<< (MyString &string, float floating) |
MyString & | operator<< (MyString &string, double lfloating) |
MyString & | operator<< (MyString &string1, char *string2) |
MyString & | operator<< (MyString &string1, MyString &string2) |
MyString & | operator<< (MyString &in,FncManipulateur fnc) |
| Lance un manipulateurs.
|