[Quickfix-developers] [FileLog] Make members protected, not private
Brought to you by:
orenmnero
From: Caleb E. <cal...@gm...> - 2005-01-04 14:28:13
|
Here is a patch that lets users derive from the FileLog class and initialize/access the output streams in a different way. Index: quickfix/src/C++/FileLog.h =================================================================== RCS file: /cvsroot/quickfix/quickfix/src/C++/FileLog.h,v retrieving revision 1.5 diff -u -b -r1.5 FileLog.h --- quickfix/src/C++/FileLog.h 28 Dec 2004 15:23:26 -0000 1.5 +++ quickfix/src/C++/FileLog.h 4 Jan 2005 14:27:43 -0000 @@ -86,7 +86,7 @@ << " : " << value << std::endl << std::flush; } -private: +protected: SessionID m_sessionID; std::ofstream m_incoming; std::ofstream m_outgoing; -- Caleb Epstein caleb dot epstein at gmail dot com |