FIX Namespace Reference

## Namespaces

| FIELD
| TYPE

## Classes

class | Acceptor
| Base for classes which act as an acceptor for incoming connections. More...
class | Application
| This interface must be implemented to define what your FIX application does. More...
class | atomic_count
| Atomic count class - consider using interlocked functions. More...
struct | BoolConvertor
| Converts boolean to/from a string. More...
class | BoolField
| Field that contains a boolean value. More...
struct | CharConvertor
| Converts character to/from a string. More...
class | CharField
| Field that contains a character value. More...
struct | CheckSumConvertor
| Converts checksum to/from a string. More...
class | CheckSumField
| Field that contains a checksum value. More...
struct | ConfigError
| Application is not configured correctly More...
class | ConnectorWrapper
| Handles events from SocketMonitor for client connections. More...
class | DatabaseConnectionID
class | DatabaseConnectionPool
class | DataDictionary
| Represents a data dictionary for a version of FIX. More...
struct | DataDictionaryNotFound
| DataDictionary not found for BeginString or ApplVerID. More...
class | DataDictionaryProvider
| Queries for DataDictionary based on appropriate version of FIX. More...
struct | DateTime
class | Dictionary
| For storage and retrieval of key/value pairs. More...
class | DOMAttributes
| Interface that represents attribute from underlying XML parser. More...
class | DOMDocument
| Interface that represents document of underlying XML parser. More...
class | DOMNode
| Interface that represents node from underlying XML parser. More...
struct | DoNotSend
| Indicates user does not want to send a message. More...
struct | DoubleConvertor
| Converts double to/from a string. More...
class | DoubleField
| Field that contains a double value. More...
struct | DuplicateFieldNumber
| Field shows up twice in the message. More...
struct | EmptyConvertor
| Empty converter is a no-op. More...
class | Event
| Portable implementation of an event/conditional mutex. More...
struct | Exception
| Base QuickFIX exception type. More...
class | FieldBase
| Base representation of all Field classes. More...
struct | FieldConvertError
| Unable to convert field into its native format. More...
class | FieldMap
| Stores and organizes a collection of Fields. More...
struct | FieldNotFound
| Field not found inside a message. More...
class | FileLog
| File based implementation of Log. More...
class | FileLogFactory
| Creates a file based implementation of Log. More...
class | FileStore
| File based implementation of MessageStore. More...
class | FileStoreFactory
| Creates a file based implementation of MessageStore. More...
class | Group
| Base class for all FIX repeating groups. More...
struct | group_order
| Sorts fields in correct group order. More...
class | Header
struct | header_order
| Sorts fields in correct header order. More...
class | HttpConnection
| Encapsulates a HTTP socket file descriptor. More...
class | HttpMessage
| HTTP Message that implemented GET functionality. More...
class | HttpParser
| Parses HTTP messages off an input stream. More...
class | HttpServer
| Basic HTTP Server. More...
struct | IncorrectDataFormat
| Field has a badly formatted value. More...
struct | IncorrectMessageStructure
| Message is not structured correctly. More...
struct | IncorrectTagValue
| Field has a value that is out of range. More...
class | Initiator
| Base for classes which act as an initiator for establishing connections. More...
struct | IntConvertor
| Converts integer to/from a string. More...
class | IntField
| Field that contains an integer value. More...
struct | InvalidMessage
| Not a recognizable message. More...
struct | InvalidMessageType
| Not a known message type. More...
struct | InvalidTagNumber
| Tag number does not exist in specification. More...
struct | IOException
| IO Error. More...
class | LocalDate
| Date only represented in local time. More...
class | LocalTimeOnly
| Time only represented in local time. More...
class | LocalTimeStamp
| Date and Time represented in local time. More...
class | Locker
| Locks/Unlocks a mutex using RAII. More...
class | Log
| This interface must be implemented to log messages and events. More...
class | LogFactory
| This interface must be implemented to create a Log. More...
class | MemoryStore
| Memory based implementation of MessageStore. More...
class | MemoryStoreFactory
| Creates a memory based implementation of MessageStore. More...
class | Message
| Base class for all FIX messages. More...
struct | message_order
| Sorts fields in header, normal, or trailer order. More...
class | MessageCracker
| Takes in a generic Message and produces an object that represents its specific version and message type. More...
struct | MessageParseError
| Unable to parse message. More...
class | MessageStore
| This interface must be implemented to store and retrieve messages and sequence numbers. More...
class | MessageStoreExceptionWrapper
class | MessageStoreFactory
| This interface must be implemented to create a MessageStore. More...
class | MessageStoreFactoryExceptionWrapper
class | Mutex
| Portable implementation of a mutex. More...
struct | NoTagValue
| Field exists in message without a value. More...
class | NullApplication
| An empty implementation of an Application. More...
class | NullLog
| Null implementation of Log. More...
class | NullStore
| Null implementation of MessageStore. More...
class | NullStoreFactory
| Null implementation of MessageStore. More...
class | Parser
| Parses FIX messages off an input stream. More...
class | PUGIXML_DOMAttributes
| XML attribute as represented by pugixml. More...
class | PUGIXML_DOMDocument
| XML document as represented by pugixml. More...
class | PUGIXML_DOMNode
| XML node as represented by pugixml. More...
class | Queue
| A thread safe monitored queue. More...
struct | RejectLogon
| User wants to reject permission to logon. More...
struct | RepeatedTag
| Repeated tag not part of repeating group. More...
struct | RepeatingGroupCountMismatch
| Repeated group count not equal to actual count. More...
struct | RequiredTagMissing
| Required field is not in message. More...
class | Responder
| Interface implements sending on and disconnecting a transport. More...
class | ReverseLocker
| Does the opposite of the Locker to ensure mutex ends up in a locked state. More...
struct | RuntimeError
| Application encountered serious error during runtime More...
class | ScreenLog
| Screen based implementation of Log. More...
class | ScreenLogFactory
| Creates a screen based implementation of Log. More...
class | ServerWrapper
| Handles events from SocketMonitor for server connections. More...
class | Session
| Maintains the state and implements the logic of a FIX session. More...
class | SessionFactory
| Responsible for creating Session objects. More...
class | SessionID
| Unique session id consists of BeginString, SenderCompID and TargetCompID. More...
struct | SessionNotFound
| Session cannot be found for specified action. More...
class | SessionSettings
| Container for setting dictionaries mapped to sessions. More...
class | SessionState
| Maintains all of state for the Session class. More...
class | Settings
| Internal representation of QuickFIX configuration settings. More...
class | shared_array
| Shared array with atomic reference count. More...
class | SocketAcceptor
| Socket implementation of Acceptor. More...
struct | SocketCloseFailed
| Socket close operation failed. More...
class | SocketConnection
| Encapsulates a socket file descriptor (single-threaded). More...
class | SocketConnector
| Connects sockets to remote ports and addresses. More...
struct | SocketException
| Socket Error. More...
struct | SocketInfo
| Information about listening socket. More...
class | SocketInitiator
| Socket implementation of Initiator. More...
class | SocketMonitor
| Monitors events on a collection of sockets. More...
struct | SocketRecvFailed
| Socket recv operation failed. More...
struct | SocketSendFailed
| Socket send operation failed. More...
class | SocketServer
| Listens for and accepts incoming socket connections on a port. More...
class | StringField
| MSC doesn't support partial template specialization so we have this. More...
class | SynchronizedApplication
| This is a special implementation of the Application interface that takes in another Application interface and synchronizes all of its callbacks. More...
struct | TagNotDefinedForMessage
| Field does not belong to message. More...
struct | TagOutOfOrder
| Tag is not in the correct order. More...
class | ThreadedSocketAcceptor
| Threaded Socket implementation of Acceptor. More...
class | ThreadedSocketConnection
| Encapsulates a socket file descriptor (multi-threaded). More...
class | ThreadedSocketInitiator
| Threaded Socket implementation of Initiator. More...
class | TimeRange
| Keeps track of when session is active. More...
class | Trailer
struct | trailer_order
| Sorts fields in correct trailer order. More...
struct | UnsupportedMessageType
| Message type not supported by application. More...
struct | UnsupportedVersion
| Version of FIX is not supported. More...
class | UtcDate
| Date only represented in UTC. More...
struct | UtcDateConvertor
| Converts a UtcDate to/from a string. More...
class | UtcDateField
| Field that contains a UTC date value. More...
class | UtcTimeOnly
| Time only represented in UTC. More...
struct | UtcTimeOnlyConvertor
| Converts a UtcTimeOnly to/from a string. More...
class | UtcTimeOnlyField
| Field that contains a UTC time value. More...
class | UtcTimeStamp
| Date and Time represented in UTC. More...
struct | UtcTimeStampConvertor
| Converts a UtcTimeStamp to/from a string. More...
class | UtcTimeStampField
| Field that contains a UTC time stamp value. More...

## Typedefs

typedef SmartPtr< DOMAttributes > | DOMAttributesPtr
typedef SmartPtr< DOMNode > | DOMNodePtr
typedef SmartPtr< DOMDocument > | DOMDocumentPtr
typedef DoubleField | PriceField
typedef DoubleField | AmtField
typedef DoubleField | QtyField
typedef StringField | CurrencyField
typedef StringField | MultipleValueStringField
typedef StringField | MultipleStringValueField
typedef StringField | MultipleCharValueField
typedef StringField | ExchangeField
typedef StringField | LocalMktDateField
typedef StringField | DataField
typedef DoubleField | FloatField
typedef DoubleField | PriceOffsetField
typedef StringField | MonthField
typedef StringField | MonthYearField
typedef StringField | DayOfMonthField
typedef UtcDateField | UtcDateOnlyField
typedef IntField | LengthField
typedef IntField | NumInGroupField
typedef IntField | SeqNumField
typedef DoubleField | PercentageField
typedef StringField | CountryField
typedef StringField | TzTimeOnlyField
typedef StringField | TzTimeStampField
typedef int | signed_int
typedef unsigned int | unsigned_int
typedef EmptyConvertor | StringConvertor
typedef UtcDateConvertor | UtcDateOnlyConvertor
typedef StringConvertor | STRING_CONVERTOR
typedef CharConvertor | CHAR_CONVERTOR
typedef DoubleConvertor | PRICE_CONVERTOR
typedef IntConvertor | INT_CONVERTOR
typedef DoubleConvertor | AMT_CONVERTOR
typedef DoubleConvertor | QTY_CONVERTOR
typedef StringConvertor | CURRENCY_CONVERTOR
typedef StringConvertor | MULTIPLEVALUESTRING_CONVERTOR
typedef StringConvertor | MULTIPLESTRINGVALUE_CONVERTOR
typedef StringConvertor | MULTIPLECHARVALUE_CONVERTOR
typedef StringConvertor | EXCHANGE_CONVERTOR
typedef UtcTimeStampConvertor | UTCTIMESTAMP_CONVERTOR
typedef BoolConvertor | BOOLEAN_CONVERTOR
typedef StringConvertor | LOCALMKTDATE_CONVERTOR
typedef StringConvertor | DATA_CONVERTOR
typedef DoubleConvertor | FLOAT_CONVERTOR
typedef DoubleConvertor | PRICEOFFSET_CONVERTOR
typedef StringConvertor | MONTHYEAR_CONVERTOR
typedef StringConvertor | DAYOFMONTH_CONVERTOR
typedef UtcDateConvertor | UTCDATE_CONVERTOR
typedef UtcTimeOnlyConvertor | UTCTIMEONLY_CONVERTOR
typedef IntConvertor | NUMINGROUP_CONVERTOR
typedef DoubleConvertor | PERCENTAGE_CONVERTOR
typedef IntConvertor | SEQNUM_CONVERTOR
typedef IntConvertor | LENGTH_CONVERTOR
typedef StringConvertor | COUNTRY_CONVERTOR
typedef StringConvertor | TZTIMEONLY_CONVERTOR
typedef StringConvertor | TZTIMESTAMP_CONVERTOR
typedef StringConvertor | XMLDATA_CONVERTOR
typedef StringConvertor | LANGUAGE_CONVERTOR
typedef CheckSumConvertor | CHECKSUM_CONVERTOR
typedef UtcDate | UtcDateOnly
typedef std::string | STRING
typedef char | CHAR
typedef double | PRICE
typedef int | INT
typedef double | AMT
typedef double | QTY
typedef std::string | CURRENCY
typedef std::string | MULTIPLEVALUESTRING
typedef std::string | MULTIPLESTRINGVALUE
typedef std::string | MULTIPLECHARVALUE
typedef std::string | EXCHANGE
typedef UtcTimeStamp | UTCTIMESTAMP
typedef bool | BOOLEAN
typedef std::string | LOCALMKTDATE
typedef std::string | DATA
typedef double | FLOAT
typedef double | PRICEOFFSET
typedef std::string | MONTHYEAR
typedef std::string | DAYOFMONTH
typedef UtcDate | UTCDATE
typedef UtcDateOnly | UTCDATEONLY
typedef UtcTimeOnly | UTCTIMEONLY
typedef int | NUMINGROUP
typedef double | PERCENTAGE
typedef int | SEQNUM
typedef int | LENGTH
typedef std::string | COUNTRY
typedef std::string | TZTIMEONLY
typedef std::string | TZTIMESTAMP
typedef std::string | XMLDATA
typedef std::string | LANGUAGE
typedef std::less< int > | normal_order
typedef void *() | THREAD_START_ROUTINE(void *)
typedef pthread_t | thread_id

## Functions

bool | operator< (const DatabaseConnectionID &lhs, const DatabaseConnectionID &rhs)
bool | operator== (const DatabaseConnectionID &lhs, const DatabaseConnectionID &rhs)
bool | operator!= (const DatabaseConnectionID &lhs, const DatabaseConnectionID &rhs)
std::ostream & | operator<< (std::ostream &stream, const FieldBase &field)
void | swap (FieldBase &lhs, FieldBase &rhs)
bool | operator< (const StringField &lhs, const char *rhs)
bool | operator< (const char *lhs, const StringField &rhs)
bool | operator> (const StringField &lhs, const char *rhs)
bool | operator> (const char *lhs, const StringField &rhs)
bool | operator== (const StringField &lhs, const char *rhs)
bool | operator== (const char *lhs, const StringField &rhs)
bool | operator!= (const StringField &lhs, const char *rhs)
bool | operator!= (const char *lhs, const StringField &rhs)
bool | operator<= (const StringField &lhs, const char *rhs)
bool | operator<= (const char *lhs, const StringField &rhs)
bool | operator>= (const StringField &lhs, const char *rhs)
bool | operator>= (const char *lhs, const StringField &rhs)
bool | operator< (const StringField &lhs, const std::string &rhs)
bool | operator< (const std::string &lhs, const StringField &rhs)
bool | operator> (const StringField &lhs, const std::string &rhs)
bool | operator> (const std::string &lhs, const StringField &rhs)
bool | operator== (const StringField &lhs, const std::string &rhs)
bool | operator== (const std::string &lhs, const StringField &rhs)
bool | operator!= (const StringField &lhs, const std::string &rhs)
bool | operator!= (const std::string &lhs, const StringField &rhs)
bool | operator<= (const StringField &lhs, const std::string &rhs)
bool | operator<= (const std::string &lhs, const StringField &rhs)
bool | operator>= (const StringField &lhs, const std::string &rhs)
bool | operator>= (const std::string &lhs, const StringField &rhs)
static double_conversion::DoubleToStringConverter | g_dtoa_converter (double_conversion::DoubleToStringConverter::NO_FLAGS, "INF", "NAN", 'e', -DoubleConvertor::SIGNIFICANT_DIGITS, DoubleConvertor::SIGNIFICANT_DIGITS, DoubleConvertor::SIGNIFICANT_DIGITS - 1, 0)
static double_conversion::StringToDoubleConverter | g_atod_converter (double_conversion::StringToDoubleConverter::NO_FLAGS, std::numeric_limits< double >::quiet_NaN(), std::numeric_limits< double >::quiet_NaN(), "INF", "NAN")
int | number_of_symbols_in (const signed_int value)
char * | integer_to_string (char *buf, const size_t len, signed_int t)
char * | integer_to_string_padded (char *buf, const size_t len, signed_int t, const char paddingChar='0')
bool | operator== (const DateTime &lhs, const DateTime &rhs)
bool | operator!= (const DateTime &lhs, const DateTime &rhs)
bool | operator< (const DateTime &lhs, const DateTime &rhs)
bool | operator> (const DateTime &lhs, const DateTime &rhs)
bool | operator<= (const DateTime &lhs, const DateTime &rhs)
bool | operator>= (const DateTime &lhs, const DateTime &rhs)
int | operator- (const DateTime &lhs, const DateTime &rhs)
| Calculate the difference between two DateTime values and return the result as a number of seconds. More...
std::ostream & | operator<< (std::ostream &stream, const HttpMessage &message)
std::ostream & | operator<< (std::ostream &stream, const Message &message)
MsgType | identifyType (const std::string &message) throw ( MessageParseError )
| Parse the type of a message from a string. More...
bool | operator< (const SessionID &lhs, const SessionID &rhs)
bool | operator== (const SessionID &lhs, const SessionID &rhs)
bool | operator!= (const SessionID &lhs, const SessionID &rhs)
std::ostream & | operator<< (std::ostream &stream, const SessionID &sessionID)
std::istream & | operator>> (std::istream &stream, SessionID &sessionID)
std::istream & | operator>> (std::istream &stream, SessionSettings &s) throw ( ConfigError )
std::ostream & | operator<< (std::ostream &stream, const SessionSettings &s)
bool | isComment (const std::string &line)
bool | isSection (const std::string &line)
std::string | splitSection (const std::string &line)
bool | isKeyValue (const std::string &line)
std::pair< std::string, std::string > | splitKeyValue (const std::string &line)
std::string | resolveEnvVars (const std::string &str)
std::istream & | operator>> (std::istream &stream, Settings &s)
void | string_replace (const std::string &oldValue, const std::string &newValue, std::string &value)
std::string | string_toUpper (const std::string &value)
std::string | string_toLower (const std::string &value)
std::string | string_strip (const std::string &value)
void | socket_init ()
void | socket_term ()
int | socket_bind (int socket, const char *hostname, int port)
int | socket_createAcceptor (int port, bool reuse)
int | socket_createConnector ()
int | socket_connect (int socket, const char *address, int port)
int | socket_accept (int s)
ssize_t | socket_recv (int s, char *buf, size_t length)
ssize_t | socket_send (int s, const char *msg, size_t length)
void | socket_close (int s)
bool | socket_fionread (int s, int &bytes)
bool | socket_disconnected (int s)
int | socket_setsockopt (int s, int opt)
int | socket_setsockopt (int s, int opt, int optval)
int | socket_getsockopt (int s, int opt, int &optval)
int | socket_fcntl (int s, int opt, int arg)
int | socket_getfcntlflag (int s, int arg)
int | socket_setfcntlflag (int s, int arg)
void | socket_setnonblock (int socket)
bool | socket_isValid (int socket)
bool | socket_isBad (int s)
void | socket_invalidate (int &socket)
short | socket_hostport (int socket)
const char * | socket_hostname (int socket)
const char * | socket_hostname (const char *name)
const char * | socket_peername (int socket)
std::pair< int, int > | socket_createpair ()
tm | time_gmtime (const time_t *t)
tm | time_localtime (const time_t *t)
bool | thread_spawn (THREAD_START_ROUTINE func, void *var, thread_id &thread)
bool | thread_spawn (THREAD_START_ROUTINE func, void *var)
void | thread_join (thread_id thread)
void | thread_detach (thread_id thread)
thread_id | thread_self ()
void | process_sleep (double s)
std::string | file_separator ()
void | file_mkdir (const char *path)
FILE * | file_fopen (const char *path, const char *mode)
void | file_fclose (FILE *file)
bool | file_exists (const char *path)
void | file_unlink (const char *path)
int | file_rename (const char *oldpath, const char *newpath)
std::string | file_appendpath (const std::string &path, const std::string &file)

## Variables

static const char | digit_pairs [201]
static const int | PRECISION_FACTOR [10] = {1000000000, 100000000, 10000000, 1000000, 100000, 10000, 1000, 100, 10, 1}
| Date and Time stored as a Julian day number and number of nanoseconds since midnight. More...
const int | headerOrder []
const char | BEGINSTRING [] = "BeginString"
const char | SENDERCOMPID [] = "SenderCompID"
const char | TARGETCOMPID [] = "TargetCompID"
const char | SESSION_QUALIFIER [] = "SessionQualifier"
const char | DEFAULT_APPLVERID [] = "DefaultApplVerID"
const char | CONNECTION_TYPE [] = "ConnectionType"
const char | USE_DATA_DICTIONARY [] = "UseDataDictionary"
const char | SEND_RESETSEQNUMFLAG [] = "SendResetSeqNumFlag"
const char | SEND_REDUNDANT_RESENDREQUESTS [] = "SendRedundantResendRequests"
const char | DATA_DICTIONARY [] = "DataDictionary"
const char | TRANSPORT_DATA_DICTIONARY [] = "TransportDataDictionary"
const char | APP_DATA_DICTIONARY [] = "AppDataDictionary"
const char | USE_LOCAL_TIME [] = "UseLocalTime"
const char | START_TIME [] = "StartTime"
const char | END_TIME [] = "EndTime"
const char | START_DAY [] = "StartDay"
const char | END_DAY [] = "EndDay"
const char | LOGON_TIME [] = "LogonTime"
const char | LOGOUT_TIME [] = "LogoutTime"
const char | LOGON_DAY [] = "LogonDay"
const char | LOGOUT_DAY [] = "LogoutDay"
const char | CHECK_COMPID [] = "CheckCompID"
const char | CHECK_LATENCY [] = "CheckLatency"
const char | MAX_LATENCY [] = "MaxLatency"
const char | HEARTBTINT [] = "HeartBtInt"
const char | SOCKET_ACCEPT_PORT [] = "SocketAcceptPort"
const char | SOCKET_REUSE_ADDRESS [] = "SocketReuseAddress"
const char | SOCKET_CONNECT_HOST [] = "SocketConnectHost"
const char | SOCKET_CONNECT_PORT [] = "SocketConnectPort"
const char | SOCKET_CONNECT_SOURCE_HOST [] = "SocketConnectSourceHost"
const char | SOCKET_CONNECT_SOURCE_PORT [] = "SocketConnectSourcePort"
const char | SOCKET_NODELAY [] = "SocketNodelay"
const char | SOCKET_SEND_BUFFER_SIZE [] = "SocketSendBufferSize"
const char | SOCKET_RECEIVE_BUFFER_SIZE [] = "SocketReceiveBufferSize"
const char | RECONNECT_INTERVAL [] = "ReconnectInterval"
const char | VALIDATE_LENGTH_AND_CHECKSUM [] = "ValidateLengthAndChecksum"
const char | VALIDATE_FIELDS_OUT_OF_ORDER [] = "ValidateFieldsOutOfOrder"
const char | VALIDATE_FIELDS_HAVE_VALUES [] = "ValidateFieldsHaveValues"
const char | VALIDATE_USER_DEFINED_FIELDS [] = "ValidateUserDefinedFields"
const char | ALLOW_UNKNOWN_MSG_FIELDS [] = "AllowUnknownMsgFields"
const char | PRESERVE_MESSAGE_FIELDS_ORDER [] = "PreserveMessageFieldsOrder"
const char | LOGON_TIMEOUT [] = "LogonTimeout"
const char | LOGOUT_TIMEOUT [] = "LogoutTimeout"
const char | FILE_STORE_PATH [] = "FileStorePath"
const char | MYSQL_STORE_USECONNECTIONPOOL [] = "MySQLStoreUseConnectionPool"
const char | MYSQL_STORE_DATABASE [] = "MySQLStoreDatabase"
const char | MYSQL_STORE_USER [] = "MySQLStoreUser"
const char | MYSQL_STORE_PASSWORD [] = "MySQLStorePassword"
const char | MYSQL_STORE_HOST [] = "MySQLStoreHost"
const char | MYSQL_STORE_PORT [] = "MySQLStorePort"
const char | POSTGRESQL_STORE_USECONNECTIONPOOL [] = "PostgreSQLStoreUseConnectionPool"
const char | POSTGRESQL_STORE_DATABASE [] = "PostgreSQLStoreDatabase"
const char | POSTGRESQL_STORE_USER [] = "PostgreSQLStoreUser"
const char | POSTGRESQL_STORE_PASSWORD [] = "PostgreSQLStorePassword"
const char | POSTGRESQL_STORE_HOST [] = "PostgreSQLStoreHost"
const char | POSTGRESQL_STORE_PORT [] = "PostgreSQLStorePort"
const char | ODBC_STORE_USER [] = "OdbcStoreUser"
const char | ODBC_STORE_PASSWORD [] = "OdbcStorePassword"
const char | ODBC_STORE_CONNECTION_STRING [] = "OdbcStoreConnectionString"
const char | FILE_LOG_PATH [] = "FileLogPath"
const char | FILE_LOG_BACKUP_PATH [] = "FileLogBackupPath"
const char | SCREEN_LOG_SHOW_INCOMING [] = "ScreenLogShowIncoming"
const char | SCREEN_LOG_SHOW_OUTGOING [] = "ScreenLogShowOutgoing"
const char | SCREEN_LOG_SHOW_EVENTS [] = "ScreenLogShowEvents"
const char | MYSQL_LOG_USECONNECTIONPOOL [] = "MySQLLogUseConnectionPool"
const char | MYSQL_LOG_DATABASE [] = "MySQLLogDatabase"
const char | MYSQL_LOG_USER [] = "MySQLLogUser"
const char | MYSQL_LOG_PASSWORD [] = "MySQLLogPassword"
const char | MYSQL_LOG_HOST [] = "MySQLLogHost"
const char | MYSQL_LOG_PORT [] = "MySQLLogPort"
const char | MYSQL_LOG_INCOMING_TABLE [] = "MySQLLogIncomingTable"
const char | MYSQL_LOG_OUTGOING_TABLE [] = "MySQLLogOutgoingTable"
const char | MYSQL_LOG_EVENT_TABLE [] = "MySQLLogEventTable"
const char | POSTGRESQL_LOG_USECONNECTIONPOOL [] = "PostgreSQLLogUseConnectionPool"
const char | POSTGRESQL_LOG_DATABASE [] = "PostgreSQLLogDatabase"
const char | POSTGRESQL_LOG_USER [] = "PostgreSQLLogUser"
const char | POSTGRESQL_LOG_PASSWORD [] = "PostgreSQLLogPassword"
const char | POSTGRESQL_LOG_HOST [] = "PostgreSQLLogHost"
const char | POSTGRESQL_LOG_PORT [] = "PostgreSQLLogPort"
const char | POSTGRESQL_LOG_INCOMING_TABLE [] = "PostgreSQLLogIncomingTable"
const char | POSTGRESQL_LOG_OUTGOING_TABLE [] = "PostgreSQLLogOutgoingTable"
const char | POSTGRESQL_LOG_EVENT_TABLE [] = "PostgreSQLLogEventTable"
const char | ODBC_LOG_USER [] = "OdbcLogUser"
const char | ODBC_LOG_PASSWORD [] = "OdbcLogPassword"
const char | ODBC_LOG_CONNECTION_STRING [] = "OdbcLogConnectionString"
const char | ODBC_LOG_INCOMING_TABLE [] = "OdbcLogIncomingTable"
const char | ODBC_LOG_OUTGOING_TABLE [] = "OdbcLogOutgoingTable"
const char | ODBC_LOG_EVENT_TABLE [] = "OdbcLogEventTable"
const char | RESET_ON_LOGON [] = "ResetOnLogon"
const char | RESET_ON_LOGOUT [] = "ResetOnLogout"
const char | RESET_ON_DISCONNECT [] = "ResetOnDisconnect"
const char | REFRESH_ON_LOGON [] = "RefreshOnLogon"
const char | MILLISECONDS_IN_TIMESTAMP [] = "MillisecondsInTimeStamp"
const char | TIMESTAMP_PRECISION [] = "TimestampPrecision"
const char | HTTP_ACCEPT_PORT [] = "HttpAcceptPort"
const char | PERSIST_MESSAGES [] = "PersistMessages"
const char | SERVER_CERT_FILE [] = "ServerCertificateFile"
const char | SERVER_CERT_KEY_FILE [] = "ServerCertificateKeyFile"
const char | CLIENT_CERT_FILE [] = "ClientCertificateFile"
const char | CLIENT_CERT_KEY_FILE [] = "ClientCertificateKeyFile"
const char | CERT_AUTH_FILE [] = "CertificationAuthoritiesFile"
const char | CERT_AUTH_DIR [] = "CertificationAuthoritiesDirectory"
const char | CRL_FILE [] = "CertificateRevocationListFile"
const char | CRL_DIR [] = "CertificateRevocationListDirectory"
const char | VERIFY_LEVEL [] = "CertificateVerifyLevel"
const char | SSL_PROTOCOL [] = "SSLProtocol"
const char | SSL_CIPHER_SUITE [] = "SSLCipherSuite"
const char | BeginString_FIXT11 [] = "FIXT.1.1"
const char | BeginString_FIX50 [] = "FIX.5.0"
const char | BeginString_FIX44 [] = "FIX.4.4"
const char | BeginString_FIX43 [] = "FIX.4.3"
const char | BeginString_FIX42 [] = "FIX.4.2"
const char | BeginString_FIX41 [] = "FIX.4.1"
const char | BeginString_FIX40 [] = "FIX.4.0"
const char | SessionRejectReason_INVALID_TAG_NUMBER_TEXT [] = "Invalid tag number"
const char | SessionRejectReason_REQUIRED_TAG_MISSING_TEXT [] = "Required tag missing"
const char | SessionRejectReason_TAG_NOT_DEFINED_FOR_THIS_MESSAGE_TYPE_TEXT [] = "Tag not defined for this message type"
const char | SessionRejectReason_UNDEFINED_TAG_TEXT [] = "Undefined Tag"
const char | SessionRejectReason_TAG_SPECIFIED_WITHOUT_A_VALUE_TEXT [] = "Tag specified without a value"
const char | SessionRejectReason_VALUE_IS_INCORRECT_TEXT [] = "Value is incorrect (out of range) for this tag"
const char | SessionRejectReason_INCORRECT_DATA_FORMAT_FOR_VALUE_TEXT [] = "Incorrect data format for value"
const char | SessionRejectReason_DECRYPTION_PROBLEM_TEXT [] = "Decryption problem"
const char | SessionRejectReason_SIGNATURE_PROBLEM_TEXT [] = "Signature problem"
const char | SessionRejectReason_COMPID_PROBLEM_TEXT [] = "CompID problem"
const char | SessionRejectReason_SENDINGTIME_ACCURACY_PROBLEM_TEXT [] = "SendingTime accuracy problem"
const char | SessionRejectReason_INVALID_MSGTYPE_TEXT [] = "Invalid MsgType"
const char | SessionRejectReason_TAG_APPEARS_MORE_THAN_ONCE_TEXT [] = "Tag appears more than once"
const char | SessionRejectReason_TAG_SPECIFIED_OUT_OF_REQUIRED_ORDER_TEXT [] = "Tag specified out of required order"
const char | SessionRejectReason_INCORRECT_NUMINGROUP_COUNT_FOR_REPEATING_GROUP_TEXT [] = "Incorrect NumInGroup count for repeating group"
const char | BusinessRejectReason_OTHER_TEXT [] = "Other"
const char | BusinessRejectReason_UNKNOWN_ID_TEXT [] = "Unknown ID"
const char | BusinessRejectReason_UNKNOWN_SECURITY_TEXT [] = "Unknown Security"
const char | BusinessRejectReason_UNSUPPORTED_MESSAGE_TYPE_TEXT [] = "Unsupported Message Type"
const char | BusinessRejectReason_APPLICATION_NOT_AVAILABLE_TEXT [] = "Application Not Available"
const char | BusinessRejectReason_CONDITIONALLY_REQUIRED_FIELD_MISSING_TEXT [] = "Conditionally Required Field Missing"
const char | BusinessRejectReason_NOT_AUTHORIZED_TEXT [] = "Not Authorized"
const char | BusinessRejectReason_DELIVERTO_FIRM_NOT_AVAILABLE_AT_THIS_TIME_TEXT [] = "Deliver to firm not available at this time"

