B2BITS FIX Antenna HFT  1.0.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
RiskCommon::SessionLogReader Class Reference

#include <SessionLogReader.h>

+ Inheritance diagram for RiskCommon::SessionLogReader:
+ Collaboration diagram for RiskCommon::SessionLogReader:

Public Types

typedef IndexData::GlobalMsgID GlobalMsgID
 
typedef Engine::IndexFile::Data IndexData
 
typedef Engine::IndexFile IndexFile
 

Public Member Functions

bool getCurrentGlobalMsgID (GlobalMsgID *pID) const
 
IndexData const * getCurrentIndexData () const
 
bool getCurrentMessage (std::string *pRawMsg, bool &isOutLog, System::u64 &sessionGlobID)
 
std::string const & getIndexFileName () const
 
int getLastError () const
 
bool getLastGlobalMsgID (GlobalMsgID *pID)
 
bool getLastGlobalMsgIDPairedStream (GlobalMsgID *pID)
 
std::string const & getLogFileName () const
 
bool getMaxGlobalMsgID (GlobalMsgID *pID)
 
bool isType (BOOST_SCOPED_ENUM(SessionHistoryLogTypes) logTypeMask) const
 
bool moveNextMessage ()
 
void reset ()
 
 SessionLogReader (std::string const &baseName, BOOST_SCOPED_ENUM(SessionHistoryLogTypes) logType, boost::gregorian::date const &messageDate=boost::gregorian::day_clock::local_day(), bool isStaticFilesRead=false)
 
void setLastError (int error)
 
 ~SessionLogReader ()
 

Additional Inherited Members

- Protected Member Functions inherited from RiskCommon::SessionLogReaderBase
 SessionLogReaderBase (std::string const &indexFileName, std::string const &logFileName, std::string const &confFileName, bool isStaticFilesRead)
 
 ~SessionLogReaderBase ()
 
- Protected Attributes inherited from RiskCommon::SessionLogReaderBase
std::string indexFileName_
 
System::FileEx indexFileStream_
 
bool isStaticFilesRead_
 
std::string logFileName_
 
System::FileEx logFileStream_
 
System::u64 sessionGlobalID_
 

Member Typedef Documentation

Constructor & Destructor Documentation

RiskCommon::SessionLogReader::SessionLogReader ( std::string const &  baseName,
BOOST_SCOPED_ENUM(SessionHistoryLogTypes)  logType,
boost::gregorian::date const &  messageDate = boost::gregorian::day_clock::local_day(),
bool  isStaticFilesRead = false 
)
RiskCommon::SessionLogReader::~SessionLogReader ( )

Member Function Documentation

bool RiskCommon::SessionLogReader::getCurrentGlobalMsgID ( GlobalMsgID pID) const
IndexData const* RiskCommon::SessionLogReader::getCurrentIndexData ( ) const
bool RiskCommon::SessionLogReader::getCurrentMessage ( std::string *  pRawMsg,
bool &  isOutLog,
System::u64 sessionGlobID 
)
std::string const& RiskCommon::SessionLogReader::getIndexFileName ( ) const
int RiskCommon::SessionLogReader::getLastError ( ) const
bool RiskCommon::SessionLogReader::getLastGlobalMsgID ( GlobalMsgID pID)
bool RiskCommon::SessionLogReader::getLastGlobalMsgIDPairedStream ( GlobalMsgID pID)
std::string const& RiskCommon::SessionLogReader::getLogFileName ( ) const
bool RiskCommon::SessionLogReader::getMaxGlobalMsgID ( GlobalMsgID pID)
bool RiskCommon::SessionLogReader::isType ( BOOST_SCOPED_ENUM(SessionHistoryLogTypes)  logTypeMask) const
bool RiskCommon::SessionLogReader::moveNextMessage ( )
void RiskCommon::SessionLogReader::reset ( )
void RiskCommon::SessionLogReader::setLastError ( int  error)