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

#include <SessionLogAccessor.h>

+ Inheritance diagram for RiskCommon::SessionLogAccessor:
+ Collaboration diagram for RiskCommon::SessionLogAccessor:

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 ()
 
 SessionLogAccessor (std::string const &baseName, BOOST_SCOPED_ENUM(SessionHistoryLogTypes) logType, MessageDateType const &messageDate=std::chrono::system_clock::now(), bool isStaticFilesRead=false)
 
void setLastError (int error)
 
 ~SessionLogAccessor ()
 

Additional Inherited Members

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

Member Typedef Documentation

Constructor & Destructor Documentation

RiskCommon::SessionLogAccessor::SessionLogAccessor ( std::string const &  baseName,
BOOST_SCOPED_ENUM(SessionHistoryLogTypes)  logType,
MessageDateType const &  messageDate = std::chrono::system_clock::now(),
bool  isStaticFilesRead = false 
)
RiskCommon::SessionLogAccessor::~SessionLogAccessor ( )

Member Function Documentation

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