text: (window.webpackJsonp=window.webpackJsonp||[]).push([[170],{542:function(a,t,s){"use strict";s.r(t);var e=s(42),r=Object(e.a)({},(function(){var a=this,t=a.$createElement,s=a._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":a.$parent.slotKey}},[s("h1",{attrs:{id:"unorderedmap-hpp"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#unorderedmap-hpp"}},[a._v("#")]),a._v(" UnorderedMap.hpp"),s("seo")],1),a._v(" "),s("p",[s("a",{attrs:{href:"https://github.com/oatpp/oatpp/blob/master/src/oatpp/core/data/mapping/type/UnorderedMap.hpp",target:"_blank",rel:"noopener noreferrer"}},[a._v("This File On Github"),s("OutboundLink")],1),s("br"),a._v(" "),s("a",{attrs:{href:"https://github.com/oatpp/oatpp/issues/new?title=API%20question&body=In%20file:%20oatpp/core/data/mapping/type/UnorderedMap.hpp%0A%0A%23%20Question%0A%0A%3Cyour-question-here%3E",target:"_blank",rel:"noopener noreferrer"}},[a._v("Ask A Question"),s("OutboundLink")],1)]),a._v(" "),s("p",[s("code",[a._v("API: latest")]),s("br"),a._v(" "),s("code",[a._v("module: oatpp")]),s("br"),a._v(" "),s("code",[a._v('#include "oatpp/core/data/mapping/type/UnorderedMap.hpp"')])]),a._v(" "),s("h2",{attrs:{id:"abstractunorderedmap"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#abstractunorderedmap"}},[a._v("#")]),a._v(" AbstractUnorderedMap")]),a._v(" "),s("p",[a._v("Abstract Unordered Map class.")]),a._v(" "),s("div",{staticClass:"language-cpp extra-class"},[s("pre",{pre:!0,attrs:{class:"language-cpp"}},[s("code",[s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("namespace")]),a._v(" oatpp "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("{")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("namespace")]),a._v(" data "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("{")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("namespace")]),a._v(" mapping "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("{")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("namespace")]),a._v(" type "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("{")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("namespace")]),a._v(" __class "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("{")]),a._v(" \n  "),s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("class")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token class-name"}},[a._v("AbstractUnorderedMap")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("{")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("}")]),a._v("\n"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("}")]),a._v("\n")])])]),s("h3",{attrs:{id:"fields"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#fields"}},[a._v("#")]),a._v(" Fields")]),a._v(" "),s("table",[s("thead",[s("tr",[s("th",[a._v("Type")]),a._v(" "),s("th",[a._v("Name")]),a._v(" "),s("th",[a._v("Summary")])])]),a._v(" "),s("tbody",[s("tr",[s("td",[s("code",[a._v("const ClassId")])]),a._v(" "),s("td",[s("a",{attrs:{href:"#abstractunorderedmap-class-id"}},[a._v("CLASS_ID")])]),a._v(" "),s("td",[a._v("Class Id.")])])])]),a._v(" "),s("h3",{attrs:{id:"abstractunorderedmap-class-id"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#abstractunorderedmap-class-id"}},[a._v("#")]),a._v(" AbstractUnorderedMap::CLASS_ID")]),a._v(" "),s("p",[a._v("Class Id.")]),a._v(" "),s("div",{staticClass:"language-cpp extra-class"},[s("pre",{pre:!0,attrs:{class:"language-cpp"}},[s("code",[s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("static")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("const")]),a._v(" ClassId CLASS_ID\n")])])]),s("h2",{attrs:{id:"unorderedmapobjectwrapper"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#unorderedmapobjectwrapper"}},[a._v("#")]),a._v(" UnorderedMapObjectWrapper")]),a._v(" "),s("p",[s("code",[a._v("ObjectWrapper")]),a._v(" for "),s("code",[a._v("std::unordered_map<Key, Value>")]),a._v(" "),s("ul",[s("li",[s("strong",[a._v("@tparam")]),a._v(" Key - Key "),s("code",[a._v("ObjectWrapper")]),a._v(" type. ")]),s("li",[s("strong",[a._v("@tparam")]),a._v(" Value - Value "),s("code",[a._v("ObjectWrapper")]),a._v(" type. ")]),s("li",[s("strong",[a._v("@tparam")]),a._v(" C - Class. ")])])]),a._v(" "),s("div",{staticClass:"language-cpp extra-class"},[s("pre",{pre:!0,attrs:{class:"language-cpp"}},[s("code",[s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("namespace")]),a._v(" oatpp "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("{")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("namespace")]),a._v(" data "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("{")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("namespace")]),a._v(" mapping "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("{")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("namespace")]),a._v(" type "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("{")]),a._v(" \n  "),s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("template")]),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("<")]),s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("class")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token class-name"}},[a._v("Key")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("class")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token class-name"}},[a._v("Value")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("class")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token class-name"}},[a._v("C")]),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v(">")]),a._v("\n  "),s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("class")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token class-name"}},[a._v("UnorderedMapObjectWrapper")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("public")]),a._v(" type"),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("::")]),a._v("ObjectWrapper"),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("<")]),a._v("std"),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("::")]),a._v("unordered_map"),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("<")]),a._v("Key"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v(" Value"),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v(">")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v(" C"),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v(">")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("{")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("}")]),a._v("\n"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("}")]),a._v("\n")])])]),s("h2",{attrs:{id:"unorderedmap"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#unorderedmap"}},[a._v("#")]),a._v(" UnorderedMap")]),a._v(" "),s("p",[s("strong",[a._v("Namespace:")]),a._v(" "),s("code",[a._v("oatpp::data::mapping::type")])]),a._v(" "),s("p",[a._v("Mapping-Enables UnorderedMap<Key, Value>. See "),s("a",{attrs:{href:"#unorderedmapobjectwrapper"}},[a._v("UnorderedMapObjectWrapper")]),a._v(".")]),a._v(" "),s("div",{staticClass:"language-cpp extra-class"},[s("pre",{pre:!0,attrs:{class:"language-cpp"}},[s("code",[s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("template")]),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("<")]),s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("class")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token class-name"}},[a._v("Key")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("class")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token class-name"}},[a._v("Value")]),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v(">")]),a._v("\n"),s("span",{pre:!0,attrs:{class:"token keyword"}},[a._v("using")]),a._v(" UnorderedMap "),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v(" UnorderedMapObjectWrapper"),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("<")]),a._v("Key"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v(" Value"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v(" __class"),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("::")]),a._v("UnorderedMap"),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v("<")]),a._v("Key"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v(" Value"),s("span",{pre:!0,attrs:{class:"token operator"}},[a._v(">>")]),a._v("\n")])])])])}),[],!1,null,null,null);t.default=r.exports}}]);