FIX::MessageStoreExceptionWrapper Class Reference

#include <MessageStore.h>

Collaboration diagram for FIX::MessageStoreExceptionWrapper:

Public Member Functions

 MessageStoreExceptionWrapper (MessageStore *pStore)
 ~MessageStoreExceptionWrapper ()
bool set (int, const std::string &, bool &, IOException &)
void get (int, int, std::vector< std::string > &, bool &, IOException &) const
int getNextSenderMsgSeqNum (bool &, IOException &) const
int getNextTargetMsgSeqNum (bool &, IOException &) const
void setNextSenderMsgSeqNum (int, bool &, IOException &)
void setNextTargetMsgSeqNum (int, bool &, IOException &)
void incrNextSenderMsgSeqNum (bool &, IOException &)
void incrNextTargetMsgSeqNum (bool &, IOException &)
UtcTimeStamp getCreationTime (bool &, IOException &)
void reset (bool &, IOException &)
void refresh (bool &, IOException &)

Private Attributes

MessageStorem_pStore

Detailed Description

Definition at line 150 of file MessageStore.h.

Constructor & Destructor Documentation

◆ MessageStoreExceptionWrapper()

FIX::MessageStoreExceptionWrapper::MessageStoreExceptionWrapper ( MessageStore * pStore)
inline

Definition at line 155 of file MessageStore.h.

155: m_pStore( pStore ) {}

References m_pStore.

◆ ~MessageStoreExceptionWrapper()

FIX::MessageStoreExceptionWrapper::~MessageStoreExceptionWrapper ( )
inline

Definition at line 156 of file MessageStore.h.

156{ delete m_pStore; }

References m_pStore.

Member Function Documentation

◆ get()

void FIX::MessageStoreExceptionWrapper::get ( int begin,
int end,
std::vector< std::string > & msgs,
bool & threw,
IOException & ex ) const

Definition at line 76 of file MessageStore.cpp.

77{
78 threw = false;
79 try { m_pStore->get( begin, end, msgs ); }
80 catch ( IOException & e ) { threw = true; ex = e; }
81}

References m_pStore.

◆ getCreationTime()

UtcTimeStamp FIX::MessageStoreExceptionWrapper::getCreationTime ( bool & threw,
IOException & ex )

Definition at line 125 of file MessageStore.cpp.

126{
127 threw = false;
128 try { return m_pStore->getCreationTime(); }
129 catch ( IOException & e ) { threw = true; ex = e; return UtcTimeStamp(); }
130}

References m_pStore.

◆ getNextSenderMsgSeqNum()

int FIX::MessageStoreExceptionWrapper::getNextSenderMsgSeqNum ( bool & threw,
IOException & ex ) const

Definition at line 83 of file MessageStore.cpp.

84{
85 threw = false;
86 try { return m_pStore->getNextSenderMsgSeqNum(); }
87 catch ( IOException & e ) { threw = true; ex = e; return 0; }
88}

References m_pStore.

◆ getNextTargetMsgSeqNum()

int FIX::MessageStoreExceptionWrapper::getNextTargetMsgSeqNum ( bool & threw,
IOException & ex ) const

Definition at line 90 of file MessageStore.cpp.

91{
92 threw = false;
93 try { return m_pStore->getNextTargetMsgSeqNum(); }
94 catch ( IOException & e ) { threw = true; ex = e; return 0; }
95}

References m_pStore.

◆ incrNextSenderMsgSeqNum()

void FIX::MessageStoreExceptionWrapper::incrNextSenderMsgSeqNum ( bool & threw,
IOException & ex )

Definition at line 111 of file MessageStore.cpp.

112{
113 threw = false;
114 try { m_pStore->incrNextSenderMsgSeqNum(); }
115 catch ( IOException & e ) { threw = true; ex = e; }
116}

References m_pStore.

◆ incrNextTargetMsgSeqNum()

void FIX::MessageStoreExceptionWrapper::incrNextTargetMsgSeqNum ( bool & threw,
IOException & ex )

Definition at line 118 of file MessageStore.cpp.

119{
120 threw = false;
121 try { m_pStore->incrNextTargetMsgSeqNum(); }
122 catch ( IOException & e ) { threw = true; ex = e; }
123}

References m_pStore.

◆ refresh()

void FIX::MessageStoreExceptionWrapper::refresh ( bool & threw,
IOException & ex )

Definition at line 139 of file MessageStore.cpp.

140{
141 threw = false;
142 try { m_pStore->refresh(); }
143 catch ( IOException & e ) { threw = true; ex = e; }
144}

References m_pStore.

◆ reset()

void FIX::MessageStoreExceptionWrapper::reset ( bool & threw,
IOException & ex )

Definition at line 132 of file MessageStore.cpp.

133{
134 threw = false;
135 try { m_pStore->reset(); }
136 catch ( IOException & e ) { threw = true; ex = e; }
137}

References m_pStore.

◆ set()

bool FIX::MessageStoreExceptionWrapper::set ( int num,
const std::string & msg,
bool & threw,
IOException & ex )

Definition at line 69 of file MessageStore.cpp.

70{
71 threw = false;
72 try { return m_pStore->set( num, msg ); }
73 catch ( IOException & e ) { threw = true; ex = e; return false; }
74}

References m_pStore.

◆ setNextSenderMsgSeqNum()

void FIX::MessageStoreExceptionWrapper::setNextSenderMsgSeqNum ( int num,
bool & threw,
IOException & ex )

Definition at line 97 of file MessageStore.cpp.

98{
99 threw = false;
100 try { m_pStore->setNextSenderMsgSeqNum( num ); }
101 catch ( IOException & e ) { threw = true; ex = e; }
102}

References m_pStore.

◆ setNextTargetMsgSeqNum()

void FIX::MessageStoreExceptionWrapper::setNextTargetMsgSeqNum ( int num,
bool & threw,
IOException & ex )

Definition at line 104 of file MessageStore.cpp.

105{
106 threw = false;
107 try { m_pStore->setNextTargetMsgSeqNum( num ); }
108 catch ( IOException & e ) { threw = true; ex = e; }
109}

References m_pStore.

Member Data Documentation

◆ m_pStore


The documentation for this class was generated from the following files:

Generated on for QuickFIX by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2001