|  | 
|  | TextFile () | 
|  | Default constructor.  More... 
 | 
|  | 
| virtual | ~TextFile () | 
|  | destructor  More... 
 | 
|  | 
|  | TextFile (const String &filename, bool trim_lines=false, Int first_n=-1) | 
|  | Constructor with filename.  More... 
 | 
|  | 
| void | load (const String &filename, bool trim_lines=false, Int first_n=-1) | 
|  | Loads data from a text file.  More... 
 | 
|  | 
| void | store (const String &filename) | 
|  | Writes the data to a file.  More... 
 | 
|  | 
| template<typename StringType > | 
| StringList & | operator<< (const StringType &string) | 
|  | Operator for appending entries with less code.  More... 
 | 
|  | 
| bool | contains (const String &s) const | 
|  | Returns if a string is contained in the list.  More... 
 | 
|  | 
| void | toUpper () | 
|  | Transforms all contained strings to upper case.  More... 
 | 
|  | 
| void | toLower () | 
|  | Transforms all contained strings to lower case.  More... 
 | 
|  | 
| String | concatenate (const String &glue="") const | 
|  | Concatenate the string elements and putting the gluestring between elements.  More...
 | 
|  | 
|  | StringList () | 
|  | Default constructor.  More... 
 | 
|  | 
|  | StringList (const StringList &rhs) | 
|  | Copy constructor.  More... 
 | 
|  | 
|  | StringList (const std::vector< String > &rhs) | 
|  | Constructor from vector<String>  More... 
 | 
|  | 
|  | StringList (const std::vector< std::string > &rhs) | 
|  | Constructor from vector<string>  More... 
 | 
|  | 
|  | StringList (const QStringList &rhs) | 
|  | Constructor from QStringList.  More... 
 | 
|  | 
| StringList & | operator= (const StringList &rhs) | 
|  | Assignment operator.  More... 
 | 
|  | 
| StringList & | operator= (const std::vector< String > &rhs) | 
|  | Assignment operator from vector<String>  More... 
 | 
|  | 
| StringList & | operator= (const std::vector< std::string > &rhs) | 
|  | Assignment operator vector<string>  More... 
 | 
|  | 
| Iterator | search (const Iterator &start, const String &text, bool trim=false) | 
|  | Searches for the first line that starts with textbeginning at linestart.  More...
 | 
|  | 
| Iterator | search (const String &text, bool trim=false) | 
|  | Searches for the first line that starts with text.  More...
 | 
|  | 
| Iterator | searchSuffix (const Iterator &start, const String &text, bool trim=false) | 
|  | Searches for the first line that ends with textbeginning at linestart.  More...
 | 
|  | 
| Iterator | searchSuffix (const String &text, bool trim=false) | 
|  | Searches for the first line that ends with text.  More...
 | 
|  | 
| ConstIterator | search (const ConstIterator &start, const String &text, bool trim=false) const | 
|  | Searches for the first line that starts with textbeginning at linestart.  More...
 | 
|  | 
| ConstIterator | search (const String &text, bool trim=false) const | 
|  | Searches for the first line that starts with text.  More...
 | 
|  | 
| ConstIterator | searchSuffix (const ConstIterator &start, const String &text, bool trim=false) const | 
|  | Searches for the first line that ends with textbeginning at linestart.  More...
 | 
|  | 
| ConstIterator | searchSuffix (const String &text, bool trim=false) const | 
|  | Searches for the first line that ends with text.  More...
 | 
|  | 
This class provides some basic file handling methods for text files.