fix8
version 1.4.0
Open Source C++ FIX Framework
|
Quickfix style sessionid. More...
#include <session.hpp>
Public Member Functions | |
SessionID (const f8String &beginString, const f8String &senderCompID, const f8String &targetCompID) | |
SessionID (const begin_string &beginString, const sender_comp_id &senderCompID, const target_comp_id &targetCompID) | |
SessionID (const f8String &from) | |
SessionID (const SessionID &from) | |
SessionID () | |
virtual | ~SessionID () |
Dtor. More... | |
F8API void | make_id () |
F8API SessionID | make_reverse_id () const |
F8API void | from_string (const f8String &from) |
Create a sessionid string. More... | |
const begin_string & | get_beginString () const |
const sender_comp_id & | get_senderCompID () const |
const target_comp_id & | get_targetCompID () const |
const f8String & | get_id () const |
bool | same_sender_comp_id (const target_comp_id &targetCompID) const |
bool | same_target_comp_id (const sender_comp_id &senderCompID) const |
bool | same_side_target_comp_id (const target_comp_id &targetCompID) const |
bool | same_side_sender_comp_id (const sender_comp_id &senderCompID) const |
bool | operator== (const SessionID &that) |
bool | operator!= (const SessionID &that) |
Private Attributes | |
begin_string | _beginString |
sender_comp_id | _senderCompID |
target_comp_id | _targetCompID |
f8String | _id |
f8String | _rid |
Static Private Attributes | |
static RegExp | _sid |
Friends | |
std::ostream & | operator<< (std::ostream &os, const SessionID &what) |
Quickfix style sessionid.
Definition at line 46 of file session.hpp.
|
inline |
Ctor.
beginString | Fix begin string |
senderCompID | Fix senderCompID string |
targetCompID | Fix targetCompID string |
Definition at line 61 of file session.hpp.
References make_id().
|
inline |
Ctor.
beginString | Fix begin string field |
senderCompID | Fix senderCompID string field |
targetCompID | Fix targetCompID string field |
Definition at line 68 of file session.hpp.
References make_id().
|
inline |
Ctor.
from | SessionID string |
Definition at line 73 of file session.hpp.
References from_string().
|
inline |
|
inline |
Definition at line 80 of file session.hpp.
|
inlinevirtual |
void SessionID::from_string | ( | const f8String & | from | ) |
Create a sessionid string.
Definition at line 87 of file session.cpp.
Referenced by SessionID().
|
inline |
Get the beginstring field.
Definition at line 97 of file session.hpp.
References _beginString.
|
inline |
Get the target_comp_id field.
Definition at line 109 of file session.hpp.
References _id.
|
inline |
Get the sender_comp_id field.
Definition at line 101 of file session.hpp.
References _senderCompID.
Referenced by FIX8::Configuration::create_persister(), FIX8::Configuration::get_logname(), FIX8::Session::handle_logon(), and FIX8::Session::send_process().
|
inline |
Get the target_comp_id field.
Definition at line 105 of file session.hpp.
References _targetCompID.
Referenced by FIX8::Configuration::create_persister(), FIX8::Configuration::get_logname(), and FIX8::Session::send_process().
void SessionID::make_id | ( | ) |
Create a sessionid and reverse sessionid strings.
Definition at line 73 of file session.cpp.
Referenced by SessionID().
SessionID SessionID::make_reverse_id | ( | ) | const |
Create a reverse SessionID from the current SessionID
Definition at line 81 of file session.cpp.
|
inline |
SessionID inequivalence operator
that | SessionID to check |
Definition at line 142 of file session.hpp.
References _senderCompID, and _targetCompID.
|
inline |
SessionID equivalence operator
that | SessionID to check |
Definition at line 134 of file session.hpp.
References _senderCompID, and _targetCompID.
|
inline |
Sendercompid equivalence function..
targetCompID | compid to check |
Definition at line 114 of file session.hpp.
References _senderCompID.
|
inline |
Targetcompid equivalence function..
senderCompID | compid to check |
Definition at line 129 of file session.hpp.
References _senderCompID.
|
inline |
targetcompid equivalence function..
targetCompID | compid to check |
Definition at line 124 of file session.hpp.
References _targetCompID.
|
inline |
Sendercompid equivalence function..
senderCompID | compid to check |
Definition at line 119 of file session.hpp.
References _targetCompID.
|
friend |
Inserter friend.
os | stream to send to |
what | SessionID |
Definition at line 151 of file session.hpp.
|
private |
Definition at line 50 of file session.hpp.
Referenced by get_beginString().
|
private |
Definition at line 54 of file session.hpp.
Referenced by get_id().
|
private |
Definition at line 54 of file session.hpp.
|
private |
Definition at line 51 of file session.hpp.
Referenced by get_senderCompID(), operator!=(), operator==(), same_sender_comp_id(), and same_side_sender_comp_id().
|
staticprivate |
Definition at line 48 of file session.hpp.
|
private |
Definition at line 52 of file session.hpp.
Referenced by get_targetCompID(), operator!=(), operator==(), same_side_target_comp_id(), and same_target_comp_id().