|
| Path (const AChar *path) |
|
| Path (const AChar *p0, const AChar *p1, const AChar *p2="", const AChar *p3="", const AChar *p4="", const AChar *p5="", const AChar *p6="", const AChar *p7="") |
|
| operator const AChar * () const |
|
void | set (const AChar *unc_host_name, const AChar *drive_name, const AChar *dir, const AChar *base, const AChar *ext) |
|
void | get (AString &unc_host_name, AString &drive_name, AString &dir, AString &base, AString &ext) |
|
AString | get_extension () const |
|
AString | get_base () const |
|
AString | get_file_name () const |
|
AString | get_directory () const |
|
AString | get_path () const |
|
AString | get_unc_host () const |
|
AString | get_drive () const |
|
AString | up () |
|
AString | top () const |
|
AString | get_relative_path (const AString &path) const |
|
bool | down (const AString &name) |
|
void | set_full_path () |
|
bool | is_valid () const |
|
bool | is_unc () const |
|
bool | has_drive () const |
|
bool | has_extension (const AString &ext) const |
|
bool | check_extension (const AChar *ext) const |
|
bool | check_base (const AChar *ext) const |
|
bool | check_file_name (const AChar *ext) const |
|
bool | check_directory (const AChar *ext) const |
|
bool | check_path (const AChar *ext) const |
|
bool | check_unc (const AChar *ext) const |
|
bool | check_drive (const AChar *ext) const |
|
void | set_extension (const AString &extension) |
|
void | set_base (const AString &base) |
|
void | set_file_name (const AString &fileName) |
|
void | set_directory (const AString &directory) |
|
void | set_path (const AString &path) |
|
void | set_unc_host (const AString &hostName) |
|
void | set_drive (const AString &drive) |
|
void | set_temp_path (const AChar *extension="tmp") |
|
bool | exists () const |
|
bool | delete_file (bool force=true) const |
|
bool | move_file (const Path &new_path) const |
|
bool | move_file (const Path &new_path, bool silent) const |
|
bool | copy_to_file (const Path &dest_path) const |
|
bool | set_read_only (bool read_only) const |
|
bool | is_read_only () const |
|
bool | is_directory () const |
|
bool | lock_file (bool lock=true) const |
|
size_t | get_size () const |
|
TimeDate | get_last_modif_time () const |
|
| AString (const AString &str) |
|
| AString (const AString &str, size_t pos, size_t n=(size_t) npos) |
|
| AString (const AChar *str, size_t n) |
|
| AString (const AChar *str) |
|
| AString (const Char *str) |
|
| AString (size_t n, AChar c) |
|
| AString (AChar c, size_t n) |
|
| AString (const void *v, size_t n, size_t base=16) |
|
AString & | operator= (const AString &str) |
|
AString & | operator= (const AChar *str) |
|
AString & | operator= (AChar c) |
|
| operator const AChar * () const |
|
bool | operator== (const AString &str) const |
|
bool | operator== (const AChar *str) const |
|
bool | operator!= (const AString &str) const |
|
bool | operator!= (const AChar *str) const |
|
bool | operator< (const commore::AString &str) const |
|
bool | operator> (const commore::AString &str) const |
|
AString & | operator+= (const AString &str) |
|
AString | operator+ (const AString &str) const |
|
AString & | operator+= (const AChar *str) |
|
AString & | operator+= (AChar c) |
|
AString & | append (const AString &str) |
|
AString & | append (const AString &str, size_t pos, size_t n) |
|
AString & | append (const AChar *str, size_t n) |
|
AString & | append (const AChar *str) |
|
AString & | append (size_t n, AChar c) |
|
bool | validate_range (size_t pos, size_t *len) const |
|
AString & | assign (const AString &other) |
|
AString & | assign (const AString &str, size_t pos, size_t n) |
|
AString & | assign (const AChar *str, size_t n) |
|
AString & | assign (const AChar *str) |
|
AString & | assign (size_t n, AChar c) |
|
void | swap (AString &str) |
|
void | splice (AString &str) |
|
AString & | insert (size_t pos1, const AString &str) |
|
AString & | insert (size_t pos1, const AString &str, size_t pos2, size_t n) |
|
AString & | insert (size_t pos, const AChar *str, size_t n) |
|
AString & | insert (size_t pos, const AChar *str) |
|
AString & | insert (size_t pos, size_t n, AChar c) |
|
AString & | clear () |
|
AString & | erase (size_t pos=0, size_t n=(size_t) npos) |
|
void | Delete (size_t pos=0, size_t n=1) |
|
AString & | replace (size_t pos1, size_t n, const AString &str) |
|
AString & | replace (size_t pos1, size_t n1, const AString &str, size_t pos2, size_t n2) |
|
AString & | replace (size_t pos1, size_t n1, const AChar *str, size_t n2) |
|
AString & | replace (size_t pos, size_t n1, const AChar *str) |
|
AString & | replace (size_t pos, size_t n1, size_t n2, AChar c) |
|
AString & | replace (const AChar *s1, const AChar *s2, bool case_sensitive=true) |
|
AString & | Replace (const AChar *s1, const AChar *s2, bool case_sensitive=true) |
|
AChar | operator[] (size_t pos) const |
|
AChar & | operator[] (size_t pos) |
|
AChar | operator[] (int pos) const |
|
AChar & | operator[] (int pos) |
|
AChar | at (size_t pos) const |
|
AChar & | at (size_t pos) |
|
const AChar * | c_str () const |
|
const AChar * | data () const |
|
size_t | size () const |
|
size_t | length () const |
|
size_t | max_size () const |
|
bool | is_empty () const |
|
void | resize (size_t n, AChar c) |
|
void | resize (size_t n) |
|
void | resize () |
|
size_t | capacity () const |
| Return size of allocated storage. More...
|
|
void | reserve (size_t size) |
| Request a change in capacity Requests that the string capacity be adapted to a planned change in size to a length of up to n characters. If n is greater than the current string capacity, the function causes the container to increase its capacity to n characters (or greater). In all other cases, it is taken as a non-binding request to shrink the string capacity: the container implementation is free to optimize otherwise and leave the string with a capacity greater than n. This function has no effect on the string length and cannot alter its content. More...
|
|
char * | set_buffer (size_t size) |
|
size_t | copy (AChar *str, size_t n, size_t pos=0) const |
| Copy sequence of characters from string Copies a substring of the current value of the string object into the array pointed by s. This substring contains the len characters that start at position pos. The function does not append a null character at the end of the copied content. More...
|
|
size_t | find (const AString &str, size_t pos=0) const |
| Find content in string Searches the string for the first occurrence of the sequence specified by its arguments. When pos is specified, the search only includes characters at or after position pos, ignoring any possible occurrences that include characters before pos. Notice that unlike member find_first_of, whenever more than one character is being searched for, it is not enough that just one of these characters match, but the entire sequence must match. More...
|
|
size_t | find (const AChar *s, size_t pos, size_t n) const |
|
size_t | find (const AChar *str, size_t pos=0) const |
|
size_t | find (AChar c, size_t pos=0) const |
|
size_t | find_first_of (const AString &str, size_t pos=0) const |
|
size_t | find_first_of (const AChar *s, size_t pos, size_t n) const |
|
size_t | find_first_of (const AChar *str, size_t pos=0) const |
|
size_t | find_first_of (AChar c, size_t pos=0) const |
|
size_t | find_first_not_of (const AString &str, size_t pos=0) const |
|
size_t | find_first_not_of (const AChar *s, size_t pos, size_t n) const |
|
size_t | find_first_not_of (AChar c, size_t pos=0) const |
|
size_t | find_first_not_of (const AChar *str, size_t pos=0) const |
|
size_t | rfind (const AChar *str, size_t pos, size_t n) const |
|
size_t | find_last_of (const AChar *s, size_t pos, size_t n) const |
|
size_t | find_last_not_of (const AChar *s, size_t pos, size_t n) const |
|
size_t | rfind (const AString &str, size_t pos=(size_t) npos) const |
|
size_t | rfind (const AChar *str, size_t pos=(size_t) npos) const |
|
size_t | rfind (AChar c, size_t pos=(size_t) npos) const |
|
size_t | find_last_of (const AString &str, size_t pos=(size_t) npos) const |
|
size_t | find_last_of (AChar c, size_t pos=(size_t) npos) const |
|
size_t | find_last_of (const AChar *str, size_t pos=(size_t) npos) const |
|
size_t | find_last_not_of (const AString &str, size_t pos=(size_t) npos) const |
|
size_t | find_last_not_of (const AChar &c, size_t pos=(size_t) npos) const |
|
size_t | find_last_not_of (const AChar *str, size_t pos=(size_t) npos) const |
|
AString | substr (size_t pos=0, size_t n=(size_t) npos) const |
| Generate substring Returns a newly constructed string object with its value initialized to a copy of a substring of this object. The substring is the portion of the object that starts at character position pos and spans len characters (or until the end of the string, whichever comes first). More...
|
|
Int | to_int () const |
|
bool | match (const AString &pattern) const |
|
bool | match (const AString &pattern, AString &a0) const |
|
bool | match (const AString &pattern, AString &a0, AString &a1) const |
|
bool | match (const AString &pattern, AString &a0, AString &a1, AString &a2) const |
|
bool | match (const AString &pattern, AString &a0, AString &a1, AString &a2, AString &a3) const |
|
bool | match (const AString &pattern, AString &a0, AString &a1, AString &a2, AString &a3, AString &a4) const |
|
bool | match (const AString &pattern, AString &a0, AString &a1, AString &a2, AString &a3, AString &a4, AString &a5) const |
|
bool | match (const AString &pattern, AString &a0, AString &a1, AString &a2, AString &a3, AString &a4, AString &a5, AString &a6) const |
|
bool | match (const AString &pattern, AString &a0, AString &a1, AString &a2, AString &a3, AString &a4, AString &a5, AString &a6, AString &a7) const |
|
long | write_xml (OBStream &o) const |
|
long | read_xml (IBStream &i) |
|
int | compare (const AString &str) const |
| Compare string. More...
|
|
int | compare (size_t pos, size_t n, const AString &str) const |
|
int | compare (size_t pos1, size_t n1, const AString &str, size_t pos2, size_t n2) const |
|
int | compare (const AChar *s) const |
|
int | compare (size_t pos, size_t n1, const AChar *str, size_t n2=(size_t) npos) const |
|
int | icompare (const AString &str) const |
| Compare string but do not care caracter case (acii charecter only)
|
|
int | icompare (size_t pos, size_t n, const AString &str) const |
|
int | icompare (size_t pos1, size_t n1, const AString &str, size_t pos2, size_t n2) const |
|
int | icompare (const AChar *s) const |
|
int | icompare (size_t pos, size_t n1, const AChar *str, size_t n2=(size_t) npos) const |
|
int | CompareNoCase (const AChar *s) const |
|
AString & | make_upper () |
|
AString & | MakeUpper () |
|
AString & | make_lower () |
|
AString & | MakeLower () |
|