fix8
version 1.4.0
Open Source C++ FIX Framework
|
Namespaces | |
defaults | |
MBUS | |
States | |
Session states and semantics. | |
TEX | |
Classes | |
class | _f8_threadcore |
pthread wrapper abstract base More... | |
struct | _pair |
Pair abstraction for use with GeneratedTable. More... | |
struct | _pair< const char *, Val > |
Partial specialisation of Pair abstraction for use with GeneratedTable. More... | |
class | AsyncSocket |
Half duplex async socket wrapper with thread. More... | |
struct | BadCheckSum |
An inbound message had an invalid (incorrect) checksum. More... | |
struct | BadCompidId |
A message was received with an invalid sender/target compid id. More... | |
struct | BadSendingTime |
A message was received with an invalid sending time. More... | |
struct | BaseEntry |
class | BaseField |
The base field class (ABC) for all fields. More... | |
struct | BaseMsgEntry |
Message instantiation table entry. More... | |
class | BCLogger |
A broadcast logger. More... | |
class | bcostream |
udp stream More... | |
class | bcoutbuf |
Socket output streambuf, inspiration from Josuttis N.M. More... | |
class | buffered_ostream |
struct | CharRealm |
f8c character realm type. More... | |
class | ClientConnection |
Client (initiator) specialisation of Connection. More... | |
class | ClientSession |
Client wrapper. More... | |
class | ClientSessionBase |
Base Client wrapper. More... | |
class | Configuration |
Class to encapsulate a Fix8 configuration. More... | |
struct | ConfigurationError |
An bad or missing configuration parameter. More... | |
class | Connection |
Complete Fix connection (reader and writer). More... | |
class | ConsoleMenu |
Console test harness menu. More... | |
struct | Ctxt |
f8c compilation context. More... | |
struct | DuplicateField |
A field was decoded in a message that has already been decoded. More... | |
class | ebitset |
Bitset for enums. More... | |
class | ebitset_r |
Atomic bitset for enums. More... | |
struct | EnumType |
Int2Type idiom. Kudos to Andrei Alexandrescu. More... | |
class | f8_mutex |
generic pthread_mutex wrapper More... | |
class | f8_scoped_lock_impl |
class | f8_spin_lock |
generic spin_lock wrapper More... | |
class | f8_thread |
Thread wrapper. Ctor provides T instance and specifies ptr to member to call or defaults to operator() More... | |
class | f8_thread_cancellation_token |
Thread cancellation token. More... | |
struct | f8_threadException |
A pthread attribute error occured. More... | |
class | f8Exception |
Base exception class. More... | |
struct | F8MetaCntx |
Static metadata context class - one per FIX xml schema. More... | |
class | fdinbuf |
Create a streambuf from an open file descriptor. More... | |
class | fdoutbuf |
File descriptor output streambuf, inspiration from Josuttis N.M. More... | |
class | ff_unbounded_queue |
class | ff_unbounded_queue< T * > |
class | Field |
Field template. There will ONLY be partial template specialisations of this template. More... | |
class | Field< Boolean, field > |
Partial specialisation for Boolean field type. More... | |
class | Field< char *, field > |
Partial specialisation for char * field type. More... | |
class | Field< char, field > |
Partial specialisation for unsigned short field type. More... | |
class | Field< DayOfMonth, field > |
Partial specialisation for DayOfMonth field type. More... | |
class | Field< f8String, field > |
Partial specialisation for f8String field type. More... | |
class | Field< fp_type, field > |
Partial specialisation for fp_type field type. fp_type is singe or double. More... | |
class | Field< int, field > |
Partial specialisation for int field type. More... | |
class | Field< Length, field > |
Partial specialisation for Length field type. More... | |
class | Field< LocalMktDate, field > |
Partial specialisation for LocalMktDate field type. More... | |
class | Field< MonthYear, field > |
Partial specialisation for MonthYear field type. More... | |
class | Field< NumInGroup, field > |
Partial specialisation for NumInGroup field type. More... | |
class | Field< SeqNum, field > |
Partial specialisation for SeqNum field type. More... | |
class | Field< TagNum, field > |
Partial specialisation for TagNum field type. More... | |
class | Field< TZTimeOnly, field > |
Partial specialisation for TZTimeOnly field type. More... | |
class | Field< TZTimestamp, field > |
Partial specialisation for TZTimestamp field type. More... | |
class | Field< UTCDateOnly, field > |
Partial specialisation for UTCDateOnly field type. More... | |
class | Field< UTCTimeOnly, field > |
Partial specialisation for UTCTimeOnly field type. More... | |
class | Field< UTCTimestamp, field > |
Partial specialisation for UTCTimestamp field type. More... | |
struct | FieldSpec |
f8c internal field representation. More... | |
struct | FieldTrait |
Used for static trait interrogation. More... | |
struct | FieldTrait_Hash_Array |
Fast index lookup for FieldTrait. More... | |
class | FieldTraits |
A collection of FieldTraits for a message. Which fields are required, which are present. More... | |
class | FileLogger |
A file logger. More... | |
class | FilePersister |
class | filestdin |
Abstract file or stdin input. More... | |
class | FIXReader |
Fix message reader. More... | |
class | FIXWriter |
Fix message writer. More... | |
class | fptrostream |
File pointer stream. More... | |
class | GeneratedTable |
Fast map for statically generated data types. Assumes table is sorted. Complexity is O(logN). More... | |
class | GroupBase |
Abstract base class for all repeating groups. More... | |
struct | IllegalMessage |
A message was read that was in an illegal format. More... | |
class | Inst |
Field metadata structures. More... | |
class | IntervalTimer |
High resolution interval timer. More... | |
struct | InvalidBodyLength |
A message was decoded with an invalid message body length. More... | |
struct | InvalidConfiguration |
An invalid configuration parameter was passed. More... | |
struct | InvalidDomainValue |
For field types with a specified domain (realm), a value was decoded that was not in the domain set/range. More... | |
struct | InvalidField |
An invalid field was requested or added. More... | |
struct | InvalidMessage |
An invalid message was requested or decoded. More... | |
struct | InvalidMetadata |
Indicates a static metadata lookup failed. With the exception of user defined fields there should never be an instance where a metatdata lookup fails. More... | |
struct | InvalidMsgSequence |
A message was received with an out of sequence sequence number. More... | |
struct | InvalidRepeatingGroup |
An invalid repeating group was found while attempting to encode a message. More... | |
struct | InvalidVersion |
A message was decoded that had a Fix version not configured for this session. More... | |
struct | IPrec |
class | log_stream |
struct | LogfileException |
Could not open a logfile. More... | |
class | Logger |
f8_thread delegated async logging class More... | |
struct | LoginParameters |
class | MemoryPersister |
Memory based message persister. More... | |
class | Message |
A complete Fix message with header, body and trailer. More... | |
class | MessageBase |
Base class for all fix messages. More... | |
struct | MessageSpec |
f8c internal message representation. More... | |
class | Minst |
Structures for framework generated message creation and static trait interrogation. More... | |
struct | MissingMandatoryField |
An outbound message was missing a mandatory field. More... | |
struct | MissingMessageComponent |
An outbound message was missing a header or trailer. More... | |
struct | MissingRepeatingGroupField |
An invalid repeating group field was found while decoding a message (first field is mandatory). More... | |
struct | MsgSequenceTooLow |
A message was received with an out of sequence sequence number. More... | |
struct | null_insert |
Template provides insert operator that inserts nothing. More... | |
struct | PeerResetConnection |
A connected peer has reset the connection (disconnected). More... | |
class | Persister |
Base (ABC) Persister class. More... | |
class | PipeLogger |
A pipe logger. More... | |
struct | Prec |
File persister. More... | |
class | presorted_set |
class | presorted_set< unsigned short, FieldTrait, FieldTrait::Compare > |
class | push_dir |
struct | RealmBase |
Domain range/set static metadata base class. More... | |
class | RealmObject |
f8c range or set domain realm. More... | |
class | RegExp |
POSIX regex wrapper class. More... | |
class | RegMatch |
A class to contain regex matches using RegExp. More... | |
class | ReliableClientSession |
Reliable Client wrapper. This client attempts to recover from disconnects and login rejects. More... | |
class | Router |
Base class for inbound message routing. More... | |
struct | Schedule |
struct | Server |
Class to hold server settings for failoverable sessions. More... | |
class | ServerConnection |
Server (acceptor) specialisation of Connection. More... | |
class | ServerManager |
Multi Server Manager. More... | |
class | ServerSession |
class | ServerSessionBase |
Base Server Session. More... | |
class | Session |
Fix8 Base Session. User sessions are derived from this class. More... | |
struct | Session_Schedule |
struct | SessionConfig |
Base session wrapper. More... | |
class | SessionID |
Quickfix style sessionid. More... | |
class | SessionInstance |
Server session instance. More... | |
class | SessionInstanceBase |
Base Server session instance. More... | |
class | SessionManager |
Session Manager. More... | |
class | SingleLogger |
A global singleton logger. More... | |
class | Singleton |
struct | SslContext |
Class to hold SSL context for failoverable sessions. More... | |
struct | StringLessThanNoCase |
Case-insensitive string comparison. More... | |
struct | StringPtrLessThan |
Case-sensitive string comparison, pointer version. More... | |
struct | StringPtrLessThanNoCase |
Case-insensitive string comparison, pointer version. More... | |
struct | StringRealm |
f8c string realm type. More... | |
class | Tickval |
class | Timer |
High resolution timer. More... | |
class | TimerEvent |
Timer event object to provide callback context with Timer. More... | |
class | tty_save_state |
struct | Type2Type |
Type2Type idiom. Variadic template version. Kudos to Andrei Alexandrescu. More... | |
class | TypedRealm |
f8c typed realm. More... | |
struct | UnknownField |
An invalid field was decoded. More... | |
struct | XMLError |
An invalid configuration parameter was passed. More... | |
class | XmlFileLogger |
A file logger. More... | |
Enumerations | |
enum | ProcessModel { pm_thread, pm_pipeline, pm_coro, pm_count } |
Supported session process models. More... | |
enum | TimeIndicator { _time_only, _time_with_ms, _short_date_only, _date_only, _sec_only, _with_ms } |
enum | hyperunits_t { h_seconds, h_milliseconds, h_microseconds, h_nanoseconds, h_count } |
enum | comp_str { cs_do_not_edit, cs_start_namespace, cs_end_namespace, cs_start_anon_namespace, cs_end_anon_namespace, cs_divider, cs_copyright, cs_copyright2, cs_generated_includes, cs_header_preamble, cs_trailer_preamble } |
Functions | |
const unsigned char | default_field_separator (0x1) |
default FIX field separator (^A) More... | |
const unsigned char | default_assignment_separator ('=') |
default FIX assignment separator (=) More... | |
F8API std::string & | InPlaceStrToUpper (std::string &src) |
F8API std::string & | InPlaceStrToLower (std::string &src) |
F8API std::string | StrToLower (const std::string &src) |
F8API int | decode_dow (const std::string &from) |
F8API std::string & | CheckAddTrailingSlash (std::string &source) |
F8API std::string & | InPlaceReplaceInSet (const std::string &iset, std::string &src, const char repl='_') |
F8API std::string | Str_error (const int err, const char *str=0) |
F8API const std::string & | GetTimeAsStringMS (std::string &result, const class Tickval *tv=0, const unsigned dplaces=6, bool use_gm=false) |
std::string | GetTimeAsStringMS (const class Tickval *tv, const unsigned dplaces=6, bool use_gm=false) |
F8API const std::string & | GetTimeAsStringMini (std::string &result, const Tickval *tv) |
std::string | GetTimeAsStringMini (const Tickval *tv) |
std::string | trim (const std::string &source, const std::string &ws=" \t") |
const std::string & | trim (std::string &source, const std::string &ws=" \t") |
F8API const Package_info & | package_info () |
F8API f8String | find_package_info_string (const f8String &what) |
template<typename T > | |
void | ignore_value (T val) |
template<typename T > | |
void | ignore_value (T *val) |
template<typename T > | |
T | rotl (const T val, const int times) |
template<typename T > | |
T | rotr (const T val, const int times) |
unsigned | ROT13Hash (const std::string &str) |
unsigned | rothash (unsigned result, unsigned value) |
template<typename _CharT , typename _Traits , typename _Alloc > | |
bool | operator% (const std::basic_string< _CharT, _Traits, _Alloc > &__lhs, const std::basic_string< _CharT, _Traits, _Alloc > &__rhs) |
template<typename _CharT , typename _Traits , typename _Alloc > | |
bool | operator% (const _CharT *__lhs, const std::basic_string< _CharT, _Traits, _Alloc > &__rhs) |
template<typename _CharT , typename _Traits , typename _Alloc > | |
bool | operator% (const std::basic_string< _CharT, _Traits, _Alloc > &__lhs, const _CharT *__rhs) |
template<typename _CharT , typename _Traits , typename _Alloc > | |
bool | operator^ (const std::basic_string< _CharT, _Traits, _Alloc > &__lhs, const std::basic_string< _CharT, _Traits, _Alloc > &__rhs) |
F8API void | create_path (const std::string &path) |
template<typename T > | |
T | get_value (const std::string &source) |
template<> | |
unsigned | get_value (const std::string &source) |
template<> | |
int | get_value (const std::string &source) |
template<> | |
double | get_value (const std::string &source) |
template<> | |
float | get_value (const std::string &source) |
template<> | |
bool | get_value (const std::string &source) |
template<typename T > | |
T | fast_atoi (const char *str, const char term='\0') |
template<typename T > | |
size_t | itoa (T value, char *result, int base) |
Fast itoa. More... | |
template<> | |
size_t | itoa< unsigned int > (unsigned int value, char *result, int base) |
Fast itoa - unsigned int specialisation. More... | |
fp_type | fast_atof (const char *p) |
size_t | modp_dtoa (double value, char *str, int prec) |
Convert double to ascii. More... | |
constexpr unsigned | bitsum () |
empty argument version More... | |
template<typename T , typename... Args> | |
constexpr unsigned | bitsum (T value, Args...args) |
template<typename T > | |
T | enum_str_get (const std::vector< std::string > &sset, const std::string &what, const T def, bool ignorecase=false) |
F8API int | get_umask () |
bool | exist (const std::string &fname) |
void | split_path (const std::string &source, std::string &filepart, std::string &dirpart) |
char * | CopyString (const std::string &src, char *target, unsigned limit=0) |
const size_t | MAX_MSGTYPE_FIELD_LEN (32) |
const size_t | HEADER_CALC_OFFSET (32) |
void | format0 (int data, char *to, int width) |
size_t | parse_decimal (const char *begin, size_t len, int &to) |
time_t | time_to_epoch (const tm <m, int utcdiff=0) |
size_t | date_time_format (const Tickval &tickval, char *to, TimeIndicator ind) |
Tickval::ticks | date_time_parse (const char *ptr, size_t len) |
Tickval::ticks | time_parse (const char *ptr, size_t len, bool timeonly=false) |
Tickval::ticks | date_parse (const char *ptr, size_t len) |
const f8String | Common_MsgType_HEARTBEAT ("0") |
const f8String | Common_MsgType_TEST_REQUEST ("1") |
const f8String | Common_MsgType_RESEND_REQUEST ("2") |
const f8String | Common_MsgType_REJECT ("3") |
const f8String | Common_MsgType_SEQUENCE_RESET ("4") |
const f8String | Common_MsgType_LOGOUT ("5") |
const f8String | Common_MsgType_LOGON ("A") |
const f8String | Common_MsgType_BUSINESS_REJECT ("j") |
const char | Common_MsgByte_HEARTBEAT ('0') |
const char | Common_MsgByte_TEST_REQUEST ('1') |
const char | Common_MsgByte_RESEND_REQUEST ('2') |
const char | Common_MsgByte_REJECT ('3') |
const char | Common_MsgByte_SEQUENCE_RESET ('4') |
const char | Common_MsgByte_LOGOUT ('5') |
const char | Common_MsgByte_LOGON ('A') |
const char | Common_MsgByte_BUSINESS_REJECT ('j') |
const unsigned short | Common_BeginSeqNo (7) |
const unsigned short | Common_BeginString (8) |
const unsigned short | Common_BodyLength (9) |
const unsigned short | Common_CheckSum (10) |
const unsigned short | Common_EndSeqNo (16) |
const unsigned short | Common_MsgSeqNum (34) |
const unsigned short | Common_MsgType (35) |
const unsigned short | Common_NewSeqNo (36) |
const unsigned short | Common_PossDupFlag (43) |
const unsigned short | Common_RefSeqNum (45) |
const unsigned short | Common_SenderCompID (49) |
const unsigned short | Common_SendingTime (52) |
const unsigned short | Common_TargetCompID (56) |
const unsigned short | Common_Text (58) |
const unsigned short | Common_EncryptMethod (98) |
const unsigned short | Common_HeartBtInt (108) |
const unsigned short | Common_TestReqID (112) |
const unsigned short | Common_OnBehalfOfCompID (115) |
const unsigned short | Common_OnBehalfOfSubID (116) |
const unsigned short | Common_OrigSendingTime (122) |
const unsigned short | Common_GapFillFlag (123) |
const unsigned short | Common_ResetSeqNumFlag (141) |
const unsigned short | Common_OnBehalfOfLocationID (144) |
const unsigned short | Common_OnBehalfOfSendingTime (370) |
const unsigned short | Common_RefMsgType (372) |
const unsigned short | Common_BusinessRejectReason (380) |
const unsigned short | Common_DefaultApplVerID (1137) |
template<hyperunits_t > | |
int | hypersleep (unsigned amt) |
template<> | |
int | hypersleep< h_seconds > (unsigned amt) |
template<> | |
int | hypersleep< h_milliseconds > (unsigned amt) |
template<> | |
int | hypersleep< h_microseconds > (unsigned amt) |
template<> | |
int | hypersleep< h_nanoseconds > (unsigned amt) |
int | hypersleep (unsigned amt, hyperunits_t units) |
const size_t | max_global_filename_length (1024) |
std::ostream & | operator<< (std::ostream &os, const GroupBase &what) |
F8API std::ostream & | operator<< (std::ostream &os, const FieldTrait &what) |
F8API std::ostream & | operator<< (std::ostream &os, const FieldTraits &what) |
const string & | GetTimeAsStringMS (string &result, const Tickval *tv, const unsigned dplaces, bool use_gm) |
const string & | GetTimeAsStringMini (string &result, const Tickval *tv) |
string & | CheckAddTrailingSlash (string &src) |
string & | InPlaceStrToUpper (string &src) |
string & | InPlaceReplaceInSet (const string &iset, string &src, const char repl) |
string & | InPlaceStrToLower (string &src) |
string | StrToLower (const string &src) |
void | create_path (const string &path) |
int | decode_dow (const string &from) |
int | recover_line (const XmlElement &xf) |
const F8MetaCntx & | TEX_ctx () |
Variables | |
F8API char | glob_log0 [max_global_filename_length] { "global_filename_not_set.log" } |
const CSMap | _csMap |
All FIX8 classes and functions reside inside this namespace.
using FIX8::_dthreadcore = typedef _f8_threadcore |
Definition at line 454 of file thread.hpp.
using FIX8::BaseTypeMap = typedef std::map<std::string, FieldTrait::FieldType> |
using FIX8::begin_seq_num = typedef Field<SeqNum, Common_BeginSeqNo> |
using FIX8::begin_string = typedef Field<f8String, Common_BeginString> |
using FIX8::body_length = typedef Field<Length, Common_BodyLength> |
using FIX8::Boolean = typedef EnumType<FieldTrait::ft_Boolean> |
using FIX8::business_reject_reason = typedef Field<int, Common_BusinessRejectReason> |
using FIX8::c_str_compare = typedef std::function<bool(const char *, const char *)> |
Field and Message metadata structures.
Definition at line 201 of file message.hpp.
using FIX8::check_sum = typedef Field<f8String, Common_CheckSum> |
using FIX8::Client = typedef std::tuple<f8String, Poco::Net::IPAddress> |
Class to hold client info settings for server sessions.
Definition at line 181 of file session.hpp.
using FIX8::ClientManager = typedef SessionManager<ClientSessionBase> |
Client Manager.
Definition at line 184 of file multisession.hpp.
using FIX8::Clients = typedef std::unordered_map<f8String, Client> |
Definition at line 182 of file session.hpp.
using FIX8::CommonGroupMap = typedef std::map<unsigned, CommonGroups> |
using FIX8::CommonGroups = typedef std::map<uint32_t, struct MessageSpec> |
using FIX8::Components = typedef std::map<std::string, const XmlElement *> |
using FIX8::country = typedef f8String |
using FIX8::CSMap = typedef std::map<comp_str, std::string> |
using FIX8::currency = typedef f8String |
using FIX8::data = typedef f8String |
using FIX8::DayOfMonth = typedef EnumType<FieldTrait::ft_DayOfMonth> |
using FIX8::default_appl_ver_id = typedef Field<f8String, Common_DefaultApplVerID> |
using FIX8::dthread = typedef f8_thread<T> |
Definition at line 453 of file thread.hpp.
using FIX8::dthread_cancellation_token = typedef f8_thread_cancellation_token |
Definition at line 455 of file thread.hpp.
using FIX8::encrypt_method = typedef Field<int, Common_EncryptMethod> |
using FIX8::end_seq_num = typedef Field<SeqNum, Common_EndSeqNo> |
using FIX8::Exchange = typedef f8String |
using FIX8::f8_atomic = typedef std::atomic <T> |
Definition at line 55 of file thread.hpp.
using FIX8::f8_scoped_lock = typedef f8_scoped_lock_impl<f8_mutex> |
Definition at line 451 of file thread.hpp.
using FIX8::f8_scoped_spin_lock = typedef f8_scoped_lock_impl<f8_spin_lock> |
Definition at line 452 of file thread.hpp.
using FIX8::f8String = typedef std::string |
Definition at line 47 of file f8types.hpp.
using FIX8::Fields = typedef std::map <unsigned short, BaseField *> |
Definition at line 377 of file message.hpp.
using FIX8::FieldSpecMap = typedef std::map<unsigned, struct FieldSpec> |
using FIX8::FieldTable = typedef GeneratedTable<unsigned, BaseEntry> |
Definition at line 205 of file message.hpp.
using FIX8::FieldToNumMap = typedef std::map<std::string, unsigned> |
using FIX8::FieldTraitOrder = typedef std::multiset<const FieldTrait *, FieldTrait::PosCompare> |
using FIX8::fp_type = typedef double |
Definition at line 51 of file f8types.hpp.
using FIX8::gap_fill_flag = typedef Field<Boolean, Common_GapFillFlag> |
using FIX8::GlobalLogger = typedef SingleLogger<glob_log0> |
Definition at line 593 of file logger.hpp.
using FIX8::GroupElement = typedef std::vector<MessageBase *> |
Definition at line 53 of file message.hpp.
using FIX8::GroupMap = typedef std::map<unsigned, struct MessageSpec> |
using FIX8::Groups = typedef std::map<unsigned short, GroupBase *> |
Definition at line 56 of file message.hpp.
using FIX8::heartbeat_interval = typedef Field<int, Common_HeartBtInt> |
using FIX8::Language = typedef f8String |
using FIX8::Length = typedef EnumType<FieldTrait::ft_Length> |
using FIX8::LocalMktDate = typedef EnumType<FieldTrait::ft_LocalMktDate> |
using FIX8::logger_function = typedef std::function<bool(const std::string&, Logger::Level, const char *, const unsigned)> |
Definition at line 576 of file logger.hpp.
using FIX8::MessageSpecMap = typedef std::map<const std::string, MessageSpec> |
using FIX8::MonthYear = typedef EnumType<FieldTrait::ft_MonthYear> |
using FIX8::msg_create = typedef std::function<Message *(bool)> |
Definition at line 202 of file message.hpp.
using FIX8::msg_seq_num = typedef Field<SeqNum, Common_MsgSeqNum> |
using FIX8::msg_type = typedef Field<f8String, Common_MsgType> |
using FIX8::MsgList = typedef std::deque<FIX8::Message *> |
Definition at line 44 of file consolemenu.hpp.
using FIX8::MsgTable = typedef GeneratedTable<const char *, BaseMsgEntry> |
Definition at line 203 of file message.hpp.
using FIX8::MultipleCharValue = typedef f8String |
using FIX8::MultipleStringValue = typedef f8String |
using FIX8::new_seq_num = typedef Field<SeqNum, Common_NewSeqNo> |
using FIX8::NumInGroup = typedef EnumType<FieldTrait::ft_NumInGroup> |
using FIX8::onbehalfof_comp_id = typedef Field<f8String, Common_OnBehalfOfCompID> |
using FIX8::onbehalfof_location_id = typedef Field<f8String, Common_OnBehalfOfLocationID> |
using FIX8::onbehalfof_sending_time = typedef Field<UTCTimestamp, Common_OnBehalfOfSendingTime> |
using FIX8::onbehalfof_sub_id = typedef Field<f8String, Common_OnBehalfOfSubID> |
using FIX8::orig_sending_time = typedef Field<UTCTimestamp, Common_OrigSendingTime> |
using FIX8::Package_info = typedef std::map<f8String, f8String> |
Definition at line 172 of file f8utils.hpp.
using FIX8::Percentage = typedef fp_type |
using FIX8::Positions = typedef std::multimap<unsigned short, BaseField *> |
Definition at line 378 of file message.hpp.
using FIX8::poss_dup_flag = typedef Field<Boolean, Common_PossDupFlag> |
using FIX8::Presence = typedef presorted_set<unsigned short, FieldTrait, FieldTrait::Compare> |
Definition at line 434 of file traits.hpp.
using FIX8::price = typedef fp_type |
using FIX8::PriceOffset = typedef fp_type |
using FIX8::RealmMap = typedef std::map<RealmObject *, std::string, RealmObject::less> |
using FIX8::ref_msg_type = typedef Field<f8String, Common_RefMsgType> |
using FIX8::ref_seq_num = typedef Field<SeqNum, Common_RefSeqNum> |
using FIX8::reset_seqnum_flag = typedef Field<Boolean, Common_ResetSeqNumFlag> |
using FIX8::ReverseFieldTable = typedef std::map<const char * const, const BaseEntry *, c_str_compare> |
Definition at line 206 of file message.hpp.
using FIX8::ReverseMsgTable = typedef std::map<const char * const, const BaseMsgEntry *, c_str_compare> |
Definition at line 204 of file message.hpp.
using FIX8::sender_comp_id = typedef Field<f8String, Common_SenderCompID> |
using FIX8::sending_time = typedef Field<UTCTimestamp, Common_SendingTime> |
using FIX8::SeqNum = typedef EnumType<FieldTrait::ft_SeqNum> |
using FIX8::SessionInstanceManager = typedef SessionManager<SessionInstanceBase> |
Session Instance Manager.
Definition at line 186 of file multisession.hpp.
using FIX8::TagNum = typedef EnumType<FieldTrait::ft_TagNum> |
using FIX8::target_comp_id = typedef Field<f8String, Common_TargetCompID> |
using FIX8::test_request_id = typedef Field<f8String, Common_TestReqID> |
using FIX8::text = typedef Field<f8String, Common_Text> |
using FIX8::thread_id_t = typedef std::thread::id |
Definition at line 58 of file thread.hpp.
using FIX8::TypeToCPP = typedef std::map<FieldTrait::FieldType, std::pair<std::string, std::string>> |
using FIX8::TZTimeOnly = typedef EnumType<FieldTrait::ft_TZTimeOnly> |
using FIX8::TZTimestamp = typedef EnumType<FieldTrait::ft_TZTimestamp> |
using FIX8::UTCDateOnly = typedef EnumType<FieldTrait::ft_UTCDateOnly> |
using FIX8::UTCTimeOnly = typedef EnumType<FieldTrait::ft_UTCTimeOnly> |
using FIX8::UTCTimestamp = typedef EnumType<FieldTrait::ft_UTCTimestamp> |
using FIX8::XMLData = typedef f8String |
enum FIX8::comp_str |
Definition at line 186 of file f8c.hpp.
enum FIX8::hyperunits_t |
Enumerator | |
---|---|
h_seconds | |
h_milliseconds | |
h_microseconds | |
h_nanoseconds | |
h_count |
Definition at line 43 of file hypersleep.hpp.
enum FIX8::ProcessModel |
Supported session process models.
Enumerator | |
---|---|
pm_thread | |
pm_pipeline | |
pm_coro | |
pm_count |
Definition at line 56 of file f8types.hpp.
enum FIX8::TimeIndicator |
Enumerator | |
---|---|
_time_only | |
_time_with_ms | |
_short_date_only | |
_date_only | |
_sec_only | |
_with_ms |
Definition at line 882 of file field.hpp.
constexpr unsigned FIX8::bitsum | ( | ) |
constexpr unsigned FIX8::bitsum | ( | T | value, |
Args... | args | ||
) |
Calculate the value of a set of bit positions, e.g. bitsum(1,3,5,6)
T | first value, used to unpack |
Args | remaining values |
Definition at line 833 of file f8utils.hpp.
References bitsum().
F8API std::string& FIX8::CheckAddTrailingSlash | ( | std::string & | source | ) |
Check if string has trailing slash, if not add.
source | source string |
Referenced by FIX8::FilePersister::initialise(), main(), and open_ofile().
string& FIX8::CheckAddTrailingSlash | ( | string & | src | ) |
Definition at line 122 of file f8utils.cpp.
const unsigned short FIX8::Common_BeginSeqNo | ( | 7 | ) |
const unsigned short FIX8::Common_BeginString | ( | 8 | ) |
const unsigned short FIX8::Common_BodyLength | ( | 9 | ) |
const unsigned short FIX8::Common_BusinessRejectReason | ( | 380 | ) |
const unsigned short FIX8::Common_CheckSum | ( | 10 | ) |
const unsigned short FIX8::Common_DefaultApplVerID | ( | 1137 | ) |
const unsigned short FIX8::Common_EncryptMethod | ( | 98 | ) |
const unsigned short FIX8::Common_EndSeqNo | ( | 16 | ) |
const unsigned short FIX8::Common_GapFillFlag | ( | 123 | ) |
const unsigned short FIX8::Common_HeartBtInt | ( | 108 | ) |
const char FIX8::Common_MsgByte_BUSINESS_REJECT | ( | 'j' | ) |
const char FIX8::Common_MsgByte_HEARTBEAT | ( | '0' | ) |
Referenced by FIX8::Session::process().
const char FIX8::Common_MsgByte_LOGON | ( | 'A' | ) |
Referenced by FIX8::Session::process().
const char FIX8::Common_MsgByte_LOGOUT | ( | '5' | ) |
Referenced by FIX8::Session::process().
const char FIX8::Common_MsgByte_REJECT | ( | '3' | ) |
Referenced by FIX8::Session::process().
const char FIX8::Common_MsgByte_RESEND_REQUEST | ( | '2' | ) |
Referenced by FIX8::Session::process().
const char FIX8::Common_MsgByte_SEQUENCE_RESET | ( | '4' | ) |
Referenced by FIX8::Session::process().
const char FIX8::Common_MsgByte_TEST_REQUEST | ( | '1' | ) |
Referenced by FIX8::Session::process().
const unsigned short FIX8::Common_MsgSeqNum | ( | 34 | ) |
Referenced by FIX8::Session::send_process(), and FIX8::Message::setup_reuse().
const unsigned short FIX8::Common_MsgType | ( | 35 | ) |
Referenced by FIX8::TEX::header::add_preamble(), and process_special_traits().
const f8String FIX8::Common_MsgType_BUSINESS_REJECT | ( | "j" | ) |
Referenced by FIX8::Session::generate_business_reject().
const f8String FIX8::Common_MsgType_HEARTBEAT | ( | "0" | ) |
Referenced by FIX8::Session::generate_heartbeat(), and FIX8::Session::process().
const f8String FIX8::Common_MsgType_LOGON | ( | "A" | ) |
Referenced by FIX8::Session::generate_logon().
const f8String FIX8::Common_MsgType_LOGOUT | ( | "5" | ) |
Referenced by FIX8::Session::generate_logout().
const f8String FIX8::Common_MsgType_REJECT | ( | "3" | ) |
Referenced by FIX8::Session::generate_reject().
const f8String FIX8::Common_MsgType_RESEND_REQUEST | ( | "2" | ) |
Referenced by FIX8::Session::generate_resend_request().
const f8String FIX8::Common_MsgType_SEQUENCE_RESET | ( | "4" | ) |
const f8String FIX8::Common_MsgType_TEST_REQUEST | ( | "1" | ) |
Referenced by FIX8::Session::generate_test_request().
const unsigned short FIX8::Common_NewSeqNo | ( | 36 | ) |
const unsigned short FIX8::Common_OnBehalfOfCompID | ( | 115 | ) |
const unsigned short FIX8::Common_OnBehalfOfLocationID | ( | 144 | ) |
const unsigned short FIX8::Common_OnBehalfOfSendingTime | ( | 370 | ) |
const unsigned short FIX8::Common_OnBehalfOfSubID | ( | 116 | ) |
const unsigned short FIX8::Common_OrigSendingTime | ( | 122 | ) |
const unsigned short FIX8::Common_PossDupFlag | ( | 43 | ) |
Referenced by FIX8::Session::send_process().
const unsigned short FIX8::Common_RefMsgType | ( | 372 | ) |
const unsigned short FIX8::Common_RefSeqNum | ( | 45 | ) |
const unsigned short FIX8::Common_ResetSeqNumFlag | ( | 141 | ) |
Referenced by FIX8::Session::handle_logon().
const unsigned short FIX8::Common_SenderCompID | ( | 49 | ) |
Referenced by FIX8::Session::send_process().
const unsigned short FIX8::Common_SendingTime | ( | 52 | ) |
Referenced by MyMenu::load_msgs().
const unsigned short FIX8::Common_TargetCompID | ( | 56 | ) |
Referenced by FIX8::Session::send_process().
const unsigned short FIX8::Common_TestReqID | ( | 112 | ) |
const unsigned short FIX8::Common_Text | ( | 58 | ) |
|
inline |
Copy a string safely to a target.
src | source string |
target | target location |
limit | maximum bytes to copy, 0 for no limit |
Definition at line 1100 of file f8utils.hpp.
Referenced by FIX8::SingleLogger< fn >::set_global_filename().
void FIX8::create_path | ( | const string & | path | ) |
Definition at line 197 of file f8utils.cpp.
F8API void FIX8::create_path | ( | const std::string & | path | ) |
Create a full path, including nested directories
path | path to create |
Referenced by FIX8::FileLogger::rotate().
|
inline |
Definition at line 1010 of file field.hpp.
References FIX8::Tickval::billion, FIX8::Tickval::get_ticks(), parse_decimal(), and time_to_epoch().
|
inline |
Format Tickval into a string.
tickval | input Tickval object |
to | output buffer, should make sure there is enough space reserved |
ind | indicating whether need millisecond or not _time_only, the format string will be "HH:MM:SS" _time_with_ms, the format string will be "HH:MM:SS.mmm" _short_date_only, the format string will be "YYYYMM" _date_only, the format string will be "YYYYMMDD" _sec_only, the format string will be "YYYYMMDD-HH:MM:SS" _with_ms, the format string will be "YYYYMMDD-HH:MM:SS.mmm" |
Definition at line 895 of file field.hpp.
References _date_only, _short_date_only, _time_with_ms, _with_ms, format0(), FIX8::Tickval::get_tm(), and FIX8::Tickval::msecs().
Referenced by FIX8::Field< UTCTimestamp, field >::print(), FIX8::Field< UTCTimeOnly, field >::print(), FIX8::Field< UTCDateOnly, field >::print(), FIX8::Field< LocalMktDate, field >::print(), and FIX8::Field< MonthYear, field >::print().
|
inline |
Decode a DateTime string into ticks
ptr | input DateTime string, if *ptr == '!' return current time |
len | length of string |
Definition at line 938 of file field.hpp.
References FIX8::Tickval::billion, FIX8::Tickval::get_ticks(), FIX8::Tickval::million, FIX8::Tickval::noticks, parse_decimal(), and time_to_epoch().
F8API int FIX8::decode_dow | ( | const std::string & | from | ) |
Decode a weekday name into numeric dow (0=SUN), case insensitive only check at most the first 2 unique characters (will ignore any characters after that); alternatively, accept numeric dow 0-6;
from | source dow string |
Referenced by FIX8::Configuration::create_schedule().
int FIX8::decode_dow | ( | const string & | from | ) |
Definition at line 224 of file f8utils.cpp.
References StrToLower().
const unsigned char FIX8::default_assignment_separator | ( | ' | = ' | ) |
default FIX assignment separator (=)
Referenced by FIX8::BaseField::encode(), FIX8::MessageBase::extract_element(), and FIX8::MessageBase::extract_element_fixed_width().
const unsigned char FIX8::default_field_separator | ( | 0x1 | ) |
default FIX field separator (^A)
Referenced by FIX8::BaseField::encode(), FIX8::MessageBase::extract_element(), FIX8::Session::process(), and FIX8::FIXReader::read().
T FIX8::enum_str_get | ( | const std::vector< std::string > & | sset, |
const std::string & | what, | ||
const T | def, | ||
bool | ignorecase = false |
||
) |
From a set of strings representing the names of an enumeration in order, return the enum of the given string.
T | enum return type |
sset | the set of strings; if null return default value |
what | the string to find |
def | the default value to return if not found |
ignorecase | if true, ignore case |
Definition at line 1048 of file f8utils.hpp.
Referenced by FIX8::Configuration::get_process_model().
|
inline |
Check for file existance.
fname | filename to check |
Definition at line 1068 of file f8utils.hpp.
Referenced by FIX8::Configuration::Configuration(), FIX8::FilePersister::initialise(), open_ofile(), FIX8::FileLogger::rotate(), and MyMenu::save_msg().
|
inline |
Simple and fast atof (ascii to float) function. Executes about 5x faster than standard MSCRT library atof(). An attractive alternative if the number of calls is in the millions. Assumes input is a proper integer, fraction, or scientific format. Matches library atof() to 15 digits (except at extreme exponents). Follows atof() precedent of essentially no error checking. 09-May-2009 Tom Van Baak (tvb) www.LeapSecond.com
p | source string |
Definition at line 727 of file f8utils.hpp.
Referenced by FIX8::Field< fp_type, field >::set_from_raw().
T FIX8::fast_atoi | ( | const char * | str, |
const char | term = '\0' |
||
) |
Decode a string into an int or unsigned.
typename |
str | source string |
term | terminating character, default = 0 |
Definition at line 626 of file f8utils.hpp.
Find a Package_info string value for the given tag
what | source string to look up |
Definition at line 301 of file f8utils.cpp.
References package_info().
|
inline |
Format ASCII decimal value
data | source value |
to | target location for string |
width | len of string |
Definition at line 830 of file field.hpp.
Referenced by date_time_format().
int FIX8::get_umask | ( | ) |
|
inline |
Extract a typed value from a string.
typename |
source | source string |
Definition at line 564 of file f8utils.hpp.
Referenced by FIX8::MessageBase::extract_element().
|
inline |
Extract a unsigned value from a string.
typename |
source | source string |
Definition at line 577 of file f8utils.hpp.
|
inline |
Extract a int value from a string.
typename |
source | source string |
Definition at line 584 of file f8utils.hpp.
|
inline |
Extract a double value from a string.
typename |
source | source string |
Definition at line 591 of file f8utils.hpp.
|
inline |
Extract a float value from a string.
typename |
source | source string |
Definition at line 598 of file f8utils.hpp.
|
inline |
Extract a bool value from a string.
typename |
source | source string |
Definition at line 605 of file f8utils.hpp.
const string& FIX8::GetTimeAsStringMini | ( | string & | result, |
const Tickval * | tv | ||
) |
Definition at line 91 of file f8utils.cpp.
References FIX8::Tickval::now(), and FIX8::Tickval::secs().
Format Tickval into mini string. 14-07-02 23:15:51
result | target string |
tv | tickval to use or 0 for current time |
Referenced by GetTimeAsStringMini(), FIX8::Logger::process_logline(), and FIX8::XmlFileLogger::process_logline().
|
inline |
Format Tickval into mini string. 14-07-02 23:15:51
tv | tickval to use or 0 for current time |
Definition at line 142 of file f8utils.hpp.
References GetTimeAsStringMini().
const string& FIX8::GetTimeAsStringMS | ( | string & | result, |
const Tickval * | tv, | ||
const unsigned | dplaces, | ||
bool | use_gm | ||
) |
Definition at line 51 of file f8utils.cpp.
References FIX8::Tickval::now(), FIX8::Tickval::nsecs(), and FIX8::Tickval::secs().
F8API const std::string& FIX8::GetTimeAsStringMS | ( | std::string & | result, |
const class Tickval * | tv = 0 , |
||
const unsigned | dplaces = 6 , |
||
bool | use_gm = false |
||
) |
Format Tickval into string. 2014-07-02 23:15:51.514776595
result | target string |
tv | tickval to use or 0 for current time |
dplaces | number of decimal places to report seconds (default 6) |
use_gm | if true, use gmtime, if false localtime |
Referenced by generate_preamble(), and GetTimeAsStringMS().
|
inline |
Format Tickval into string. 2014-07-02 23:15:51.514776595
tv | tickval to use or 0 for current time |
dplaces | number of decimal places to report seconds (default 6) |
use_gm | if true, use gmtime, if false localtime |
Definition at line 126 of file f8utils.hpp.
References GetTimeAsStringMS().
const size_t FIX8::HEADER_CALC_OFFSET | ( | 32 | ) |
Referenced by FIX8::Message::encode(), FIX8::Session::send_process(), and FIX8::Session::Session().
|
inline |
|
inline |
A more reliable high precision sleep
amt | amount to sleep |
units | units that sleep value is in |
Definition at line 171 of file hypersleep.hpp.
References h_count.
|
inline |
A more reliable high precision sleep, microseconds specialisation
amt | amount to sleep |
Definition at line 127 of file hypersleep.hpp.
Referenced by FIX8::Logger::operator()().
|
inline |
A more reliable high precision sleep, milliseconds specialisation
amt | amount to sleep |
Definition at line 105 of file hypersleep.hpp.
Referenced by FIX8::ClientConnection::connect(), FIX8::Timer< T >::operator()(), FIX8::ReliableClientSession< T >::operator()(), server_process(), and FIX8::Session::stop().
|
inline |
A more reliable high precision sleep, nanoseconds specialisation
amt | amount to sleep |
Definition at line 149 of file hypersleep.hpp.
Referenced by FIX8::ff_unbounded_queue< T >::pop(), and FIX8::ff_unbounded_queue< T * >::pop().
|
inline |
A more reliable high precision sleep, seconds specialisation
amt | amount to sleep |
Definition at line 83 of file hypersleep.hpp.
Referenced by MyMenu::do_logout(), main(), and FIX8::Session::~Session().
|
inline |
Sidestep the warn_unused_result attribute
T | type |
val | value to ignore |
Definition at line 188 of file f8utils.hpp.
Referenced by Str_error().
|
inline |
Sidestep the warn_unused_result attribute, ptr version
T | type |
val | * value to ignore |
Definition at line 194 of file f8utils.hpp.
F8API std::string& FIX8::InPlaceReplaceInSet | ( | const std::string & | iset, |
std::string & | src, | ||
const char | repl = '_' |
||
) |
Replace any character found in the supplied set in string with supplied character
iset | set of characters |
src | source string |
repl | character to replace |
Referenced by process_value_enums().
string& FIX8::InPlaceReplaceInSet | ( | const string & | iset, |
string & | src, | ||
const char | repl | ||
) |
Definition at line 140 of file f8utils.cpp.
F8API std::string& FIX8::InPlaceStrToLower | ( | std::string & | src | ) |
In place string to lower case.
src | source string |
string& FIX8::InPlaceStrToLower | ( | string & | src | ) |
Definition at line 149 of file f8utils.cpp.
Referenced by StrToLower().
F8API std::string& FIX8::InPlaceStrToUpper | ( | std::string & | src | ) |
In place string to upper case.
src | source string |
Referenced by load_fields().
string& FIX8::InPlaceStrToUpper | ( | string & | src | ) |
Definition at line 130 of file f8utils.cpp.
|
inline |
Fast itoa.
C++ version 0.4 char* style "itoa": Written by Lukas Chmela see http://www.strudel.org.uk/itoa
T | source type |
value | source value |
result | target |
base | base |
Definition at line 647 of file f8utils.hpp.
Referenced by FIX8::BaseField::encode(), and FIX8::Field< int, field >::print().
|
inline |
Fast itoa - unsigned int specialisation.
T | source type |
value | source value |
result | target |
base | base |
Definition at line 687 of file f8utils.hpp.
const size_t FIX8::max_global_filename_length | ( | 1024 | ) |
Referenced by FIX8::SingleLogger< fn >::set_global_filename().
const size_t FIX8::MAX_MSGTYPE_FIELD_LEN | ( | 32 | ) |
Referenced by FIX8::MessageBase::extract_header(), FIX8::Message::factory(), FIX8::Field< UTCTimestamp, field >::print(), FIX8::Field< UTCTimeOnly, field >::print(), FIX8::Field< UTCDateOnly, field >::print(), FIX8::Field< LocalMktDate, field >::print(), FIX8::Field< MonthYear, field >::print(), and FIX8::FIXReader::read().
size_t FIX8::modp_dtoa | ( | double | value, |
char * | str, | ||
int | prec | ||
) |
Convert double to ascii.
value | the source value |
str | the target string |
prec | number of precision digits |
Definition at line 68 of file modp_numtoa.c.
References pow10_, and strreverse().
Referenced by FIX8::Field< fp_type, field >::print().
|
inline |
case insensitive std::string == std::string operator
_CharT | char type |
_Traits | char traits |
_Alloc | allocator |
__lhs | left hand value |
__rhs | right hand value |
Definition at line 245 of file f8utils.hpp.
|
inline |
case insensitive char* == std::string operator
_CharT | char type |
_Traits | char traits |
_Alloc | allocator |
__lhs | left hand value |
__rhs | right hand value |
Definition at line 263 of file f8utils.hpp.
|
inline |
case insensitive std::string == char* operator
_CharT | char type |
_Traits | char traits |
_Alloc | allocator |
__lhs | left hand value |
__rhs | right hand value |
Definition at line 274 of file f8utils.hpp.
ostream & FIX8::operator<< | ( | std::ostream & | os, |
const FieldTrait & | what | ||
) |
Inserter friend.
os | stream to send to |
what | FieldTrait |
Definition at line 45 of file traits.cpp.
References FIX8::FieldTrait::_component, FIX8::FieldTrait::_field_traits, FIX8::FieldTrait::_fnum, FIX8::FieldTrait::_ftype, FIX8::FieldTrait::_pos, FIX8::FieldTrait::count, FIX8::ebitset< T, B >::get(), and FIX8::FieldTrait::get_type_string().
ostream & FIX8::operator<< | ( | std::ostream & | os, |
const FieldTraits & | what | ||
) |
Inserter friend.
os | stream to send to |
what | FieldTraits |
Definition at line 62 of file traits.cpp.
References FIX8::presorted_set< unsigned short, FieldTrait, FieldTrait::Compare >::begin(), FIX8::presorted_set< unsigned short, FieldTrait, FieldTrait::Compare >::end(), and FIX8::FieldTraits::get_presence().
|
inline |
Inserter friend.
os | stream to send to |
what | messagebase |
Definition at line 1373 of file message.hpp.
References FIX8::GroupBase::_msgs.
|
inline |
case insensitive std::string < std::string operator
_CharT | char type |
_Traits | char traits |
_Alloc | allocator |
__lhs | left hand value |
__rhs | right hand value |
Definition at line 291 of file f8utils.hpp.
const Package_info & FIX8::package_info | ( | ) |
Return a Package_info map of strings with current package info
Definition at line 247 of file f8utils.cpp.
References FIX8_CODECTIMING, FIX8_CONFIGURE_OPTIONS, FIX8_CONFIGURE_SDATE, FIX8_CONFIGURE_TIME, FIX8_CONFIGURE_TIME_NUM, FIX8_CPPFLAGS, FIX8_DEBUG, FIX8_DEFAULT_PRECISION, FIX8_HOST_SYSTEM, FIX8_LDFLAGS, FIX8_LIBS, FIX8_MAGIC_NUM, FIX8_MAJOR_VERSION_NUM, FIX8_MAX_FLD_LENGTH, FIX8_MAX_MSG_LENGTH, FIX8_MINOR_VERSION_NUM, FIX8_MPMC_FF, FIX8_MPMC_SYSTEM, FIX8_MPMC_TBB, FIX8_PACKAGE, FIX8_PACKAGE_BUGREPORT, FIX8_PACKAGE_URL, FIX8_PATCH_VERSION_NUM, FIX8_THREAD_PTHREAD, FIX8_THREAD_STDTHREAD, FIX8_THREAD_SYSTEM, FIX8_VERSION, and STRINGIFY.
Referenced by find_package_info_string(), main(), and MyMenu::version_info().
|
inline |
Decode ASCII decimal value
begin | decode from |
len | number of bytes in string |
to | target location for value |
Definition at line 844 of file field.hpp.
Referenced by date_parse(), date_time_parse(), and time_parse().
|
inline |
Definition at line 204 of file f8c.hpp.
References XmlElement::FindAttr(), and XmlElement::GetLine().
Referenced by load_fields(), load_messages(), parse_groups(), and process_message_fields().
|
inline |
Generate a rot13 hash. No multiplication, algorithm by Serge Vakulenko. See http://vak.ru/doku.php/proj/hash/sources.
str | source string |
Definition at line 216 of file f8utils.hpp.
References rotl().
|
inline |
Definition at line 230 of file f8utils.hpp.
Referenced by group_hash().
|
inline |
Rotate left value the specified number of times
T | type |
val | source value |
times | number of times to rotate left |
Definition at line 203 of file f8utils.hpp.
Referenced by ROT13Hash().
|
inline |
Rotate right value the specified number of times
T | type |
val | source value |
times | number of times to rotate right |
Definition at line 211 of file f8utils.hpp.
|
inline |
Split a pathname into directory and filename parts
source | source path |
filepart | target for file part |
dirpart | target for directory part |
Definition at line 1082 of file f8utils.hpp.
Referenced by FIX8::FileLogger::rotate().
string FIX8::Str_error | ( | const int | err, |
const char * | str = 0 |
||
) |
Find standard error string for given errno.
err | errno value |
str | if not 0, prepend string to error string |
Definition at line 165 of file f8utils.cpp.
References ignore_value().
Referenced by MyMenu::load_msgs(), MyMenu::save_msg(), FIX8::tty_save_state::set_raw_mode(), and FIX8::tty_save_state::unset_raw_mode().
F8API std::string FIX8::StrToLower | ( | const std::string & | src | ) |
String to lower case.
src | source string |
string FIX8::StrToLower | ( | const string & | src | ) |
Definition at line 158 of file f8utils.cpp.
References InPlaceStrToLower().
Referenced by decode_dow().
F8_TEX_API const F8MetaCntx & FIX8::TEX_ctx | ( | ) |
Definition at line 437 of file Myfix_classes.cpp.
References FIX8::TEX::ctx().
|
inline |
Decode a Time string into ticks
ptr | input time string, if *ptr == '!' return current time |
len | length of string |
timeonly | if true, only calculate ticks for today |
Definition at line 978 of file field.hpp.
References FIX8::Tickval::billion, FIX8::Tickval::get_ticks(), FIX8::Tickval::million, FIX8::Tickval::noticks, parse_decimal(), and time_to_epoch().
Referenced by FIX8::Configuration::get_time_field().
|
inline |
Convert tm to time_t Based on Ghulam M. Babar's "mktime slow? use custom function" see http://gmbabar.wordpress.com/2010/12/01/mktime-slow-use-custom-function/
ltm | decode from |
utcdiff | utc offset in mins |
Definition at line 858 of file field.hpp.
Referenced by date_parse(), date_time_parse(), and time_parse().
|
inline |
Trim leading and trailing whitespace from a string
source | source string |
ws | string containing whitespace characters to trim out |
Definition at line 153 of file f8utils.hpp.
Referenced by FIX8::Configuration::create_logger(), FIX8::Configuration::get_logflags(), load_fields(), main(), FIX8::ebitset< TraitTypes, unsigned short >::set(), and FIX8::ebitset_r< SessionControl >::set().
|
inline |
Trim leading and trailing whitespace from a string, inplace.
source | source string |
ws | string containing whitespace characters to trim out |
Definition at line 164 of file f8utils.hpp.
const CSMap FIX8::_csMap |
Definition at line 126 of file f8cstatic.hpp.
Referenced by generate_common_group_bodies(), generate_group_bodies(), generate_preamble(), and process().
char FIX8::glob_log0 { "global_filename_not_set.log" } |
Definition at line 46 of file logger.cpp.