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

Null implementation of MessageStore. More...

#include <NullStore.h>

Inheritance diagram for FIX::NullStore:
Inheritance graph
[legend]
Collaboration diagram for FIX::NullStore:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 NullStore ()
bool set (int, const std::string &) throw ( IOException )
void get (int, int, std::vector< std::string > &) const throw ( IOException )
int getNextSenderMsgSeqNum () const throw ( IOException )
int getNextTargetMsgSeqNum () const throw ( IOException )
void setNextSenderMsgSeqNum (int value) throw ( IOException )
void setNextTargetMsgSeqNum (int value) throw ( IOException )
void incrNextSenderMsgSeqNum () throw ( IOException )
void incrNextTargetMsgSeqNum () throw ( IOException )
void setCreationTime (const UtcTimeStamp &creationTime) throw ( IOException )
UtcTimeStamp getCreationTime () const throw ( IOException )
void reset () throw ( IOException )
void refresh () throw ( IOException )

Private Attributes

int m_nextSenderMsgSeqNum
int m_nextTargetMsgSeqNum
UtcTimeStamp m_creationTime

Detailed Description

Null implementation of MessageStore.

Will not actually store messages. Useful for admin-only or market data-only applications.

Definition at line 58 of file NullStore.h.


Constructor & Destructor Documentation

Definition at line 61 of file NullStore.h.


Member Function Documentation

void FIX::NullStore::get ( int  begin,
int  end,
std::vector< std::string > &  messages 
) const throw ( IOException ) [virtual]

Implements FIX::MessageStore.

Definition at line 47 of file NullStore.cpp.

{
  messages.clear();
}
UtcTimeStamp FIX::NullStore::getCreationTime ( ) const throw ( IOException ) [inline, virtual]

Implements FIX::MessageStore.

Definition at line 81 of file NullStore.h.

References m_creationTime.

  { return m_creationTime; }
int FIX::NullStore::getNextSenderMsgSeqNum ( ) const throw ( IOException ) [inline, virtual]

Implements FIX::MessageStore.

Definition at line 66 of file NullStore.h.

References m_nextSenderMsgSeqNum.

  { return m_nextSenderMsgSeqNum; }
int FIX::NullStore::getNextTargetMsgSeqNum ( ) const throw ( IOException ) [inline, virtual]

Implements FIX::MessageStore.

Definition at line 68 of file NullStore.h.

References m_nextTargetMsgSeqNum.

  { return m_nextTargetMsgSeqNum; }
void FIX::NullStore::incrNextSenderMsgSeqNum ( ) throw ( IOException ) [inline, virtual]

Implements FIX::MessageStore.

Definition at line 74 of file NullStore.h.

References m_nextSenderMsgSeqNum.

void FIX::NullStore::incrNextTargetMsgSeqNum ( ) throw ( IOException ) [inline, virtual]

Implements FIX::MessageStore.

Definition at line 76 of file NullStore.h.

References m_nextTargetMsgSeqNum.

void FIX::NullStore::refresh ( ) throw ( IOException ) [inline, virtual]

Implements FIX::MessageStore.

Definition at line 89 of file NullStore.h.

{}
void FIX::NullStore::reset ( ) throw ( IOException ) [inline, virtual]
bool FIX::NullStore::set ( int  msgSeqNum,
const std::string &  msg 
) throw ( IOException ) [virtual]

Implements FIX::MessageStore.

Definition at line 41 of file NullStore.cpp.

{
  return true;
}
void FIX::NullStore::setCreationTime ( const UtcTimeStamp creationTime) throw ( IOException ) [inline]

Definition at line 79 of file NullStore.h.

References m_creationTime.

  { m_creationTime = creationTime; }
void FIX::NullStore::setNextSenderMsgSeqNum ( int  value) throw ( IOException ) [inline, virtual]

Implements FIX::MessageStore.

Definition at line 70 of file NullStore.h.

References m_nextSenderMsgSeqNum.

  { m_nextSenderMsgSeqNum = value; }
void FIX::NullStore::setNextTargetMsgSeqNum ( int  value) throw ( IOException ) [inline, virtual]

Implements FIX::MessageStore.

Definition at line 72 of file NullStore.h.

References m_nextTargetMsgSeqNum.

  { m_nextTargetMsgSeqNum = value; }

Member Data Documentation

Definition at line 94 of file NullStore.h.

Referenced by getCreationTime(), reset(), and setCreationTime().


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