All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines
Public Member Functions | Private Attributes
TELEKYB_NAMESPACE::File Class Reference

a simple class to manage files More...

#include <File.hpp>

List of all members.

Public Member Functions

 File (const std::string &fileName_, std::ifstream::openmode mode=std::ifstream::in)
bool getWords (std::vector< std::string > &wordVector)
 ~File ()

Private Attributes

std::ifstream file
std::string fileName

Detailed Description

a simple class to manage files

Author:
Antonio Franchi antonio.franchi@tuebingen.mpg.de

Definition at line 56 of file File.hpp.


Constructor & Destructor Documentation

TELEKYB_NAMESPACE::File::File ( const std::string &  fileName_,
std::ifstream::openmode  mode = std::ifstream::in 
)

Constructor.

Parameters:
nameThe file name.

Definition at line 49 of file File.cpp.

Definition at line 60 of file File.cpp.


Member Function Documentation

bool TELEKYB_NAMESPACE::File::getWords ( std::vector< std::string > &  wordVector)

Reads all words in the file. Quotes Words will be treated as one word.

Definition at line 65 of file File.cpp.


Member Data Documentation

std::ifstream TELEKYB_NAMESPACE::File::file [private]

Definition at line 59 of file File.hpp.

std::string TELEKYB_NAMESPACE::File::fileName [private]

Definition at line 58 of file File.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines


telekyb_base
Author(s): Dr. Antonio Franchi and Martin Riedel
autogenerated on Mon Nov 11 2013 11:12:34