FileParser.cpp File Reference

Helper function to parse text files. More...

#include <iostream>
#include <utility>
#include <vector>
#include "../common/UnicodeString.h"

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.


Detailed Description

Helper function to parse text files.

Author:
Branislav Repcek
Date:
11. 12. 2006

Generated on Tue Dec 19 17:43:51 2006 for Detector for Linux by  doxygen 1.4.7