Hubo Library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
CStringDump.h
Go to the documentation of this file.
1 /*
2  * CStringDump.h
3  *
4  * Created on: 16.05.2015
5  * Author: Dag
6  */
7 
8 #ifndef CSTRINGDUMP_H_
9 #define CSTRINGDUMP_H_
10 
11 #include <string>
12 #include <list>
13 
15 {
16 
17 public:
18 
19  CStringDump (std::string sBaseFileName);
20  virtual ~CStringDump ();
21 
22  void Add (std::string sLine);
23  void Dump ();
24  void Reset ();
25  int GetCount () { return m_Count; }
26 
27 protected:
28 
29  std::string GetDateTime (char seperator, char timeSeperator);
30 
31 private:
32  std::string m_sBaseFileName;
33  std::list<std::string> m_sList;
34  FILE* m_pFile;
35  int m_Count;
36 
37 };
38 
39 #endif /* CSTRINGDUMP_H_ */
CStringDump(std::string sBaseFileName)
Definition: CStringDump.cpp:16
void Add(std::string sLine)
Definition: CStringDump.cpp:32
void Reset()
Definition: CStringDump.cpp:57
std::string GetDateTime(char seperator, char timeSeperator)
Definition: CStringDump.cpp:75
int GetCount()
Definition: CStringDump.h:25
virtual ~CStringDump()
Definition: CStringDump.cpp:25