Hubo Library

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

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
14 class CStringDump
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::Dump
void Dump()
Definition: CStringDump.cpp:41
CStringDump::CStringDump
CStringDump(std::string sBaseFileName)
Definition: CStringDump.cpp:16
CStringDump
Definition: CStringDump.h:14
CStringDump::Add
void Add(std::string sLine)
Definition: CStringDump.cpp:32
CStringDump::Reset
void Reset()
Definition: CStringDump.cpp:57
CStringDump::GetDateTime
std::string GetDateTime(char seperator, char timeSeperator)
Definition: CStringDump.cpp:75
CStringDump::GetCount
int GetCount()
Definition: CStringDump.h:25
CStringDump::~CStringDump
virtual ~CStringDump()
Definition: CStringDump.cpp:25