CGR Localization
 All Classes Namespaces Files Functions Variables Macros Pages
SimpleString Class Reference

Public Member Functions

 SimpleString (const char *str)
 
 SimpleString (const char *str, int length)
 
 SimpleString (const SimpleString &str)
 
 SimpleString (int expected_size)
 
void reset ()
 
void clear ()
 
SimpleStringoperator= (const SimpleString &str)
 
SimpleStringoperator= (const char *str)
 
bool valid ()
 
bool copy (const char *str)
 
bool copy (const char *str, int length)
 
bool copy (const SimpleString &str)
 
bool copy (const SimpleString &str, int start)
 
bool copy (const SimpleString &str, int start, int end)
 
bool remove (int start, int end)
 
void truncate (int len)
 
bool add (const char *str)
 
bool add (const SimpleString &str)
 
SimpleStringoperator+= (const char *str)
 
SimpleStringoperator+= (const SimpleString &str)
 
const char_t * operator() () const
 
int length () const
 
char_t operator[] (int i) const
 
bool operator== (const SimpleString &str) const
 
bool operator== (const char *cstr) const
 
bool operator!= (const SimpleString &str) const
 
bool operator!= (const char *cstr) const
 
bool begins (const char *str) const
 
int findNext (char_t key, int col) const
 
int findFirst (char_t key) const
 
int findLast (char_t key) const
 
bool getInt (int &col, int &val)
 
bool getFloat (int &col, float &val)
 
bool getDouble (int &col, double &val)
 
int printf (const char *format,...) __attribute__((format(__printf__
 
int bool fgets (FILE *in, int maxsize)
 

Static Public Attributes

static const int LocNone = -1
 

Protected Member Functions

bool allocate (int _size)
 
bool reallocate (int _size)
 

Detailed Description

Definition at line 17 of file sstring.h.


The documentation for this class was generated from the following file: