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

Pair abstraction for use with GeneratedTable. More...

#include <f8types.hpp>

Public Member Functions

const Key & first () const
 
const Val & second () const
 

Static Public Member Functions

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

Public Attributes

Key _key
 
Val _value
 

Detailed Description

template<typename Key, typename Val>
struct FIX8::_pair< Key, Val >

Pair abstraction for use with GeneratedTable.

Template Parameters
Keythe key
Valthe value

Definition at line 69 of file f8types.hpp.

Member Function Documentation

template<typename Key , typename Val >
const Key& FIX8::_pair< Key, Val >::first ( ) const
inline

Definition at line 74 of file f8types.hpp.

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

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

Sort functor.

Definition at line 78 of file f8types.hpp.

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

Referenced by FIX8::GeneratedTable< Key, Val >::_find().

78 { return p1._key < p2._key; }
template<typename Key , typename Val >
const Val& FIX8::_pair< Key, Val >::second ( ) const
inline

Definition at line 75 of file f8types.hpp.

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

75 { return _value; }
Val _value
Definition: f8types.hpp:72

Member Data Documentation


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