55 lines
1.5 KiB
C++
55 lines
1.5 KiB
C++
/***********************************************************************************/
|
|
/** \file TextFileReader.h
|
|
** \brief Header File zur Klasse TextFileReader
|
|
*************************************************************************************
|
|
** Autor: Christian Roesch
|
|
*************************************************************************************
|
|
** _tut nichts_
|
|
**
|
|
*//*********************************************************************************/
|
|
|
|
#ifndef _TextFileReader_H
|
|
#define _TextFileReader_H
|
|
|
|
// includes
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
// Klassen-Deklaration
|
|
|
|
namespace FrameWork
|
|
{
|
|
|
|
/***********************************************************************************/
|
|
/** \brief TextFileReader _tut nichts_
|
|
*************************************************************************************
|
|
** Genau genommen _tut dies nichts_
|
|
**
|
|
*//*********************************************************************************/
|
|
|
|
class TextFileReader
|
|
{
|
|
public:
|
|
bool read( std::string strFileName );
|
|
bool append( std::string FileName );
|
|
std::vector <std::string>& getFileLines();
|
|
int getLineCount();
|
|
void clear();
|
|
|
|
protected:
|
|
|
|
private:
|
|
std::vector <std::string> m_vecLines;
|
|
};
|
|
|
|
}
|
|
|
|
#endif//_TextFileReader_H
|
|
|
|
class FrameWork::TextFileReader;
|
|
|
|
|
|
/************************************************************************************
|
|
** Ende der Datei: TextFileReader.h
|
|
************************************************************************************/
|