UnorderedSet.hpp

This File On Github
Ask A Question

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

AbstractUnorderedSet

Abstract Unordered Set class.

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

Fields

Type Name Summary
const ClassId CLASS_ID Class Id.

AbstractUnorderedSet::CLASS_ID

Class Id.

static const ClassId CLASS_ID

AbstractUnorderedSet::AbstractPolymorphicDispatcher

Polymorphic Dispatcher.

namespace oatpp { namespace data { namespace mapping { namespace type { namespace __class { 
  class AbstractUnorderedSet {
    class AbstractPolymorphicDispatcher {}
  };
}}}}}

Methods

Return Type Name Summary
void addPolymorphicItem Add Item.

AbstractUnorderedSet::AbstractPolymorphicDispatcher::addPolymorphicItem

Add Item.

  • @param object - UnorderedSet.
  • @param item - Item.

virtual void addPolymorphicItem(const type::Void& object, const type::Void& item) const = 0

UnorderedSetObjectWrapper

ObjectWrapper over std::unordered_set<T>

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

namespace oatpp { namespace data { namespace mapping { namespace type { 
  template<class T, class C>
  class UnorderedSetObjectWrapper : public type::ObjectWrapper<std::unordered_set<T>, C> {}
}}}}

UnorderedSet

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

Mapping-Enabled UnorderedSet. See UnorderedSetObjectWrapper.

template<class T>
using UnorderedSet = UnorderedSetObjectWrapper<T, __class::UnorderedSet<T>>