fix8  version 1.4.0
Open Source C++ FIX Framework
FIX8::_pair< const char *, Val > Struct Template Reference

Partial specialisation of Pair abstraction for use with GeneratedTable. More...

#include <f8types.hpp>

Public Member Functions

const char * first () const
 
const Val & second () const
 

Static Public Member Functions

static bool Less (const _pair &p1, const _pair &p2)
 Sort functor. More...
 

Public Attributes

const char * _key
 
Val _value
 

Detailed Description

template<typename Val>
struct FIX8::_pair< const char *, Val >

Partial specialisation of Pair abstraction for use with GeneratedTable.

Template Parameters
Valthe value

Definition at line 84 of file f8types.hpp.

Member Function Documentation

template<typename Val >
const char* FIX8::_pair< const char *, Val >::first ( ) const
inline

Definition at line 89 of file f8types.hpp.

89 { return _key; }
template<typename Val >
static bool FIX8::_pair< const char *, Val >::Less ( const _pair< const char *, Val > &  p1,
const _pair< const char *, Val > &  p2 
)
inlinestatic

Sort functor.

Definition at line 93 of file f8types.hpp.

References FIX8::_pair< Key, Val >::_key.

93 { return ::strcmp(p1._key, p2._key) < 0; }
template<typename Val >
const Val& FIX8::_pair< const char *, Val >::second ( ) const
inline

Definition at line 90 of file f8types.hpp.

90 { return _value; }

Member Data Documentation

template<typename Val >
const char* FIX8::_pair< const char *, Val >::_key

Definition at line 86 of file f8types.hpp.

template<typename Val >
Val FIX8::_pair< const char *, Val >::_value

Definition at line 87 of file f8types.hpp.


The documentation for this struct was generated from the following file: