Public Member Functions | Private Attributes | List of all members
FIX::MessageStoreExceptionWrapper Class Reference

#include <MessageStore.h>

Collaboration diagram for FIX::MessageStoreExceptionWrapper:
Collaboration graph
[legend]

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 ) {}
bool set(int, const std::string &, bool &, IOException &)

◆ ~MessageStoreExceptionWrapper()

FIX::MessageStoreExceptionWrapper::~MessageStoreExceptionWrapper ( )
inline

Definition at line 156 of file MessageStore.h.

156{ delete 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}
virtual void get(int, int, std::vector< std::string > &) const =0

References FIX::MessageStore::get(), m_pStore, and set().

◆ 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}
virtual UtcTimeStamp getCreationTime() const =0

References FIX::MessageStore::getCreationTime(), m_pStore, and set().

◆ 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}
virtual int getNextSenderMsgSeqNum() const =0

References FIX::MessageStore::getNextSenderMsgSeqNum(), m_pStore, and set().

◆ 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}
virtual int getNextTargetMsgSeqNum() const =0

References FIX::MessageStore::getNextTargetMsgSeqNum(), m_pStore, and set().

◆ incrNextSenderMsgSeqNum()

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

Definition at line 111 of file MessageStore.cpp.

112{
113 threw = false;
115 catch ( IOException & e ) { threw = true; ex = e; }
116}
virtual void incrNextSenderMsgSeqNum()=0

References FIX::MessageStore::incrNextSenderMsgSeqNum(), m_pStore, and set().

◆ incrNextTargetMsgSeqNum()

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

Definition at line 118 of file MessageStore.cpp.

119{
120 threw = false;
122 catch ( IOException & e ) { threw = true; ex = e; }
123}
virtual void incrNextTargetMsgSeqNum()=0

References FIX::MessageStore::incrNextTargetMsgSeqNum(), m_pStore, and set().

◆ 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}
virtual void refresh()=0

References m_pStore, FIX::MessageStore::refresh(), and set().

◆ 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}
virtual void reset()=0

References m_pStore, FIX::MessageStore::reset(), and set().

◆ 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}
virtual bool set(int, const std::string &)=0

References m_pStore, FIX::MessageStore::set(), and set().

Referenced by get(), getCreationTime(), getNextSenderMsgSeqNum(), getNextTargetMsgSeqNum(), incrNextSenderMsgSeqNum(), incrNextTargetMsgSeqNum(), refresh(), reset(), set(), setNextSenderMsgSeqNum(), and setNextTargetMsgSeqNum().

◆ setNextSenderMsgSeqNum()

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

Definition at line 97 of file MessageStore.cpp.

98{
99 threw = false;
101 catch ( IOException & e ) { threw = true; ex = e; }
102}
virtual void setNextSenderMsgSeqNum(int)=0

References m_pStore, set(), and FIX::MessageStore::setNextSenderMsgSeqNum().

◆ setNextTargetMsgSeqNum()

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

Definition at line 104 of file MessageStore.cpp.

105{
106 threw = false;
108 catch ( IOException & e ) { threw = true; ex = e; }
109}
virtual void setNextTargetMsgSeqNum(int)=0

References m_pStore, set(), and FIX::MessageStore::setNextTargetMsgSeqNum().

Member Data Documentation

◆ m_pStore

MessageStore* FIX::MessageStoreExceptionWrapper::m_pStore
private

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

Generated on Mon Oct 14 2024 06:04:44 for QuickFIX by doxygen 1.9.8 written by Dimitri van Heesch, © 1997-2001