## Typedef Documentation

## AMT

typedef double FIX::AMT

Definition at line 896 of file FieldTypes.h.

## AMT_CONVERTOR

typedef DoubleConvertor FIX::AMT_CONVERTOR

Definition at line 705 of file FieldConvertors.h.

## AmtField

typedef DoubleField FIX::AmtField

Definition at line 561 of file Field.h.

## BOOLEAN

typedef bool FIX::BOOLEAN

Definition at line 904 of file FieldTypes.h.

## BOOLEAN_CONVERTOR

typedef BoolConvertor FIX::BOOLEAN_CONVERTOR

Definition at line 713 of file FieldConvertors.h.

## CHAR

typedef char FIX::CHAR

Definition at line 893 of file FieldTypes.h.

## CHAR_CONVERTOR

typedef CharConvertor FIX::CHAR_CONVERTOR

Definition at line 702 of file FieldConvertors.h.

## CHECKSUM_CONVERTOR

typedef CheckSumConvertor FIX::CHECKSUM_CONVERTOR

Definition at line 731 of file FieldConvertors.h.

## COUNTRY

typedef std::string FIX::COUNTRY

Definition at line 918 of file FieldTypes.h.

## COUNTRY_CONVERTOR

typedef StringConvertor FIX::COUNTRY_CONVERTOR

Definition at line 726 of file FieldConvertors.h.

## CountryField

typedef StringField FIX::CountryField

Definition at line 580 of file Field.h.

## CURRENCY

typedef std::string FIX::CURRENCY

Definition at line 898 of file FieldTypes.h.

## CURRENCY_CONVERTOR

typedef StringConvertor FIX::CURRENCY_CONVERTOR

Definition at line 707 of file FieldConvertors.h.

## CurrencyField

typedef StringField FIX::CurrencyField

Definition at line 563 of file Field.h.

## DATA

typedef std::string FIX::DATA

Definition at line 906 of file FieldTypes.h.

## DATA_CONVERTOR

typedef StringConvertor FIX::DATA_CONVERTOR

Definition at line 715 of file FieldConvertors.h.

## DataField

typedef StringField FIX::DataField

Definition at line 569 of file Field.h.

## DAYOFMONTH

typedef std::string FIX::DAYOFMONTH

Definition at line 910 of file FieldTypes.h.

## DAYOFMONTH_CONVERTOR

typedef StringConvertor FIX::DAYOFMONTH_CONVERTOR

Definition at line 719 of file FieldConvertors.h.

## DayOfMonthField

typedef StringField FIX::DayOfMonthField

Definition at line 574 of file Field.h.

## DOMAttributesPtr

typedef SmartPtr<DOMAttributes> FIX::DOMAttributesPtr

Definition at line 45 of file DOMDocument.h.

## DOMDocumentPtr

typedef SmartPtr<DOMDocument> FIX::DOMDocumentPtr

Definition at line 73 of file DOMDocument.h.

## DOMNodePtr

typedef SmartPtr<DOMNode> FIX::DOMNodePtr

Definition at line 59 of file DOMDocument.h.

## EXCHANGE

typedef std::string FIX::EXCHANGE

Definition at line 902 of file FieldTypes.h.

## EXCHANGE_CONVERTOR

typedef StringConvertor FIX::EXCHANGE_CONVERTOR

Definition at line 711 of file FieldConvertors.h.

## ExchangeField

typedef StringField FIX::ExchangeField

Definition at line 567 of file Field.h.

## FLOAT

typedef double FIX::FLOAT

Definition at line 907 of file FieldTypes.h.

## FLOAT_CONVERTOR

typedef DoubleConvertor FIX::FLOAT_CONVERTOR

Definition at line 716 of file FieldConvertors.h.

## FloatField

typedef DoubleField FIX::FloatField

Definition at line 570 of file Field.h.

## INT

typedef int FIX::INT

Definition at line 895 of file FieldTypes.h.

## INT_CONVERTOR

typedef IntConvertor FIX::INT_CONVERTOR

Definition at line 704 of file FieldConvertors.h.

## LANGUAGE

typedef std::string FIX::LANGUAGE

Definition at line 922 of file FieldTypes.h.

## LANGUAGE_CONVERTOR

typedef StringConvertor FIX::LANGUAGE_CONVERTOR

Definition at line 730 of file FieldConvertors.h.

## LENGTH

typedef int FIX::LENGTH

Definition at line 917 of file FieldTypes.h.

## LENGTH_CONVERTOR

typedef IntConvertor FIX::LENGTH_CONVERTOR

Definition at line 725 of file FieldConvertors.h.

## LengthField

typedef IntField FIX::LengthField

Definition at line 576 of file Field.h.

## LOCALMKTDATE

typedef std::string FIX::LOCALMKTDATE

Definition at line 905 of file FieldTypes.h.

## LOCALMKTDATE_CONVERTOR

typedef StringConvertor FIX::LOCALMKTDATE_CONVERTOR

Definition at line 714 of file FieldConvertors.h.

## LocalMktDateField

typedef StringField FIX::LocalMktDateField

Definition at line 568 of file Field.h.

## MonthField

typedef StringField FIX::MonthField

Definition at line 572 of file Field.h.

## MONTHYEAR

typedef std::string FIX::MONTHYEAR

Definition at line 909 of file FieldTypes.h.

## MONTHYEAR_CONVERTOR

typedef StringConvertor FIX::MONTHYEAR_CONVERTOR

Definition at line 718 of file FieldConvertors.h.

## MonthYearField

typedef StringField FIX::MonthYearField

Definition at line 573 of file Field.h.

## MULTIPLECHARVALUE

typedef std::string FIX::MULTIPLECHARVALUE

Definition at line 901 of file FieldTypes.h.

## MULTIPLECHARVALUE_CONVERTOR

typedef StringConvertor FIX::MULTIPLECHARVALUE_CONVERTOR

Definition at line 710 of file FieldConvertors.h.

## MultipleCharValueField

typedef StringField FIX::MultipleCharValueField

Definition at line 566 of file Field.h.

## MULTIPLESTRINGVALUE

typedef std::string FIX::MULTIPLESTRINGVALUE

Definition at line 900 of file FieldTypes.h.

## MULTIPLESTRINGVALUE_CONVERTOR

typedef StringConvertor FIX::MULTIPLESTRINGVALUE_CONVERTOR

Definition at line 709 of file FieldConvertors.h.

## MultipleStringValueField

typedef StringField FIX::MultipleStringValueField

Definition at line 565 of file Field.h.

## MULTIPLEVALUESTRING

typedef std::string FIX::MULTIPLEVALUESTRING

Definition at line 899 of file FieldTypes.h.

## MULTIPLEVALUESTRING_CONVERTOR

typedef StringConvertor FIX::MULTIPLEVALUESTRING_CONVERTOR

Definition at line 708 of file FieldConvertors.h.

## MultipleValueStringField

typedef StringField FIX::MultipleValueStringField

Definition at line 564 of file Field.h.

## normal_order

typedef std::less< int > FIX::normal_order

Definition at line 122 of file MessageSorters.h.

## NUMINGROUP

typedef int FIX::NUMINGROUP

Definition at line 914 of file FieldTypes.h.

## NUMINGROUP_CONVERTOR

typedef IntConvertor FIX::NUMINGROUP_CONVERTOR

Definition at line 722 of file FieldConvertors.h.

## NumInGroupField

typedef IntField FIX::NumInGroupField

Definition at line 577 of file Field.h.

## PERCENTAGE

typedef double FIX::PERCENTAGE

Definition at line 915 of file FieldTypes.h.

## PERCENTAGE_CONVERTOR

typedef DoubleConvertor FIX::PERCENTAGE_CONVERTOR

Definition at line 723 of file FieldConvertors.h.

## PercentageField

typedef DoubleField FIX::PercentageField

Definition at line 579 of file Field.h.

## PRICE

typedef double FIX::PRICE

Definition at line 894 of file FieldTypes.h.

## PRICE_CONVERTOR

typedef DoubleConvertor FIX::PRICE_CONVERTOR

Definition at line 703 of file FieldConvertors.h.

## PriceField

typedef DoubleField FIX::PriceField

Definition at line 560 of file Field.h.

## PRICEOFFSET

typedef double FIX::PRICEOFFSET

Definition at line 908 of file FieldTypes.h.

## PRICEOFFSET_CONVERTOR

typedef DoubleConvertor FIX::PRICEOFFSET_CONVERTOR

Definition at line 717 of file FieldConvertors.h.

## PriceOffsetField

typedef DoubleField FIX::PriceOffsetField

Definition at line 571 of file Field.h.

## QTY

typedef double FIX::QTY

Definition at line 897 of file FieldTypes.h.

## QTY_CONVERTOR

typedef DoubleConvertor FIX::QTY_CONVERTOR

Definition at line 706 of file FieldConvertors.h.

## QtyField

typedef DoubleField FIX::QtyField

Definition at line 562 of file Field.h.

## SEQNUM

typedef int FIX::SEQNUM

Definition at line 916 of file FieldTypes.h.

## SEQNUM_CONVERTOR

typedef IntConvertor FIX::SEQNUM_CONVERTOR

Definition at line 724 of file FieldConvertors.h.

## SeqNumField

typedef IntField FIX::SeqNumField

Definition at line 578 of file Field.h.

## signed_int

typedef int FIX::signed_int

Definition at line 60 of file FieldConvertors.h.

## STRING

typedef std::string FIX::STRING

Definition at line 892 of file FieldTypes.h.

## STRING_CONVERTOR

typedef StringConvertor FIX::STRING_CONVERTOR

Definition at line 701 of file FieldConvertors.h.

## StringConvertor

typedef EmptyConvertor FIX::StringConvertor

Definition at line 165 of file FieldConvertors.h.

## thread_id

typedef pthread_t FIX::thread_id

