Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

HBCI::MessageReference Class Reference

Fully qualified reference to a specific message that was sent some time earlier. More...

#include <statusreport.h>

List of all members.

Public Methods

 MessageReference ()
 MessageReference (const string &did, int msgnum)
 MessageReference (const string &deg)
 ~MessageReference ()
const string & dialogId () const
int messageNumber () const
string toString () const
bool operator== (const MessageReference &ref) const
int cmp (const MessageReference &other) const


Detailed Description

Fully qualified reference to a specific message that was sent some time earlier.

If the bank gives us feedback about the status of a particular message (e.g. transfer order), this MessageReference identifies the order (HBCI::OutboxJob) which is meant.


Constructor & Destructor Documentation

HBCI::MessageReference::MessageReference  
 

HBCI::MessageReference::MessageReference const string &    did,
int    msgnum
 

Constructor with dialog id and message number.

HBCI::MessageReference::MessageReference const string &    deg
 

Constructor for a HBCI data element group (DEG). This is just the same string as the one returned by toString(). (FIXME: is this correct?)

HBCI::MessageReference::~MessageReference  
 

Destructor


Member Function Documentation

int HBCI::MessageReference::cmp const MessageReference &    other const
 

Comparison. Returns -1 when this MessageReference is smaller than the other, returns 0 when equal, and returns 1 when this one is greater than the other. The dialogId are compared lexicographically, and the messageNumber numerically.

const string& HBCI::MessageReference::dialogId   const [inline]
 

Returns the dialog id.

int HBCI::MessageReference::messageNumber   const [inline]
 

Returns the message number.

bool HBCI::MessageReference::operator== const MessageReference &    ref const
 

Equality

string HBCI::MessageReference::toString   const
 

Returns the HBCI-representation of a message reference in one string.


The documentation for this class was generated from the following file:
Generated on Mon Jun 23 13:41:11 2003 for openhbci by doxygen1.2.17