#include <vector>
#include <utility>
#include <sstream>
#include <string>
#include <ctype.h>
#include "../common/UnicodeString.h"
Go to the source code of this file.
Namespaces | |
namespace | hwdet |
Functions | |
bool | hwdet::ReadLines (const char *file_name, std::vector< String > &lines) |
Read all lines from the text file. | |
String | hwdet::GetFieldName (const String &line, size_t *ends_at=NULL, const String &end=TXT(":"), const size_t start_at=0) |
Read name of the filed on the current line. | |
bool | hwdet::BeginsWith (const String &str, const String &what) |
Test if one string begins with another. | |
template<typename T> | |
bool | hwdet::GetFieldValue (const std::string &line, const size_t index, T &result, const size_t start_at=0, const char *delims="\t ") |