#include <MyString.h>
Public Member Functions | |
| 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". | |
| long | GetSize () |
| char * | GetValue () |
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. | |
Ex.:
Definition at line 46 of file MyString.h.
|
|
Definition at line 40 of file MyString.cpp. References Zero(). |
|
|
Definition at line 55 of file MyString.h. References Delete(). |
|
|
Definition at line 46 of file MyString.cpp. |
|
|
Definition at line 52 of file MyString.cpp. |
|
|
Definition at line 58 of file MyString.cpp. |
|
|
Definition at line 64 of file MyString.cpp. |
|
|
Definition at line 70 of file MyString.cpp. |
|
|
Definition at line 76 of file MyString.cpp. References string. |
|
|
Definition at line 82 of file MyString.cpp. References string. |
|
||||||||||||||||
|
Definition at line 739 of file MyString.cpp. |
|
||||||||||||||||
|
Definition at line 735 of file MyString.cpp. |
|
||||||||||||||||
|
Definition at line 731 of file MyString.cpp. References BOOL(). |
|
||||||||||||||||
|
Definition at line 727 of file MyString.cpp. References BOOL(). |
|
||||||||||||||||
|
Definition at line 723 of file MyString.cpp. References BOOL(). |
|
||||||||||||||||
|
Definition at line 719 of file MyString.cpp. References BOOL(). |
|
||||||||||||||||
|
Ajoute un element a une position donnée. Ex.: Definition at line 708 of file MyString.cpp. References BOOL(), CopyTo(), GetPositionFromLeft(), and operator=(). |
|
||||||||||||
|
Formate le text avec les parametre du printf().
Definition at line 784 of file MyString.cpp. References BOOL(), buffer, format, len, and operator+=(). Referenced by OpenGL_TestError(), Picking::Test(), Window::ToString(), Univers::ToString(), TrackButton::ToString(), Title::ToString(), Tip::ToString(), TextBox::ToString(), Slider::ToString(), MasterContainer::ToString(), StateKey::ToString(), StateMouse::ToString(), Control::ToString(), Container::ToString(), and Button::ToString(). |
|
||||||||||||
|
Definition at line 637 of file MyString.cpp. References operator+=(). |
|
||||||||||||||||
|
Recopy d'une chaine.
Definition at line 526 of file MyString.cpp. References BOOL(), GetValue(), index, operator[](), and Resize(). Referenced by Add(), and SubStringBeforToken(). |
|
||||||||||||||||
|
Definition at line 689 of file MyString.cpp. References BOOL(), and GetPositionFromLeft(). |
|
||||||||||||||||
|
Efface a partir de la position, avant ou apres d'un certain nombre de caracter ou delimité par un lettre a rechercher ex.: .
Definition at line 681 of file MyString.cpp. References BOOL(), FindLetter(), and GetPositionFromLeft(). Referenced by operator=(), and ~MyString(). |
|
|
Entre un nombre en binaire.
Definition at line 874 of file MyString.cpp. References operator+=(), Reverse(), and Zero(). |
|
|
Entre un nombre en hexadecimal.
Definition at line 857 of file MyString.cpp. References operator+=(), Reverse(), and Zero(). |
|
|
Donne la position d'un lettre a partir de la gauche.
Definition at line 776 of file MyString.cpp. References FindLetter(). |
|
||||||||||||||||
|
Donne la position d'un lettre a partir de la pos de base dansla direction after avec comme model la letter.
Definition at line 752 of file MyString.cpp. References GetPositionFromLeft(). Referenced by Delete(), and FindLetter(). |
|
||||||||||||
|
Definition at line 813 of file MyString.cpp. References BOOL(), buffer, format, len, and operator=(). Referenced by AboutProc(), ControlEngine::DrawFPS(), ValueEditors::MakeElemControlStruct(), ValueEditors::MakeElemFaceStruct(), ValueEditors::MakeFontsStruct(), ValueEditors::MakeTexturesStruct(), Screen::MsgInfoType(), Tutorial::BaseDemo::OnWinMove(), Tutorial::BaseDemo::OnXSliderMove(), Tutorial::BaseDemo::OnYSliderMove(), OpenGL_TestError(), and Picking::Test(). |
|
|
Definition at line 598 of file MyString.cpp. References BOOL(). Referenced by TestSubString(). |
|
|
Definition at line 583 of file MyString.cpp. References BOOL(). |
|
|
Definition at line 612 of file MyString.cpp. References BOOL(). |
|
|
Transforme les positions. ex.:
Definition at line 659 of file MyString.cpp. Referenced by Add(), Delete(), FindLetter(), and operator[](). |
|
|
Definition at line 665 of file MyString.cpp. |
|
|
Definition at line 30 of file MyString.cpp. Referenced by Text3D::AnalyseLex(), Text3D::ComputeLineSize(), MyRegistry::GetValue(), ValueEditor< T >::InterpretedText(), CMyMenu::MeasureItem(), and NextSubKey(). |
|
|
Definition at line 35 of file MyString.cpp. Referenced by CopyTo(). |
|
|
Definition at line 510 of file MyString.cpp. References index. Referenced by MyRegistry::DeleteKey(), Text3D::GetText(), MyRegistry::GetValue(), and NextSubKey(). |
|
|
Test si le "model" est bien le debut du text.
Definition at line 832 of file MyString.cpp. References BOOL(). |
|
|
Definition at line 57 of file MyString.h. References BOOL(). Referenced by Text3D::Draw(). |
|
|
Definition at line 626 of file MyString.cpp. References BOOL(). |
|
||||||||||||
|
Recopie la chaine a partir d'une postion et d'une taille donnée.
Definition at line 802 of file MyString.cpp. Referenced by Text3D::AnalyseGram(), and Text3D::ComputeLayout(). |
|
|
Definition at line 128 of file MyString.h. |
|
|
Definition at line 98 of file MyString.h. References BOOL(), operator==(), and string. |
|
|
Definition at line 97 of file MyString.h. References BOOL(), operator==(), and string. |
|
|
Definition at line 96 of file MyString.h. References BOOL(), and operator==(). |
|
|
Definition at line 95 of file MyString.h. References BOOL(), and operator==(). |
|
|
Definition at line 94 of file MyString.h. References BOOL(), and operator==(). |
|
|
Definition at line 93 of file MyString.h. References BOOL(), and operator==(). |
|
|
Definition at line 92 of file MyString.h. References BOOL(), and operator==(). |
|
|
Definition at line 74 of file MyString.h. References string. |
|
|
Definition at line 257 of file MyString.cpp. References string. |
|
|
Definition at line 251 of file MyString.cpp. |
|
|
Definition at line 245 of file MyString.cpp. |
|
|
Definition at line 239 of file MyString.cpp. |
|
|
Definition at line 233 of file MyString.cpp. |
|
|
Definition at line 221 of file MyString.cpp. Referenced by AddFormat(), AddRepetitiveFormat(), EnterBinNumber(), and EnterHexaNumber(). |
|
|
Definition at line 165 of file MyString.cpp. |
|
|
Definition at line 153 of file MyString.cpp. |
|
|
Definition at line 145 of file MyString.cpp. |
|
|
Definition at line 137 of file MyString.cpp. |
|
|
Definition at line 129 of file MyString.cpp. |
|
|
Definition at line 121 of file MyString.cpp. |
|
|
Definition at line 109 of file MyString.cpp. References Delete(). |
|
|
Definition at line 214 of file MyString.cpp. |
|
|
Definition at line 208 of file MyString.cpp. |
|
|
Definition at line 202 of file MyString.cpp. |
|
|
Definition at line 196 of file MyString.cpp. |
|
|
Definition at line 190 of file MyString.cpp. |
|
|
Definition at line 184 of file MyString.cpp. |
|
|
Definition at line 178 of file MyString.cpp. Referenced by operator!=(). |
|
|
Access a un element du text. Ex.: Definition at line 381 of file MyString.cpp. References GetPositionFromLeft(), and index. Referenced by CopyTo(). |
|
|
Met a l'envert une chaine "abcde" ==> "edcba".
Definition at line 889 of file MyString.cpp. Referenced by EnterBinNumber(), and EnterHexaNumber(). |
|
||||||||||||||||||||||||||||
|
Definition at line 541 of file MyString.cpp. References clear(). |
|
||||||||||||||||
|
Decomposition d'une chaine par un modele. Ex.: "c:\mp3\album\clapton\" index deb 1 2 3 4 index fin -4 -3 -2 -1
Definition at line 483 of file MyString.cpp. |
|
||||||||||||
|
Test si le text est contenu dans la chaine en cours caseSensitive: distingue les majuscule et minuscule.
Definition at line 843 of file MyString.cpp. References FormatToLower(). |
|
|
Definition at line 574 of file MyString.cpp. References res. Referenced by ValueEditor< T >::Get_Value(), and MyRegistry::GetValue(). |
|
|
Definition at line 567 of file MyString.cpp. References res. Referenced by MyRegistry::GetValue(). |
|
|
Definition at line 560 of file MyString.cpp. References res. |
|
|
Definition at line 67 of file MyString.h. Referenced by EnterBinNumber(), EnterHexaNumber(), and MyString(). |
|
||||||||||||
|
Definition at line 364 of file MyString.cpp. |
|
||||||||||||
|
Definition at line 279 of file MyString.cpp. |
|
||||||||||||
|
Definition at line 269 of file MyString.cpp. |
|
||||||||||||
|
Definition at line 357 of file MyString.cpp. |
|
||||||||||||
|
Definition at line 350 of file MyString.cpp. |
|
||||||||||||
|
Definition at line 343 of file MyString.cpp. |
|
||||||||||||
|
Definition at line 336 of file MyString.cpp. |
|
||||||||||||
|
Definition at line 329 of file MyString.cpp. |
|
||||||||||||
|
Definition at line 322 of file MyString.cpp. |
|
||||||||||||
|
Definition at line 315 of file MyString.cpp. |
|
||||||||||||
|
Definition at line 308 of file MyString.cpp. |
|
||||||||||||
|
Definition at line 301 of file MyString.cpp. |
|
||||||||||||
|
Definition at line 294 of file MyString.cpp. |
|
||||||||||||
|
Lance un manipulateurs. Liste:
Definition at line 915 of file MyString.cpp. |
|
||||||||||||
|
Definition at line 432 of file MyString.cpp. |
|
||||||||||||
|
Definition at line 426 of file MyString.cpp. |
|
||||||||||||
|
Definition at line 420 of file MyString.cpp. |
|
||||||||||||
|
Definition at line 414 of file MyString.cpp. |
|
||||||||||||
|
Definition at line 408 of file MyString.cpp. |
|
||||||||||||
|
Definition at line 402 of file MyString.cpp. |
|
||||||||||||
|
Definition at line 396 of file MyString.cpp. |
1.3.6