|
| template<typename T> |
| std::string | belfem::datatype_string () |
| template<> |
| std::string | belfem::datatype_string< bool > () |
| template<> |
| std::string | belfem::datatype_string< int > () |
| template<> |
| std::string | belfem::datatype_string< unsigned int > () |
| template<> |
| std::string | belfem::datatype_string< long unsigned int > () |
| template<> |
| std::string | belfem::datatype_string< double > () |
| template<> |
| std::string | belfem::datatype_string< std::string > () |
| template<> |
| std::string | belfem::datatype_string< std::complex< double > > () |
| std::string | belfem::basename (const std::string &aFilePath) |
| | returns the basename of a file
|
| std::string | belfem::dirname (const std::string &aFilePath) |
| | returns the directory name of a file
|
| std::string | belfem::filetype (const std::string &aFilePath) |
| | returns the filetype of a file
|
| std::string | belfem::filename (const std::string &aFilePath) |
| | returns the name of a file without the path
|
| std::string | belfem::clean_string (const std::string &aString) |
| | tidy up the string
|
| string | belfem::first_word (const std::string &aString, const char aDelimiter=' ') |
| | return the first word of the string
|
| Cell< string > | belfem::string_to_words (const std::string &aString, const char aDelimiter=' ') |
| | create a cell of words from a string
|
| std::string | belfem::search_and_replace (const std::string &aString, const std::string &aSearch, const std::string &aReplace) |
| std::string | belfem::string_to_lower (const std::string &aString) |
| | convert the string to lower case
|
| std::string | belfem::string_to_upper (const std::string &aString) |
| | convert the string to upper case
|
| bool | belfem::string_to_bool (const std::string &aString) |
| | return true if string is either 1, on, true or yes
|
| real | belfem::to_real (const std::string &aString) |
| | convert string to real, return NAN if it is not real
|
| value | belfem::unit_to_si (const string &aString) |
| string | belfem::format_with_leading_zeros (const uint aNumber) |
| bool | belfem::is_integer (const string &aString) |
| size_t | belfem::utf8_character_count (const string &aString) |
| template<typename T> |
| void | belfem::string_to_cell (const string &aString, Cell< T > &aValues) |
| template<typename T> |
| void | belfem::to_pair (const std::string &aString, Cell< std::pair< std::string, T > > &aResult) |