Definition at line 190 of file Utility.h.

## THREAD_START_ROUTINE

typedef void*() FIX::THREAD_START_ROUTINE(void *)

Definition at line 183 of file Utility.h.

## TZTIMEONLY

typedef std::string FIX::TZTIMEONLY

Definition at line 919 of file FieldTypes.h.

## TZTIMEONLY_CONVERTOR

typedef StringConvertor FIX::TZTIMEONLY_CONVERTOR

Definition at line 727 of file FieldConvertors.h.

## TzTimeOnlyField

typedef StringField FIX::TzTimeOnlyField

Definition at line 581 of file Field.h.

## TZTIMESTAMP

typedef std::string FIX::TZTIMESTAMP

Definition at line 920 of file FieldTypes.h.

## TZTIMESTAMP_CONVERTOR

typedef StringConvertor FIX::TZTIMESTAMP_CONVERTOR

Definition at line 728 of file FieldConvertors.h.

## TzTimeStampField

typedef StringField FIX::TzTimeStampField

Definition at line 582 of file Field.h.

## unsigned_int

typedef unsigned int FIX::unsigned_int

Definition at line 61 of file FieldConvertors.h.

## UTCDATE

typedef UtcDate FIX::UTCDATE

Definition at line 911 of file FieldTypes.h.

## UTCDATE_CONVERTOR

typedef UtcDateConvertor FIX::UTCDATE_CONVERTOR

Definition at line 720 of file FieldConvertors.h.

## UtcDateOnly

typedef UtcDate FIX::UtcDateOnly

Definition at line 890 of file FieldTypes.h.

## UTCDATEONLY

typedef UtcDateOnly FIX::UTCDATEONLY

Definition at line 912 of file FieldTypes.h.

## UtcDateOnlyConvertor

typedef UtcDateConvertor FIX::UtcDateOnlyConvertor

Definition at line 699 of file FieldConvertors.h.

## UtcDateOnlyField

typedef UtcDateField FIX::UtcDateOnlyField

Definition at line 575 of file Field.h.

## UTCTIMEONLY

typedef UtcTimeOnly FIX::UTCTIMEONLY

Definition at line 913 of file FieldTypes.h.

## UTCTIMEONLY_CONVERTOR

typedef UtcTimeOnlyConvertor FIX::UTCTIMEONLY_CONVERTOR

Definition at line 721 of file FieldConvertors.h.

## UTCTIMESTAMP

typedef UtcTimeStamp FIX::UTCTIMESTAMP

Definition at line 903 of file FieldTypes.h.

## UTCTIMESTAMP_CONVERTOR

typedef UtcTimeStampConvertor FIX::UTCTIMESTAMP_CONVERTOR

Definition at line 712 of file FieldConvertors.h.

## XMLDATA

typedef std::string FIX::XMLDATA

Definition at line 921 of file FieldTypes.h.

## XMLDATA_CONVERTOR

typedef StringConvertor FIX::XMLDATA_CONVERTOR

Definition at line 729 of file FieldConvertors.h.

## Function Documentation

## file_appendpath()

std::string FIX::file_appendpath | ( | const std::string & | path,
|  | const std::string & | file
| ) |  |

Definition at line 568 of file Utility.cpp.

Referenced by FIX::FileLog::generatePrefix().

## file_exists()

bool FIX::file_exists | ( | const char * | path | ) |

Definition at line 542 of file Utility.cpp.

