# PairList.hpp

This File On Github
Ask A Question

API: latest
module: oatpp
#include "oatpp/core/data/mapping/type/PairList.hpp"

# AbstractPairList

Abstract PairList class.

namespace oatpp { namespace data { namespace mapping { namespace type { namespace __class { 
  class AbstractPairList {}
}}}}}

# Fields

Type Name Summary
const ClassId CLASS_ID Class id.

# AbstractPairList::CLASS_ID

Class id.

static const ClassId CLASS_ID

# PairListObjectWrapper

ObjectWrapper over std::list<std::pair<Key, Value>>

  • @tparam Key - Key ObjectWrapper type.
  • @tparam Value - Value ObjectWrapper type.
  • @tparam C - Class.

namespace oatpp { namespace data { namespace mapping { namespace type { 
  template<class Key, class Value, class C>
  class PairListObjectWrapper : public type::ObjectWrapper<std::list<std::pair<Key, Value>>, C> {}
}}}}

# PairList

Namespace: oatpp::data::mapping::type

Mapping-Enables PairList<Key, Value>. See PairListObjectWrapper.

template<class Key, class Value>
using PairList = PairListObjectWrapper<Key, Value, __class::PairList<Key, Value>>