Public Member Functions | Private Attributes
FIX::MessageStoreExceptionWrapper Class Reference

#include <MessageStore.h>

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

List of all members.

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

Definition at line 155 of file MessageStore.h.

: m_pStore( pStore ) {}

Definition at line 156 of file MessageStore.h.

{ delete m_pStore; }

Member Function Documentation

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.

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

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

Definition at line 125 of file MessageStore.cpp.

References FIX::MessageStore::getCreationTime(), m_pStore, and FIX::TYPE::UtcTimeStamp.

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

Definition at line 83 of file MessageStore.cpp.

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

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

Definition at line 90 of file MessageStore.cpp.

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

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

Definition at line 111 of file MessageStore.cpp.

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

{
  threw = false;
  try { m_pStore->incrNextSenderMsgSeqNum(); }
  catch ( IOException & e ) { threw = true; ex = e; }
}

Definition at line 118 of file MessageStore.cpp.

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

{
  threw = false;
  try { m_pStore->incrNextTargetMsgSeqNum(); }
  catch ( IOException & e ) { threw = true; ex = e; }
}
void FIX::MessageStoreExceptionWrapper::refresh ( bool &  threw,
IOException ex 
)

Definition at line 139 of file MessageStore.cpp.

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

{
  threw = false;
  try { m_pStore->refresh(); }
  catch ( IOException & e ) { threw = true; ex = e; }
}
void FIX::MessageStoreExceptionWrapper::reset ( bool &  threw,
IOException ex 
)

Definition at line 132 of file MessageStore.cpp.

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

{
  threw = false;
  try { m_pStore->reset(); }
  catch ( IOException & e ) { threw = true; ex = e; }
}
bool FIX::MessageStoreExceptionWrapper::set ( int  num,
const std::string &  msg,
bool &  threw,
IOException ex 
)

Definition at line 69 of file MessageStore.cpp.

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

{
  threw = false;
  try { return m_pStore->set( num, msg ); }
  catch ( IOException & e ) { threw = true; ex = e; return false; }
}
void FIX::MessageStoreExceptionWrapper::setNextSenderMsgSeqNum ( int  num,
bool &  threw,
IOException ex 
)

Definition at line 97 of file MessageStore.cpp.

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

{
  threw = false;
  try { m_pStore->setNextSenderMsgSeqNum( num ); }
  catch ( IOException & e ) { threw = true; ex = e; }
}
void FIX::MessageStoreExceptionWrapper::setNextTargetMsgSeqNum ( int  num,
bool &  threw,
IOException ex 
)

Definition at line 104 of file MessageStore.cpp.

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

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

Member Data Documentation


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

Generated on Mon Sep 15 2014 01:23:57 for QuickFIX by doxygen 1.7.6.1 written by Dimitri van Heesch, © 1997-2001