{
return rename( oldpath, newpath );
}
std::string file_appendpath( const std::string& path, const std::string& file )
{

## file_fclose()

void FIX::file_fclose | ( | FILE * | file | ) |

Definition at line 537 of file Utility.cpp.

{
#ifdef _MSC_VER
_unlink( path );

## file_fopen()

FILE * FIX::file_fopen | ( | const char * | path,
|  | const char * | mode
| ) |  |

Definition at line 526 of file Utility.cpp.

{
std::ifstream stream;
stream.open( path, std::ios_base::in );
if( stream.is_open() )
{
stream.close();
return true;
}
return false;
}

## file_mkdir()

void FIX::file_mkdir | ( | const char * | path | ) |

Definition at line 506 of file Utility.cpp.

{
#if( _MSC_VER >= 1400 )
FILE* result = 0;
fopen_s( &result, path, mode );
return result;
#else
return fopen( path, mode );
#endif
}
void file_fclose( FILE* file )
{
fclose( file );
}

Referenced by FIX::FileLog::generatePrefix().

## file_rename()

int FIX::file_rename | ( | const char * | oldpath,
|  | const char * | newpath
| ) |  |

Definition at line 563 of file Utility.cpp.

Referenced by FIX::FileLog::backup().

## file_separator()

std::string FIX::file_separator | ( |  | ) |

Definition at line 497 of file Utility.cpp.

{
#ifdef _MSC_VER
_mkdir( createPath.c_str() );
#else
// use umask to override rwx for all
mkdir( createPath.c_str(), 0777 );
#endif

## file_unlink()

void FIX::file_unlink | ( | const char * | path | ) |

Definition at line 554 of file Utility.cpp.

Referenced by FIX::FileStore::~FileStore().

## g_atod_converter()

static double_conversion::StringToDoubleConverter FIX::g_atod_converter | ( | double_conversion::StringToDoubleConverter::NO_FLAGS | ,
|  | std::numeric_limits< double > | ::quiet_NaN(),
|  | std::numeric_limits< double > | ::quiet_NaN(),
|  | "INF" | ,
|  | "NAN" |
| ) |  |

static

Referenced by FIX::DoubleConvertor::fast_strtod().

## g_dtoa_converter()

static double_conversion::DoubleToStringConverter FIX::g_dtoa_converter | ( | double_conversion::DoubleToStringConverter::NO_FLAGS | ,
|  | "INF" | ,
|  | "NAN" | ,
|  | 'e' | ,
|  | -DoubleConvertor::SIGNIFICANT_DIGITS | ,
|  | DoubleConvertor::SIGNIFICANT_DIGITS | ,
|  | DoubleConvertor::SIGNIFICANT_DIGITS - | 1,
|  | 0 |
| ) |  |

static

Referenced by FIX::DoubleConvertor::fast_dtoa(), and FIX::DoubleConvertor::fast_fixed_dtoa().

## identifyType()

MsgType FIX::identifyType | ( | const std::string & | message | ) |
throw | ( | MessageParseError
| ) |  |

inline

Parse the type of a message from a string.

Definition at line 434 of file Message.h.

## integer_to_string()

char* FIX::integer_to_string | ( | char * | buf,
|  | const size_t | len,
|  | signed_int | t
| ) |  |

inline

Definition at line 116 of file FieldConvertors.h.

{
*--p = digit_pairs[2 * number + 1];
*--p = digit_pairs[2 * number];
}
else
{
*--p = '0' + char(number);
}
if( isNegative )
*--p = '-';
return p;
}
inline char* integer_to_string_padded
( char* buf, const size_t len, signed_int t,
const char paddingChar = '0')
{
char* p = integer_to_string( buf, len, t );
while( p > buf )
*--p = paddingChar;
return p;
}
struct EmptyConvertor
{
static const std::string& convert( const std::string& value )
{ return value; }
};

References digit_pairs.

## integer_to_string_padded()

char* FIX::integer_to_string_padded | ( | char * | buf,
|  | const size_t | len,
|  | signed_int | t,
|  | const char | paddingChar = `'0'`
| ) |  |

inline

Definition at line 149 of file FieldConvertors.h.

{
static std::string convert( signed_int value )
{
// buffer is big enough for significant digits and extra digit,
// minus and null

References FIX::IntConvertor::convert().

Referenced by FIX::BoolConvertor::convert().

## isComment()

bool FIX::isComment | ( | const std::string & | line | ) |

Definition at line 48 of file Settings.cpp.

{
return string_strip(std::string( line, 1, line.size() - 2 ));
}
bool isKeyValue( const std::string& line )
{
return line.find( '=' ) != std::string::npos;

References string_strip().

## isKeyValue()

bool FIX::isKeyValue | ( | const std::string & | line | ) |

Definition at line 69 of file Settings.cpp.

{

## isSection()

bool FIX::isSection | ( | const std::string & | line | ) |

Definition at line 56 of file Settings.cpp.

{
size_t equals = line.find( '=' );
std::string key = std::string( line, 0, equals );
std::string value = std::string( line, equals + 1, std::string::npos );
return std::pair<std::string, std::string>( key, value );

## number_of_symbols_in()

int FIX::number_of_symbols_in | ( | const signed_int | value | ) |

inline

Definition at line 68 of file FieldConvertors.h.

{
if( number > 9 )
symbols += 2;
else
symbols += 1;
}
if( value < 0 )
symbols += 1;
return symbols;
}
static const char digit_pairs[201] = {
"00010203040506070809"
"10111213141516171819"
"20212223242526272829"
"30313233343536373839"
"40414243444546474849"
"50515253545556575859"
"60616263646566676869"
"70717273747576777879"
"80818283848586878889"
"90919293949596979899"
};
inline char* integer_to_string( char* buf, const size_t len, signed_int t )
{
const bool isNegative = t < 0;

Referenced by FIX::FieldBase::getFixString().

## operator!=() [1/6]

bool FIX::operator!= | ( | const char * | lhs,
|  | const StringField & | rhs
| ) |  |

inline

Definition at line 343 of file Field.h.

{ return lhs > rhs.getValue(); }

## operator!=() [2/6]

bool FIX::operator!= | ( | const DatabaseConnectionID & | lhs,
|  | const DatabaseConnectionID & | rhs
| ) |  |

inline

Definition at line 116 of file DatabaseConnectionID.h.

## operator!=() [3/6]

bool FIX::operator!= | ( | const SessionID & | lhs,
|  | const SessionID & | rhs
| ) |  |

inline

Definition at line 164 of file SessionID.h.

## operator!=() [4/6]

bool FIX::operator!= | ( | const std::string & | lhs,
|  | const StringField & | rhs
| ) |  |

inline

Definition at line 368 of file Field.h.

: FieldBase( field, "" ) {}

## operator!=() [5/6]

bool FIX::operator!= | ( | const StringField & | lhs,
|  | const char * | rhs
| ) |  |

inline

Definition at line 341 of file Field.h.

{ return lhs.getValue() > rhs; }

## operator!=() [6/6]

bool FIX::operator!= | ( | const StringField & | lhs,
|  | const std::string & | rhs
| ) |  |

inline

Definition at line 366 of file Field.h.

: FieldBase( field, CharConvertor::convert( data ) ) {}

## operator<() [1/6]

bool FIX::operator< | ( | const char * | lhs,
|  | const StringField & | rhs
| ) |  |

inline

Definition at line 331 of file Field.h.

{ return lhs <= rhs.getValue(); }
inline bool operator>=( const StringField& lhs, const char* rhs )

## operator<() [2/6]

bool FIX::operator< | ( | const DatabaseConnectionID & | lhs,
|  | const DatabaseConnectionID & | rhs
| ) |  |

inline

Definition at line 83 of file DatabaseConnectionID.h.

{
return ( ( lhs.m_database == rhs.m_database ) &&
( lhs.m_user == rhs.m_user ) &&
( lhs.m_password == rhs.m_password ) &&
( lhs.m_host == rhs.m_host ) &&
( lhs.m_port == rhs.m_port ));
}
inline bool operator!=( const DatabaseConnectionID& lhs, const DatabaseConnectionID& rhs )
{
return !( lhs == rhs );
}
}
#endif

## operator<() [3/6]

bool FIX::operator< | ( | const SessionID & | lhs,
|  | const SessionID & | rhs
| ) |  |

inline

Definition at line 154 of file SessionID.h.

{
stream << sessionID.toStringFrozen();
return stream;
}

## operator<() [4/6]

bool FIX::operator< | ( | const std::string & | lhs,
|  | const StringField & | rhs
| ) |  |

inline

Definition at line 356 of file Field.h.

{ return lhs <= rhs.getValue(); }
inline bool operator>=( const StringField& lhs, const std::string& rhs )

## operator<() [5/6]

bool FIX::operator< | ( | const StringField & | lhs,
|  | const char * | rhs
| ) |  |

inline

Definition at line 329 of file Field.h.

{ return lhs.getValue() <= rhs; }
inline bool operator<=( const char* lhs, const StringField& rhs )

## operator<() [6/6]

bool FIX::operator< | ( | const StringField & | lhs,
|  | const std::string & | rhs
| ) |  |

inline

Definition at line 354 of file Field.h.

{ return lhs.getValue() <= rhs; }
inline bool operator<=( const std::string& lhs, const StringField& rhs )

## operator<<() [1/5]

std::ostream& FIX::operator<< | ( | std::ostream & | stream,
|  | const FieldBase & | field
| ) |  |

inline

Definition at line 260 of file Field.h.

:
explicit StringField( int field, const std::string& data )
: FieldBase( field, data ) {}
StringField( int field )
: FieldBase( field, "" ) {}

## operator<<() [2/5]

std::ostream& FIX::operator<< | ( | std::ostream & | stream,
|  | const HttpMessage & | message
| ) |  |

inline

Definition at line 142 of file HttpMessage.h.

## operator<<() [3/5]

std::ostream& FIX::operator<< | ( | std::ostream & | stream,
|  | const Message & | message
| ) |  |

inline

Definition at line 426 of file Message.h.

## operator<<() [4/5]

std::ostream& FIX::operator<< | ( | std::ostream & | stream,
|  | const SessionID & | sessionID
| ) |  |

inline

Definition at line 170 of file SessionID.h.

## operator<<() [5/5]

std::ostream & FIX::operator<< | ( | std::ostream & | stream,
|  | const SessionSettings & | s
| ) |  |

Definition at line 106 of file SessionSettings.cpp.

{
if( defaults.has(i->first) && defaults.getString(i->first) == i->second )
continue;
stream << i->first << "=" << i->second << std::endl;
}
stream << std::endl;
}
return stream;
}
const bool SessionSettings::has( const SessionID& sessionID ) const
{
return m_settings.find( sessionID ) != m_settings.end();
}
const Dictionary& SessionSettings::get( const SessionID& sessionID ) const
throw( ConfigError )
{
Dictionaries::const_iterator i;
i = m_settings.find( sessionID );
if ( i == m_settings.end() ) throw ConfigError( "Session not found" );
return i->second;
}
void SessionSettings::set( const SessionID& sessionID,
Dictionary settings )

## operator<=() [1/4]

bool FIX::operator<= | ( | const char * | lhs,
|  | const StringField & | rhs
| ) |  |

inline

Definition at line 347 of file Field.h.

{ return lhs == rhs.getValue(); }

## operator<=() [2/4]

bool FIX::operator<= | ( | const std::string & | lhs,
|  | const StringField & | rhs
| ) |  |

inline

Definition at line 372 of file Field.h.

{ setString( CharConvertor::convert( value ) ); }
char getValue() const throw ( IncorrectDataFormat )

References FIX::CharConvertor::convert(), and FIX::FieldBase::setString().

## operator<=() [3/4]

bool FIX::operator<= | ( | const StringField & | lhs,
|  | const char * | rhs
| ) |  |

inline

Definition at line 345 of file Field.h.

{ return lhs.getValue() == rhs; }

## operator<=() [4/4]

bool FIX::operator<= | ( | const StringField & | lhs,
|  | const std::string & | rhs
| ) |  |

inline

Definition at line 370 of file Field.h.

{ setString( CharConvertor::convert( value ) ); }

## operator==() [1/6]

bool FIX::operator== | ( | const char * | lhs,
|  | const StringField & | rhs
| ) |  |

inline

Definition at line 339 of file Field.h.

{ return lhs < rhs.getValue(); }

## operator==() [2/6]

bool FIX::operator== | ( | const DatabaseConnectionID & | lhs,
|  | const DatabaseConnectionID & | rhs
| ) |  |

inline

Definition at line 108 of file DatabaseConnectionID.h.

## operator==() [3/6]

bool FIX::operator== | ( | const SessionID & | lhs,
|  | const SessionID & | rhs
| ) |  |

inline

Definition at line 159 of file SessionID.h.

{
std::string str;

## operator==() [4/6]

bool FIX::operator== | ( | const std::string & | lhs,
|  | const StringField & | rhs
| ) |  |

inline

Definition at line 364 of file Field.h.

{
public:

## operator==() [5/6]

bool FIX::operator== | ( | const StringField & | lhs,
|  | const char * | rhs
| ) |  |

inline

Definition at line 337 of file Field.h.

{ return lhs.getValue() < rhs; }

## operator==() [6/6]

bool FIX::operator== | ( | const StringField & | lhs,
|  | const std::string & | rhs
| ) |  |

inline

Definition at line 362 of file Field.h.

: public FieldBase

## operator>() [1/4]

bool FIX::operator> | ( | const char * | lhs,
|  | const StringField & | rhs
| ) |  |

inline

Definition at line 335 of file Field.h.

{ return lhs >= rhs.getValue(); }

## operator>() [2/4]

bool FIX::operator> | ( | const std::string & | lhs,
|  | const StringField & | rhs
| ) |  |

inline

Definition at line 360 of file Field.h.

{ return lhs >= rhs.getValue(); }

## operator>() [3/4]

bool FIX::operator> | ( | const StringField & | lhs,
|  | const char * | rhs
| ) |  |

inline

Definition at line 333 of file Field.h.

{ return lhs.getValue() >= rhs; }
inline bool operator>=( const char* lhs, const StringField& rhs )

## operator>() [4/4]

bool FIX::operator> | ( | const StringField & | lhs,
|  | const std::string & | rhs
| ) |  |

inline

Definition at line 358 of file Field.h.

{ return lhs.getValue() >= rhs; }
inline bool operator>=( const std::string& lhs, const StringField& rhs )

## operator>=() [1/4]

bool FIX::operator>= | ( | const char * | lhs,
|  | const StringField & | rhs
| ) |  |

inline

Definition at line 351 of file Field.h.

{ return lhs != rhs.getValue(); }

## operator>=() [2/4]

bool FIX::operator>= | ( | const std::string & | lhs,
|  | const StringField & | rhs
| ) |  |

inline

Definition at line 376 of file Field.h.

{ throw IncorrectDataFormat( getTag(), getString() ); } }

References FIX::FieldBase::getString(), and FIX::FieldBase::getTag().

## operator>=() [3/4]

bool FIX::operator>= | ( | const StringField & | lhs,
|  | const char * | rhs
| ) |  |

inline

Definition at line 349 of file Field.h.

{ return lhs.getValue() != rhs; }

## operator>=() [4/4]

bool FIX::operator>= | ( | const StringField & | lhs,
|  | const std::string & | rhs
| ) |  |

inline

Definition at line 374 of file Field.h.

{ try
{ return CharConvertor::convert( getString() ); }

References FIX::CharConvertor::convert(), and FIX::FieldBase::getString().

## operator>>() [1/3]

std::istream& FIX::operator>> | ( | std::istream & | stream,
|  | SessionID & | sessionID
| ) |  |

inline

Definition at line 177 of file SessionID.h.

## operator>>() [2/3]

std::istream & FIX::operator>> | ( | std::istream & | stream,
|  | SessionSettings & | s
| ) |  |
throw | ( | ConfigError
| ) |  |

Definition at line 67 of file SessionSettings.cpp.

{
dict = section[ session ];
dict.merge( def );
BeginString beginString
( dict.getString( BEGINSTRING ) );
SenderCompID senderCompID
( dict.getString( SENDERCOMPID ) );
TargetCompID targetCompID
( dict.getString( TARGETCOMPID ) );
std::string sessionQualifier;
if( dict.has( SESSION_QUALIFIER ) )
sessionQualifier = dict.getString( SESSION_QUALIFIER );
SessionID sessionID( beginString, senderCompID, targetCompID, sessionQualifier );
s.set( sessionID, dict );
}
return stream;
}
std::ostream& operator<<( std::ostream& stream, const SessionSettings& s )
{
const Dictionary& defaults = s.m_defaults;
if( defaults.size() )
{
stream << "[DEFAULT]" << std::endl;
Dictionary::iterator i;
for( i = defaults.begin(); i != defaults.end(); ++i )
stream << i->first << "=" << i->second << std::endl;
stream << std::endl;
}
std::set<SessionID> sessions = s.getSessions();
std::set<SessionID>::iterator i;
for( i = sessions.begin(); i != sessions.end(); ++i )
{

References BEGINSTRING, FIX::Dictionary::getString(), FIX::Dictionary::has(), FIX::Dictionary::merge(), SENDERCOMPID, SESSION_QUALIFIER, and TARGETCOMPID.

## operator>>() [3/3]

std::istream & FIX::operator>> | ( | std::istream & | stream,
|  | Settings & | s
| ) |  |

Definition at line 151 of file Settings.cpp.

{
std::pair<std::string, std::string> keyValue = splitKeyValue( line );
if( section == s.m_sections.end() )
continue;
(*section).setString( keyValue.first, s.m_resolveEnvVars ? resolveEnvVars(keyValue.second) : keyValue.second );
}
}
return stream;
}
Settings::Sections Settings::get( const std::string& name ) const
{
Sections sections;
for ( Sections::size_type i = 0; i < m_sections.size(); ++i )
if ( m_sections[ i ].getName() == name )
sections.push_back( m_sections[ i ] );
return sections;
}
}

References resolveEnvVars(), and splitKeyValue().

## process_sleep()

void FIX::process_sleep | ( | double | s | ) |

Definition at line 483 of file Utility.cpp.

{
int length = (int)strlen( path );
std::string createPath = "";
for( const char* pos = path; (pos - path) <= length; ++pos )
{

Referenced by FIX::ThreadedSocketConnection::setSession().

## resolveEnvVars()

std::string FIX::resolveEnvVars | ( | const std::string & | str | ) |

Definition at line 82 of file Settings.cpp.

: resultStr.append(1, '\t'); break;
case 'r' : resultStr.append(1, '\r'); break;
case 'n' : resultStr.append(1, '\n'); break;
default :
resultStr.append(1, c);
break;
}
continue;
}
// variable substitution
if (c == '$')
{
bool inBraces = false;
c = str[actPos++];
if ((c == '(') || (c == '{'))
{
c = str[actPos++];
inBraces = true;
}
// actPos now points at start of var name
if (actPos >= sourceLen)
break;
std::string varName;
while ( (actPos <= sourceLen) )
{
varName.append(1, c); // this must be done before overwriting c
c = str[actPos++];
if (std::strchr(" /:;,.=\"'?#+*()[]{}$&%\t\n", c))
break;
}
if (inBraces && (actPos <= sourceLen) && ((c == ')') || (c == '}')))
;
else
--actPos;
// varName contains the name of the variable,
// actPos points to first char _after_ variable
const char *varValue = 0;
if (!varName.empty() && (0 != (varValue = getenv(varName.c_str()))))
resultStr.append(varValue);
continue;
}
}
// nothing special, just copy
resultStr.append(1, c);
}
return resultStr;
}
std::istream& operator>>( std::istream& stream, Settings& s )
{
char buffer[1024];
std::string line;
Settings::Sections::iterator section = s.m_sections.end();;
while( stream.getline(buffer, sizeof(buffer)) )
{
line = string_strip( buffer );
if( isComment(line) )
{
continue;
}
else if( isSection(line) )
{
section = s.m_sections.insert( s.m_sections.end(), Dictionary(splitSection(line)) );

Referenced by operator>>().

## socket_accept()

int FIX::socket_accept | ( | int | s | ) |

Definition at line 181 of file Utility.cpp.

{
shutdown( s, 2 );
#ifdef _MSC_VER
closesocket( s );
#else

## socket_bind()

int FIX::socket_bind | ( | int | socket,
|  | const char * | hostname,
|  | int | port
| ) |  |

Definition at line 120 of file Utility.cpp.

{
int socket = ::socket( PF_INET, SOCK_STREAM, 0 );
if ( socket < 0 ) return -1;
sockaddr_in address;
socklen_t socklen;
address.sin_family = PF_INET;
address.sin_port = htons( port );
address.sin_addr.s_addr = INADDR_ANY;
socklen = sizeof( address );
if( reuse )
socket_setsockopt( socket, SO_REUSEADDR );
int result = bind( socket, reinterpret_cast < sockaddr* > ( &address ),

References socket_setsockopt().

## socket_close()

void FIX::socket_close | ( | int | s | ) |

Definition at line 197 of file Utility.cpp.

{
char byte;
return ::recv (s, &byte, sizeof (byte), MSG_PEEK) <= 0;

Referenced by FIX::SocketServer::accept(), FIX::SocketMonitor::addWrite(), and FIX::HttpConnection::disconnect().

## socket_connect()

int FIX::socket_connect | ( | int | socket,
|  | const char * | address,
|  | int | port
| ) |  |

Definition at line 165 of file Utility.cpp.

{
if ( !socket_isValid( s ) ) return -1;
return accept( s, 0, 0 );
}
ssize_t socket_recv( int s, char* buf, size_t length )
{
return recv( s, buf, length, 0 );
}
ssize_t socket_send( int s, const char* msg, size_t length )
{
return send( s, msg, length, 0 );
}

References socket_isValid().

## socket_createAcceptor()

int FIX::socket_createAcceptor | ( | int | port,
|  | bool | reuse
| ) |  |

Definition at line 137 of file Utility.cpp.

{
return ::socket( PF_INET, SOCK_STREAM, IPPROTO_TCP );
}
int socket_connect( int socket, const char* address, int port )
{
const char* hostname = socket_hostname( address );
if( hostname == 0 ) return -1;
sockaddr_in addr;
addr.sin_family = PF_INET;
addr.sin_port = htons( port );
addr.sin_addr.s_addr = inet_addr( hostname );
int result = connect( socket, reinterpret_cast < sockaddr* > ( &addr ),

## socket_createConnector()

int FIX::socket_createConnector | ( |  | ) |

Definition at line 160 of file Utility.cpp.

{

Referenced by FIX::ConnectorWrapper::onWrite().

## socket_createpair()

std::pair< int, int > FIX::socket_createpair | ( |  | ) |

Definition at line 383 of file Utility.cpp.

{
#ifdef _MSC_VER
#if( _MSC_VER >= 1400 )
tm result;
gmtime_s( &result, t );
return result;
#else
return *gmtime( t );
#endif
#else
tm result;
return *gmtime_r( t, &result );
#endif
}

## socket_disconnected()

bool FIX::socket_disconnected | ( | int | s | ) |

Definition at line 219 of file Utility.cpp.

{
int level = SOL_SOCKET;
if( opt == TCP_NODELAY )
level = IPPROTO_TCP;

## socket_fcntl()

int FIX::socket_fcntl | ( | int | s,
|  | int | opt,
|  | int | arg
| ) |  |

Definition at line 267 of file Utility.cpp.

{
#ifdef _MSC_VER

## socket_fionread()

bool FIX::socket_fionread | ( | int | s,
|  | int & | bytes
| ) |  |

Definition at line 207 of file Utility.cpp.

{
#ifdef _MSC_VER
BOOL optval = TRUE;
#else
int optval = 1;
#endif
return socket_setsockopt( s, opt, optval );
}

References socket_setsockopt().

## socket_getfcntlflag()

int FIX::socket_getfcntlflag | ( | int | s,
|  | int | arg
| ) |  |

Definition at line 272 of file Utility.cpp.

{

## socket_getsockopt()

int FIX::socket_getsockopt | ( | int | s,
|  | int | opt,
|  | int & | optval
| ) |  |

Definition at line 250 of file Utility.cpp.

{
return ::fcntl( s, opt, arg );
}
int socket_getfcntlflag( int s, int arg )
{
return socket_fcntl( s, F_GETFL, arg );
}
int socket_setfcntlflag( int s, int arg )
{
int oldValue = socket_getfcntlflag( s, arg );
oldValue |= arg;
return socket_fcntl( s, F_SETFL, arg );

## socket_hostname() [1/2]

const char * FIX::socket_hostname | ( | const char * | name | ) |

Definition at line 341 of file Utility.cpp.

{
struct sockaddr_in addr;
socklen_t len = sizeof(addr);
if( getpeername( socket, (struct sockaddr*)&addr, &len ) < 0 )
return "UNKNOWN";
char* result = inet_ntoa( addr.sin_addr );
if( result )
return result;
else
return "UNKNOWN";
}
std::pair<int, int> socket_createpair()
{
#ifdef _MSC_VER

## socket_hostname() [2/2]

const char * FIX::socket_hostname | ( | int | socket | ) |

Definition at line 331 of file Utility.cpp.

{

## socket_hostport()

short FIX::socket_hostport | ( | int | socket | ) |

Definition at line 321 of file Utility.cpp.

{
struct hostent* host_ptr = 0;
struct in_addr** paddr;
struct in_addr saddr;

## socket_init()

void FIX::socket_init | ( |  | ) |

Definition at line 98 of file Utility.cpp.

{
sockaddr_in address;
socklen_t socklen;
address.sin_family = PF_INET;
address.sin_port = htons( port );
if ( !hostname || !*hostname )
address.sin_addr.s_addr = INADDR_ANY;

Referenced by FIX::ThreadedSocketInitiator::ThreadedSocketInitiator().

## socket_invalidate()

void FIX::socket_invalidate | ( | int & | socket | ) |

Definition at line 312 of file Utility.cpp.

{
struct sockaddr_in addr;
socklen_t len = sizeof(addr);
if( getsockname(socket, (struct sockaddr*)&addr, &len) < 0 )
return 0;

Referenced by FIX::SocketServer::accept().

## socket_isBad()

bool FIX::socket_isBad | ( | int | s | ) |

Definition at line 304 of file Utility.cpp.

{
struct sockaddr_in addr;
socklen_t len = sizeof(addr);
if( getsockname(socket, (struct sockaddr*)&addr, &len) < 0 )
return 0;

## socket_isValid()

bool FIX::socket_isValid | ( | int | socket | ) |

Definition at line 294 of file Utility.cpp.

{
#ifdef _MSC_VER
socket = INVALID_SOCKET;
#else
socket = -1;
#endif

Referenced by socket_connect().

## socket_peername()

const char * FIX::socket_peername | ( | int | socket | ) |

Definition at line 370 of file Utility.cpp.

{

Referenced by FIX::ThreadedSocketAcceptor::socketAcceptorThread().

## socket_recv()

ssize_t FIX::socket_recv | ( | int | s,
|  | char * | buf,
|  | size_t | length
| ) |  |

Definition at line 187 of file Utility.cpp.

{

Referenced by FIX::ThreadedSocketConnection::disconnect(), FIX::SocketMonitor::processReadSet(), and FIX::HttpConnection::read().

## socket_send()

ssize_t FIX::socket_send | ( | int | s,
|  | const char * | msg,
|  | size_t | length
| ) |  |

Definition at line 192 of file Utility.cpp.

Referenced by FIX::HttpConnection::send(), and FIX::SocketMonitor::sleepIfEmpty().

## socket_setfcntlflag()

int FIX::socket_setfcntlflag | ( | int | s,
|  | int | arg
| ) |  |

Definition at line 277 of file Utility.cpp.

{
#ifdef _MSC_VER
return socket != INVALID_SOCKET;
#else
return socket >= 0;

## socket_setnonblock()

void FIX::socket_setnonblock | ( | int | socket | ) |

Definition at line 285 of file Utility.cpp.

{
struct stat buf;
fstat( s, &buf );
return errno == EBADF;
}
#endif

## socket_setsockopt() [1/2]

int FIX::socket_setsockopt | ( | int | s,
|  | int | opt
| ) |  |

Definition at line 225 of file Utility.cpp.

{

Referenced by FIX::ConnectorWrapper::onEvent(), socket_bind(), socket_fionread(), and FIX::ThreadedSocketAcceptor::socketAcceptorThread().

## socket_setsockopt() [2/2]

int FIX::socket_setsockopt | ( | int | s,
|  | int | opt,
|  | int | optval
| ) |  |

Definition at line 235 of file Utility.cpp.

{

## socket_term()

void FIX::socket_term | ( |  | ) |

Definition at line 113 of file Utility.cpp.

{

Referenced by FIX::ThreadedSocketAcceptor::ThreadedSocketAcceptor().

## splitKeyValue()

std::pair<std::string, std::string> FIX::splitKeyValue | ( | const std::string & | line | ) |

Definition at line 74 of file Settings.cpp.

{
// escape character
if (c == '\\')
{
c = str[actPos++];
switch (c)

Referenced by operator>>().

## splitSection()

std::string FIX::splitSection | ( | const std::string & | line | ) |

Definition at line 64 of file Settings.cpp.

{
std::string resultStr;

## string_replace()

void FIX::string_replace | ( | const std::string & | oldValue,
|  | const std::string & | newValue,
|  | std::string & | value
| ) |  |

Definition at line 57 of file Utility.cpp.

{
std::string copy = value;
std::transform( copy.begin(), copy.end(), copy.begin(), tolower );
return copy;
}
std::string string_strip( const std::string& value )
{

## string_strip()

std::string FIX::string_strip | ( | const std::string & | value | ) |

Definition at line 84 of file Utility.cpp.

{

Referenced by isComment().

## string_toLower()

std::string FIX::string_toLower | ( | const std::string & | value | ) |

Definition at line 77 of file Utility.cpp.

{

## string_toUpper()

std::string FIX::string_toUpper | ( | const std::string & | value | ) |

Definition at line 70 of file Utility.cpp.

## swap()

void FIX::swap | ( | FieldBase & | lhs,
|  | FieldBase & | rhs
| ) |  |

inline

Definition at line 266 of file Field.h.

{ setString( value ); }
const std::string& getValue() const
{ return getString(); }

References FIX::FieldBase::setString().

## thread_detach()

void FIX::thread_detach | ( | thread_id | thread | ) |

Definition at line 464 of file Utility.cpp.

{
#ifdef _MSC_VER
Sleep( (long)(s * 1000) );
#else
timespec time, remainder;
double intpart;

## thread_join()

void FIX::thread_join | ( | thread_id | thread | ) |

Definition at line 454 of file Utility.cpp.

{
#ifdef _MSC_VER
return (unsigned)GetCurrentThread();
#else
return pthread_self();

## thread_self()

thread_id FIX::thread_self | ( |  | ) |

Definition at line 474 of file Utility.cpp.

{

## thread_spawn() [1/2]

bool FIX::thread_spawn | ( | THREAD_START_ROUTINE | func,
|  | void * | var
| ) |  |

Definition at line 448 of file Utility.cpp.

{
#ifdef _MSC_VER
CloseHandle((HANDLE)thread);
#else
pthread_t t = thread;

## thread_spawn() [2/2]

bool FIX::thread_spawn | ( | THREAD_START_ROUTINE | func,
|  | void * | var,
|  | thread_id & | thread
| ) |  |

Definition at line 433 of file Utility.cpp.

{
#ifdef _MSC_VER
WaitForSingleObject( ( void* ) thread, INFINITE );
CloseHandle((HANDLE)thread);
#else
pthread_join( ( pthread_t ) thread, 0 );
#endif
}

Referenced by FIX::ThreadedSocketAcceptor::socketAcceptorThread().

## time_gmtime()

tm FIX::time_gmtime | ( | const time_t * | t | ) |

Definition at line 401 of file Utility.cpp.

{
#ifdef _MSC_VER
#if( _MSC_VER >= 1400 )
tm result;
localtime_s( &result, t );
return result;
#else
return *localtime( t );
#endif
#else
tm result;
return *localtime_r( t, &result );
#endif
}

## time_localtime()

tm FIX::time_localtime | ( | const time_t * | t | ) |

Definition at line 417 of file Utility.cpp.

{
#ifdef _MSC_VER
thread_id result = 0;
unsigned int id = 0;
result = _beginthreadex( NULL, 0, func, var, 0, &id );
if ( result == 0 ) return false;
#else
thread_id result = 0;
if( pthread_create( &result, 0, func, var ) != 0 ) return false;
#endif
thread = result;
return true;
}
bool thread_spawn( THREAD_START_ROUTINE func, void* var )

Referenced by FIX::DateTime::fromUtcTimeT().

## Variable Documentation

## ALLOW_UNKNOWN_MSG_FIELDS

const char FIX::ALLOW_UNKNOWN_MSG_FIELDS[] = "AllowUnknownMsgFields"

Definition at line 93 of file SessionSettings.h.

## APP_DATA_DICTIONARY

const char FIX::APP_DATA_DICTIONARY[] = "AppDataDictionary"

Definition at line 65 of file SessionSettings.h.

## BEGINSTRING

const char FIX::BEGINSTRING[] = "BeginString"

Definition at line 54 of file SessionSettings.h.

Referenced by FIX::SessionSettings::getSessions(), FIX::SessionSettings::has(), operator>>(), and FIX::SessionSettings::set().

## BeginString_FIX40

const char FIX::BeginString_FIX40[] = "FIX.4.0"

Definition at line 53 of file Values.h.

Referenced by FIX::Message::clear(), FIX::MessageCracker::crack(), and FIX::SessionSettings::set().

## BeginString_FIX41

const char FIX::BeginString_FIX41[] = "FIX.4.1"

Definition at line 52 of file Values.h.

Referenced by FIX::Message::clear(), FIX::MessageCracker::crack(), and FIX::SessionSettings::set().

## BeginString_FIX42

const char FIX::BeginString_FIX42[] = "FIX.4.2"

Definition at line 51 of file Values.h.

Referenced by FIX::Message::clear(), FIX::MessageCracker::crack(), and FIX::SessionSettings::set().

## BeginString_FIX43

const char FIX::BeginString_FIX43[] = "FIX.4.3"

Definition at line 50 of file Values.h.

Referenced by FIX::Message::clear(), FIX::MessageCracker::crack(), and FIX::SessionSettings::set().

## BeginString_FIX44

const char FIX::BeginString_FIX44[] = "FIX.4.4"

Definition at line 49 of file Values.h.

Referenced by FIX::MessageCracker::crack().

## BeginString_FIX50

const char FIX::BeginString_FIX50[] = "FIX.5.0"

Definition at line 48 of file Values.h.

## BeginString_FIXT11

const char FIX::BeginString_FIXT11[] = "FIXT.1.1"

Definition at line 47 of file Values.h.

Referenced by FIX::MessageCracker::crack().

## BusinessRejectReason_APPLICATION_NOT_AVAILABLE_TEXT

const char FIX::BusinessRejectReason_APPLICATION_NOT_AVAILABLE_TEXT[] = "Application Not Available"

Definition at line 74 of file Values.h.

Referenced by FIX::Session::generateBusinessReject().

## BusinessRejectReason_CONDITIONALLY_REQUIRED_FIELD_MISSING_TEXT

const char FIX::BusinessRejectReason_CONDITIONALLY_REQUIRED_FIELD_MISSING_TEXT[] = "Conditionally Required Field Missing"

Definition at line 75 of file Values.h.

Referenced by FIX::Session::generateBusinessReject().

## BusinessRejectReason_DELIVERTO_FIRM_NOT_AVAILABLE_AT_THIS_TIME_TEXT

const char FIX::BusinessRejectReason_DELIVERTO_FIRM_NOT_AVAILABLE_AT_THIS_TIME_TEXT[] = "Deliver to firm not available at this time"

Definition at line 77 of file Values.h.

Referenced by FIX::Session::generateBusinessReject().

## BusinessRejectReason_NOT_AUTHORIZED_TEXT

const char FIX::BusinessRejectReason_NOT_AUTHORIZED_TEXT[] = "Not Authorized"

Definition at line 76 of file Values.h.

Referenced by FIX::Session::generateBusinessReject().

## BusinessRejectReason_OTHER_TEXT

const char FIX::BusinessRejectReason_OTHER_TEXT[] = "Other"

Definition at line 70 of file Values.h.

Referenced by FIX::Session::generateBusinessReject().

## BusinessRejectReason_UNKNOWN_ID_TEXT

const char FIX::BusinessRejectReason_UNKNOWN_ID_TEXT[] = "Unknown ID"

Definition at line 71 of file Values.h.

Referenced by FIX::Session::generateBusinessReject().

## BusinessRejectReason_UNKNOWN_SECURITY_TEXT

const char FIX::BusinessRejectReason_UNKNOWN_SECURITY_TEXT[] = "Unknown Security"

Definition at line 72 of file Values.h.

Referenced by FIX::Session::generateBusinessReject().

## BusinessRejectReason_UNSUPPORTED_MESSAGE_TYPE_TEXT

const char FIX::BusinessRejectReason_UNSUPPORTED_MESSAGE_TYPE_TEXT[] = "Unsupported Message Type"

Definition at line 73 of file Values.h.

Referenced by FIX::Session::generateBusinessReject().

## CERT_AUTH_DIR

const char FIX::CERT_AUTH_DIR[] = "CertificationAuthoritiesDirectory"

Definition at line 155 of file SessionSettings.h.

## CERT_AUTH_FILE

const char FIX::CERT_AUTH_FILE[] = "CertificationAuthoritiesFile"

Definition at line 154 of file SessionSettings.h.

## CHECK_COMPID

const char FIX::CHECK_COMPID[] = "CheckCompID"

Definition at line 75 of file SessionSettings.h.

Referenced by FIX::HttpConnection::processSession().

## CHECK_LATENCY

const char FIX::CHECK_LATENCY[] = "CheckLatency"

Definition at line 76 of file SessionSettings.h.

Referenced by FIX::HttpConnection::processSession().

## CLIENT_CERT_FILE

const char FIX::CLIENT_CERT_FILE[] = "ClientCertificateFile"

Definition at line 152 of file SessionSettings.h.

## CLIENT_CERT_KEY_FILE

const char FIX::CLIENT_CERT_KEY_FILE[] = "ClientCertificateKeyFile"

Definition at line 153 of file SessionSettings.h.

## CONNECTION_TYPE

const char FIX::CONNECTION_TYPE[] = "ConnectionType"

Definition at line 59 of file SessionSettings.h.

Referenced by FIX::Acceptor::Acceptor(), and FIX::SessionSettings::validate().

## CRL_DIR

const char FIX::CRL_DIR[] = "CertificateRevocationListDirectory"

Definition at line 157 of file SessionSettings.h.

## CRL_FILE

const char FIX::CRL_FILE[] = "CertificateRevocationListFile"

Definition at line 156 of file SessionSettings.h.

## DATA_DICTIONARY

const char FIX::DATA_DICTIONARY[] = "DataDictionary"

Definition at line 63 of file SessionSettings.h.

## DEFAULT_APPLVERID

const char FIX::DEFAULT_APPLVERID[] = "DefaultApplVerID"

Definition at line 58 of file SessionSettings.h.

## digit_pairs

const char FIX::digit_pairs[201]

static

Initial value:
= {
"00010203040506070809"
"10111213141516171819"
"20212223242526272829"
"30313233343536373839"
"40414243444546474849"
"50515253545556575859"
"60616263646566676869"
"70717273747576777879"
"80818283848586878889"
"90919293949596979899"
}

Definition at line 103 of file FieldConvertors.h.

Referenced by integer_to_string().

## END_DAY

const char FIX::END_DAY[] = "EndDay"

Definition at line 70 of file SessionSettings.h.

## END_TIME

const char FIX::END_TIME[] = "EndTime"

Definition at line 68 of file SessionSettings.h.

## FILE_LOG_BACKUP_PATH

const char FIX::FILE_LOG_BACKUP_PATH[] = "FileLogBackupPath"

Definition at line 114 of file SessionSettings.h.

## FILE_LOG_PATH

const char FIX::FILE_LOG_PATH[] = "FileLogPath"

Definition at line 113 of file SessionSettings.h.

## FILE_STORE_PATH

const char FIX::FILE_STORE_PATH[] = "FileStorePath"

Definition at line 97 of file SessionSettings.h.

## headerOrder

const int FIX::headerOrder[]

Initial value:
=
{
FIELD::BeginString,
FIELD::BodyLength,
FIELD::MsgType
}

Definition at line 51 of file Message.cpp.

## HEARTBTINT

const char FIX::HEARTBTINT[] = "HeartBtInt"

Definition at line 78 of file SessionSettings.h.

## HTTP_ACCEPT_PORT

const char FIX::HTTP_ACCEPT_PORT[] = "HttpAcceptPort"

Definition at line 148 of file SessionSettings.h.

Referenced by FIX::HttpServer::stopGlobal().

## LOGON_DAY

const char FIX::LOGON_DAY[] = "LogonDay"

Definition at line 73 of file SessionSettings.h.

## LOGON_TIME

const char FIX::LOGON_TIME[] = "LogonTime"

Definition at line 71 of file SessionSettings.h.

## LOGON_TIMEOUT

const char FIX::LOGON_TIMEOUT[] = "LogonTimeout"

Definition at line 95 of file SessionSettings.h.

Referenced by FIX::HttpConnection::processSession().

## LOGOUT_DAY

const char FIX::LOGOUT_DAY[] = "LogoutDay"

Definition at line 74 of file SessionSettings.h.

## LOGOUT_TIME

const char FIX::LOGOUT_TIME[] = "LogoutTime"

Definition at line 72 of file SessionSettings.h.

## LOGOUT_TIMEOUT

const char FIX::LOGOUT_TIMEOUT[] = "LogoutTimeout"

Definition at line 96 of file SessionSettings.h.

Referenced by FIX::HttpConnection::processSession().

## MAX_LATENCY

const char FIX::MAX_LATENCY[] = "MaxLatency"

Definition at line 77 of file SessionSettings.h.

Referenced by FIX::HttpConnection::processSession().

## MILLISECONDS_IN_TIMESTAMP

const char FIX::MILLISECONDS_IN_TIMESTAMP[] = "MillisecondsInTimeStamp"

Definition at line 146 of file SessionSettings.h.

Referenced by FIX::HttpConnection::processSession().

## MYSQL_LOG_DATABASE

const char FIX::MYSQL_LOG_DATABASE[] = "MySQLLogDatabase"

Definition at line 119 of file SessionSettings.h.

## MYSQL_LOG_EVENT_TABLE

const char FIX::MYSQL_LOG_EVENT_TABLE[] = "MySQLLogEventTable"

Definition at line 126 of file SessionSettings.h.

## MYSQL_LOG_HOST

const char FIX::MYSQL_LOG_HOST[] = "MySQLLogHost"

Definition at line 122 of file SessionSettings.h.

## MYSQL_LOG_INCOMING_TABLE

const char FIX::MYSQL_LOG_INCOMING_TABLE[] = "MySQLLogIncomingTable"

Definition at line 124 of file SessionSettings.h.

## MYSQL_LOG_OUTGOING_TABLE

const char FIX::MYSQL_LOG_OUTGOING_TABLE[] = "MySQLLogOutgoingTable"

Definition at line 125 of file SessionSettings.h.

## MYSQL_LOG_PASSWORD

const char FIX::MYSQL_LOG_PASSWORD[] = "MySQLLogPassword"

Definition at line 121 of file SessionSettings.h.

## MYSQL_LOG_PORT

const char FIX::MYSQL_LOG_PORT[] = "MySQLLogPort"

Definition at line 123 of file SessionSettings.h.

## MYSQL_LOG_USECONNECTIONPOOL

const char FIX::MYSQL_LOG_USECONNECTIONPOOL[] = "MySQLLogUseConnectionPool"

Definition at line 118 of file SessionSettings.h.

## MYSQL_LOG_USER

const char FIX::MYSQL_LOG_USER[] = "MySQLLogUser"

Definition at line 120 of file SessionSettings.h.

## MYSQL_STORE_DATABASE

const char FIX::MYSQL_STORE_DATABASE[] = "MySQLStoreDatabase"

Definition at line 99 of file SessionSettings.h.

## MYSQL_STORE_HOST

const char FIX::MYSQL_STORE_HOST[] = "MySQLStoreHost"

Definition at line 102 of file SessionSettings.h.

## MYSQL_STORE_PASSWORD

const char FIX::MYSQL_STORE_PASSWORD[] = "MySQLStorePassword"

Definition at line 101 of file SessionSettings.h.

## MYSQL_STORE_PORT

const char FIX::MYSQL_STORE_PORT[] = "MySQLStorePort"

Definition at line 103 of file SessionSettings.h.

## MYSQL_STORE_USECONNECTIONPOOL

const char FIX::MYSQL_STORE_USECONNECTIONPOOL[] = "MySQLStoreUseConnectionPool"

Definition at line 98 of file SessionSettings.h.

## MYSQL_STORE_USER

const char FIX::MYSQL_STORE_USER[] = "MySQLStoreUser"

Definition at line 100 of file SessionSettings.h.

## ODBC_LOG_CONNECTION_STRING

const char FIX::ODBC_LOG_CONNECTION_STRING[] = "OdbcLogConnectionString"

Definition at line 138 of file SessionSettings.h.

## ODBC_LOG_EVENT_TABLE

const char FIX::ODBC_LOG_EVENT_TABLE[] = "OdbcLogEventTable"

Definition at line 141 of file SessionSettings.h.

## ODBC_LOG_INCOMING_TABLE

const char FIX::ODBC_LOG_INCOMING_TABLE[] = "OdbcLogIncomingTable"

Definition at line 139 of file SessionSettings.h.

## ODBC_LOG_OUTGOING_TABLE

const char FIX::ODBC_LOG_OUTGOING_TABLE[] = "OdbcLogOutgoingTable"

Definition at line 140 of file SessionSettings.h.

## ODBC_LOG_PASSWORD

const char FIX::ODBC_LOG_PASSWORD[] = "OdbcLogPassword"

Definition at line 137 of file SessionSettings.h.

## ODBC_LOG_USER

const char FIX::ODBC_LOG_USER[] = "OdbcLogUser"

Definition at line 136 of file SessionSettings.h.

## ODBC_STORE_CONNECTION_STRING

const char FIX::ODBC_STORE_CONNECTION_STRING[] = "OdbcStoreConnectionString"

Definition at line 112 of file SessionSettings.h.

## ODBC_STORE_PASSWORD

const char FIX::ODBC_STORE_PASSWORD[] = "OdbcStorePassword"

Definition at line 111 of file SessionSettings.h.

## ODBC_STORE_USER

const char FIX::ODBC_STORE_USER[] = "OdbcStoreUser"

Definition at line 110 of file SessionSettings.h.

## PERSIST_MESSAGES

const char FIX::PERSIST_MESSAGES[] = "PersistMessages"

Definition at line 149 of file SessionSettings.h.

Referenced by FIX::HttpConnection::processSession().

## POSTGRESQL_LOG_DATABASE

const char FIX::POSTGRESQL_LOG_DATABASE[] = "PostgreSQLLogDatabase"

Definition at line 128 of file SessionSettings.h.

## POSTGRESQL_LOG_EVENT_TABLE

const char FIX::POSTGRESQL_LOG_EVENT_TABLE[] = "PostgreSQLLogEventTable"

Definition at line 135 of file SessionSettings.h.

## POSTGRESQL_LOG_HOST

const char FIX::POSTGRESQL_LOG_HOST[] = "PostgreSQLLogHost"

Definition at line 131 of file SessionSettings.h.

## POSTGRESQL_LOG_INCOMING_TABLE

const char FIX::POSTGRESQL_LOG_INCOMING_TABLE[] = "PostgreSQLLogIncomingTable"

Definition at line 133 of file SessionSettings.h.

## POSTGRESQL_LOG_OUTGOING_TABLE

const char FIX::POSTGRESQL_LOG_OUTGOING_TABLE[] = "PostgreSQLLogOutgoingTable"

Definition at line 134 of file SessionSettings.h.

## POSTGRESQL_LOG_PASSWORD

const char FIX::POSTGRESQL_LOG_PASSWORD[] = "PostgreSQLLogPassword"

Definition at line 130 of file SessionSettings.h.

## POSTGRESQL_LOG_PORT

const char FIX::POSTGRESQL_LOG_PORT[] = "PostgreSQLLogPort"

Definition at line 132 of file SessionSettings.h.

## POSTGRESQL_LOG_USECONNECTIONPOOL

const char FIX::POSTGRESQL_LOG_USECONNECTIONPOOL[] = "PostgreSQLLogUseConnectionPool"

Definition at line 127 of file SessionSettings.h.

## POSTGRESQL_LOG_USER

const char FIX::POSTGRESQL_LOG_USER[] = "PostgreSQLLogUser"

Definition at line 129 of file SessionSettings.h.

## POSTGRESQL_STORE_DATABASE

const char FIX::POSTGRESQL_STORE_DATABASE[] = "PostgreSQLStoreDatabase"

Definition at line 105 of file SessionSettings.h.

## POSTGRESQL_STORE_HOST

const char FIX::POSTGRESQL_STORE_HOST[] = "PostgreSQLStoreHost"

Definition at line 108 of file SessionSettings.h.

## POSTGRESQL_STORE_PASSWORD

const char FIX::POSTGRESQL_STORE_PASSWORD[] = "PostgreSQLStorePassword"

Definition at line 107 of file SessionSettings.h.

## POSTGRESQL_STORE_PORT

const char FIX::POSTGRESQL_STORE_PORT[] = "PostgreSQLStorePort"

Definition at line 109 of file SessionSettings.h.

## POSTGRESQL_STORE_USECONNECTIONPOOL

const char FIX::POSTGRESQL_STORE_USECONNECTIONPOOL[] = "PostgreSQLStoreUseConnectionPool"

Definition at line 104 of file SessionSettings.h.

## POSTGRESQL_STORE_USER

const char FIX::POSTGRESQL_STORE_USER[] = "PostgreSQLStoreUser"

Definition at line 106 of file SessionSettings.h.

## PRESERVE_MESSAGE_FIELDS_ORDER

const char FIX::PRESERVE_MESSAGE_FIELDS_ORDER[] = "PreserveMessageFieldsOrder"

Definition at line 94 of file SessionSettings.h.

Referenced by FIX::SessionFactory::destroy().

## RECONNECT_INTERVAL

const char FIX::RECONNECT_INTERVAL[] = "ReconnectInterval"

Definition at line 88 of file SessionSettings.h.

Referenced by FIX::ThreadedSocketInitiator::ThreadedSocketInitiator().

## REFRESH_ON_LOGON

const char FIX::REFRESH_ON_LOGON[] = "RefreshOnLogon"

Definition at line 145 of file SessionSettings.h.

Referenced by FIX::HttpConnection::processSession().

## RESET_ON_DISCONNECT

const char FIX::RESET_ON_DISCONNECT[] = "ResetOnDisconnect"

Definition at line 144 of file SessionSettings.h.

Referenced by FIX::HttpConnection::processSession().

## RESET_ON_LOGON

const char FIX::RESET_ON_LOGON[] = "ResetOnLogon"

Definition at line 142 of file SessionSettings.h.

Referenced by FIX::HttpConnection::processSession().

## RESET_ON_LOGOUT

const char FIX::RESET_ON_LOGOUT[] = "ResetOnLogout"

Definition at line 143 of file SessionSettings.h.

Referenced by FIX::HttpConnection::processSession().

## SCREEN_LOG_SHOW_EVENTS

const char FIX::SCREEN_LOG_SHOW_EVENTS[] = "ScreenLogShowEvents"

Definition at line 117 of file SessionSettings.h.

## SCREEN_LOG_SHOW_INCOMING

const char FIX::SCREEN_LOG_SHOW_INCOMING[] = "ScreenLogShowIncoming"

Definition at line 115 of file SessionSettings.h.

## SCREEN_LOG_SHOW_OUTGOING

const char FIX::SCREEN_LOG_SHOW_OUTGOING[] = "ScreenLogShowOutgoing"

Definition at line 116 of file SessionSettings.h.

## SEND_REDUNDANT_RESENDREQUESTS

const char FIX::SEND_REDUNDANT_RESENDREQUESTS[] = "SendRedundantResendRequests"

Definition at line 62 of file SessionSettings.h.

Referenced by FIX::HttpConnection::processSession().

## SEND_RESETSEQNUMFLAG

const char FIX::SEND_RESETSEQNUMFLAG[] = "SendResetSeqNumFlag"

Definition at line 61 of file SessionSettings.h.

## SENDERCOMPID

const char FIX::SENDERCOMPID[] = "SenderCompID"

Definition at line 55 of file SessionSettings.h.

Referenced by operator>>().

## SERVER_CERT_FILE

const char FIX::SERVER_CERT_FILE[] = "ServerCertificateFile"

Definition at line 150 of file SessionSettings.h.

## SERVER_CERT_KEY_FILE

const char FIX::SERVER_CERT_KEY_FILE[] = "ServerCertificateKeyFile"

Definition at line 151 of file SessionSettings.h.

## SESSION_QUALIFIER

const char FIX::SESSION_QUALIFIER[] = "SessionQualifier"

Definition at line 57 of file SessionSettings.h.

Referenced by operator>>().

## SessionRejectReason_COMPID_PROBLEM_TEXT

const char FIX::SessionRejectReason_COMPID_PROBLEM_TEXT[] = "CompID problem"

Definition at line 64 of file Values.h.

## SessionRejectReason_DECRYPTION_PROBLEM_TEXT

const char FIX::SessionRejectReason_DECRYPTION_PROBLEM_TEXT[] = "Decryption problem"

Definition at line 62 of file Values.h.

## SessionRejectReason_INCORRECT_DATA_FORMAT_FOR_VALUE_TEXT

const char FIX::SessionRejectReason_INCORRECT_DATA_FORMAT_FOR_VALUE_TEXT[] = "Incorrect data format for value"

Definition at line 61 of file Values.h.

## SessionRejectReason_INCORRECT_NUMINGROUP_COUNT_FOR_REPEATING_GROUP_TEXT

const char FIX::SessionRejectReason_INCORRECT_NUMINGROUP_COUNT_FOR_REPEATING_GROUP_TEXT[] = "Incorrect NumInGroup count for repeating group"

Definition at line 69 of file Values.h.

## SessionRejectReason_INVALID_MSGTYPE_TEXT

const char FIX::SessionRejectReason_INVALID_MSGTYPE_TEXT[] = "Invalid MsgType"

Definition at line 66 of file Values.h.

## SessionRejectReason_INVALID_TAG_NUMBER_TEXT

const char FIX::SessionRejectReason_INVALID_TAG_NUMBER_TEXT[] = "Invalid tag number"

Definition at line 55 of file Values.h.

## SessionRejectReason_REQUIRED_TAG_MISSING_TEXT

const char FIX::SessionRejectReason_REQUIRED_TAG_MISSING_TEXT[] = "Required tag missing"

Definition at line 56 of file Values.h.

## SessionRejectReason_SENDINGTIME_ACCURACY_PROBLEM_TEXT

const char FIX::SessionRejectReason_SENDINGTIME_ACCURACY_PROBLEM_TEXT[] = "SendingTime accuracy problem"

Definition at line 65 of file Values.h.

## SessionRejectReason_SIGNATURE_PROBLEM_TEXT

const char FIX::SessionRejectReason_SIGNATURE_PROBLEM_TEXT[] = "Signature problem"

Definition at line 63 of file Values.h.

## SessionRejectReason_TAG_APPEARS_MORE_THAN_ONCE_TEXT

const char FIX::SessionRejectReason_TAG_APPEARS_MORE_THAN_ONCE_TEXT[] = "Tag appears more than once"

Definition at line 67 of file Values.h.

## SessionRejectReason_TAG_NOT_DEFINED_FOR_THIS_MESSAGE_TYPE_TEXT

const char FIX::SessionRejectReason_TAG_NOT_DEFINED_FOR_THIS_MESSAGE_TYPE_TEXT[] = "Tag not defined for this message type"

Definition at line 57 of file Values.h.

## SessionRejectReason_TAG_SPECIFIED_OUT_OF_REQUIRED_ORDER_TEXT

const char FIX::SessionRejectReason_TAG_SPECIFIED_OUT_OF_REQUIRED_ORDER_TEXT[] = "Tag specified out of required order"

Definition at line 68 of file Values.h.

## SessionRejectReason_TAG_SPECIFIED_WITHOUT_A_VALUE_TEXT

const char FIX::SessionRejectReason_TAG_SPECIFIED_WITHOUT_A_VALUE_TEXT[] = "Tag specified without a value"

Definition at line 59 of file Values.h.

## SessionRejectReason_UNDEFINED_TAG_TEXT

const char FIX::SessionRejectReason_UNDEFINED_TAG_TEXT[] = "Undefined Tag"

Definition at line 58 of file Values.h.

## SessionRejectReason_VALUE_IS_INCORRECT_TEXT

const char FIX::SessionRejectReason_VALUE_IS_INCORRECT_TEXT[] = "Value is incorrect (out of range) for this tag"

Definition at line 60 of file Values.h.

## SOCKET_ACCEPT_PORT

const char FIX::SOCKET_ACCEPT_PORT[] = "SocketAcceptPort"

Definition at line 79 of file SessionSettings.h.

Referenced by FIX::SocketAcceptor::onConfigure(), FIX::ThreadedSocketAcceptor::onConfigure(), FIX::SocketAcceptor::SocketAcceptor(), and FIX::ThreadedSocketAcceptor::ThreadedSocketAcceptor().

## SOCKET_CONNECT_HOST

const char FIX::SOCKET_CONNECT_HOST[] = "SocketConnectHost"

Definition at line 81 of file SessionSettings.h.

Referenced by FIX::SocketInitiator::onTimeout().

## SOCKET_CONNECT_PORT

const char FIX::SOCKET_CONNECT_PORT[] = "SocketConnectPort"

Definition at line 82 of file SessionSettings.h.

Referenced by FIX::SocketInitiator::onTimeout().

## SOCKET_CONNECT_SOURCE_HOST

const char FIX::SOCKET_CONNECT_SOURCE_HOST[] = "SocketConnectSourceHost"

Definition at line 83 of file SessionSettings.h.

Referenced by FIX::ThreadedSocketInitiator::getHost(), and FIX::SocketInitiator::getHost().

## SOCKET_CONNECT_SOURCE_PORT

const char FIX::SOCKET_CONNECT_SOURCE_PORT[] = "SocketConnectSourcePort"

Definition at line 84 of file SessionSettings.h.

Referenced by FIX::ThreadedSocketInitiator::getHost(), and FIX::SocketInitiator::getHost().

## SOCKET_NODELAY

const char FIX::SOCKET_NODELAY[] = "SocketNodelay"

Definition at line 85 of file SessionSettings.h.

Referenced by FIX::ThreadedSocketAcceptor::ThreadedSocketAcceptor(), and FIX::ThreadedSocketInitiator::ThreadedSocketInitiator().

## SOCKET_RECEIVE_BUFFER_SIZE

const char FIX::SOCKET_RECEIVE_BUFFER_SIZE[] = "SocketReceiveBufferSize"

Definition at line 87 of file SessionSettings.h.

Referenced by FIX::ThreadedSocketInitiator::ThreadedSocketInitiator().

## SOCKET_REUSE_ADDRESS

const char FIX::SOCKET_REUSE_ADDRESS[] = "SocketReuseAddress"

Definition at line 80 of file SessionSettings.h.

Referenced by FIX::SocketAcceptor::onConfigure(), FIX::SocketAcceptor::SocketAcceptor(), and FIX::ThreadedSocketAcceptor::ThreadedSocketAcceptor().

## SOCKET_SEND_BUFFER_SIZE

const char FIX::SOCKET_SEND_BUFFER_SIZE[] = "SocketSendBufferSize"

Definition at line 86 of file SessionSettings.h.

Referenced by FIX::ThreadedSocketInitiator::ThreadedSocketInitiator().

## SSL_CIPHER_SUITE

const char FIX::SSL_CIPHER_SUITE[] = "SSLCipherSuite"

Definition at line 233 of file SessionSettings.h.

## SSL_PROTOCOL

const char FIX::SSL_PROTOCOL[] = "SSLProtocol"

Definition at line 203 of file SessionSettings.h.

## START_DAY

const char FIX::START_DAY[] = "StartDay"

Definition at line 69 of file SessionSettings.h.

## START_TIME

const char FIX::START_TIME[] = "StartTime"

Definition at line 67 of file SessionSettings.h.

## TARGETCOMPID

const char FIX::TARGETCOMPID[] = "TargetCompID"

Definition at line 56 of file SessionSettings.h.

Referenced by operator>>().

## TIMESTAMP_PRECISION

const char FIX::TIMESTAMP_PRECISION[] = "TimestampPrecision"

Definition at line 147 of file SessionSettings.h.

## TRANSPORT_DATA_DICTIONARY

const char FIX::TRANSPORT_DATA_DICTIONARY[] = "TransportDataDictionary"

Definition at line 64 of file SessionSettings.h.

## USE_DATA_DICTIONARY

const char FIX::USE_DATA_DICTIONARY[] = "UseDataDictionary"

Definition at line 60 of file SessionSettings.h.

## USE_LOCAL_TIME

const char FIX::USE_LOCAL_TIME[] = "UseLocalTime"

Definition at line 66 of file SessionSettings.h.

## VALIDATE_FIELDS_HAVE_VALUES

const char FIX::VALIDATE_FIELDS_HAVE_VALUES[] = "ValidateFieldsHaveValues"

Definition at line 91 of file SessionSettings.h.

## VALIDATE_FIELDS_OUT_OF_ORDER

const char FIX::VALIDATE_FIELDS_OUT_OF_ORDER[] = "ValidateFieldsOutOfOrder"

Definition at line 90 of file SessionSettings.h.

## VALIDATE_LENGTH_AND_CHECKSUM

const char FIX::VALIDATE_LENGTH_AND_CHECKSUM[] = "ValidateLengthAndChecksum"

Definition at line 89 of file SessionSettings.h.

## VALIDATE_USER_DEFINED_FIELDS

const char FIX::VALIDATE_USER_DEFINED_FIELDS[] = "ValidateUserDefinedFields"

Definition at line 92 of file SessionSettings.h.

## VERIFY_LEVEL

const char FIX::VERIFY_LEVEL[] = "CertificateVerifyLevel"

Definition at line 158 of file SessionSettings.h.

FIX::socket_setsockopt
int socket_setsockopt(int s, int opt, int optval)
Definition: Utility.cpp:235
FIX::thread_id
pthread_t thread_id
Definition: Utility.h:190
FIX::file_appendpath
std::string file_appendpath(const std::string &path, const std::string &file)
Definition: Utility.cpp:568
FIX::file_fclose
void file_fclose(FILE *file)
Definition: Utility.cpp:537
FIX::socket_fcntl
int socket_fcntl(int s, int opt, int arg)
Definition: Utility.cpp:267
FIX::SESSION_QUALIFIER
const char SESSION_QUALIFIER[]
Definition: SessionSettings.h:57
FIX::socket_connect
int socket_connect(int socket, const char *address, int port)
Definition: Utility.cpp:165
FIX::operator<<
std::ostream & operator<<(std::ostream &stream, const SessionSettings &s)
Definition: SessionSettings.cpp:106
FIX::string_strip
std::string string_strip(const std::string &value)
Definition: Utility.cpp:84
FIX::integer_to_string
char * integer_to_string(char *buf, const size_t len, signed_int t)
Definition: FieldConvertors.h:116
FIX::isSection
bool isSection(const std::string &line)
Definition: Settings.cpp:56
FIX::socket_isValid
bool socket_isValid(int socket)
Definition: Utility.cpp:294
FIX::socket_recv
ssize_t socket_recv(int s, char *buf, size_t length)
Definition: Utility.cpp:187
FIX::BEGINSTRING
const char BEGINSTRING[]
Definition: SessionSettings.h:54
FIX::operator>=
bool operator>=(const std::string &lhs, const StringField &rhs)
Definition: Field.h:376
FIX::SENDERCOMPID
const char SENDERCOMPID[]
Definition: SessionSettings.h:55
FIX::integer_to_string_padded
char * integer_to_string_padded(char *buf, const size_t len, signed_int t, const char paddingChar='0')
Definition: FieldConvertors.h:149
FIX::resolveEnvVars
std::string resolveEnvVars(const std::string &str)
Definition: Settings.cpp:82
FIX::socket_send
ssize_t socket_send(int s, const char *msg, size_t length)
Definition: Utility.cpp:192
FIX::isComment
bool isComment(const std::string &line)
Definition: Settings.cpp:48
FIX::socket_getfcntlflag
int socket_getfcntlflag(int s, int arg)
Definition: Utility.cpp:272
FIX::digit_pairs
static const char digit_pairs[201]
Definition: FieldConvertors.h:103
FIX::splitKeyValue
std::pair< std::string, std::string > splitKeyValue(const std::string &line)
Definition: Settings.cpp:74
FIX::TARGETCOMPID
const char TARGETCOMPID[]
Definition: SessionSettings.h:56
FIX::splitSection
std::string splitSection(const std::string &line)
Definition: Settings.cpp:64
FIX::THREAD_START_ROUTINE
void *() THREAD_START_ROUTINE(void *)
Definition: Utility.h:183
FIX::socket_hostname
const char * socket_hostname(const char *name)
Definition: Utility.cpp:341
FIX::operator<=
bool operator<=(const std::string &lhs, const StringField &rhs)
Definition: Field.h:372
FIX::operator!=
bool operator!=(const DatabaseConnectionID &lhs, const DatabaseConnectionID &rhs)
Definition: DatabaseConnectionID.h:116
FIX::thread_spawn
bool thread_spawn(THREAD_START_ROUTINE func, void *var)
Definition: Utility.cpp:448
FIX::isKeyValue
bool isKeyValue(const std::string &line)
Definition: Settings.cpp:69
FIX::operator>>
std::istream & operator>>(std::istream &stream, Settings &s)
Definition: Settings.cpp:151
FIX::signed_int
int signed_int
Definition: FieldConvertors.h:60
FIX::socket_createpair
std::pair< int, int > socket_createpair()
Definition: Utility.cpp:383
FIX::socket_setfcntlflag
int socket_setfcntlflag(int s, int arg)
Definition: Utility.cpp:277