text: (window.webpackJsonp=window.webpackJsonp||[]).push([[63],{435:function(t,a,s){"use strict";s.r(a);var e=s(42),r=Object(e.a)({},(function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[s("h1",{attrs:{id:"dynamicobject-hpp"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#dynamicobject-hpp"}},[t._v("#")]),t._v(" DynamicObject.hpp"),s("seo")],1),t._v(" "),s("p",[s("a",{attrs:{href:"https://github.com/oatpp/oatpp-protobuf/blob/master/src/oatpp-protobuf/reflection/DynamicObject.hpp",target:"_blank",rel:"noopener noreferrer"}},[t._v("This File On Github"),s("OutboundLink")],1),s("br"),t._v(" "),s("a",{attrs:{href:"https://github.com/oatpp/oatpp-protobuf/issues/new?title=API%20question&body=In%20file:%20oatpp-protobuf/reflection/DynamicObject.hpp%0A%0A%23%20Question%0A%0A%3Cyour-question-here%3E",target:"_blank",rel:"noopener noreferrer"}},[t._v("Ask A Question"),s("OutboundLink")],1)]),t._v(" "),s("p",[s("code",[t._v("API: latest")]),s("br"),t._v(" "),s("code",[t._v("module: oatpp-protobuf")]),s("br"),t._v(" "),s("code",[t._v('#include "oatpp-protobuf/reflection/DynamicObject.hpp"')])]),t._v(" "),s("h2",{attrs:{id:"dynamicclass"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#dynamicclass"}},[t._v("#")]),t._v(" DynamicClass")]),t._v(" "),s("p",[t._v("A dynamic class that will be automatically generated for the proto object.")]),t._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"}},[t._v("namespace")]),t._v(" oatpp "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("namespace")]),t._v(" protobuf "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("namespace")]),t._v(" reflection "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v(" \n  "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("class")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("DynamicClass")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])]),s("h3",{attrs:{id:"methods"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#methods"}},[t._v("#")]),t._v(" Methods")]),t._v(" "),s("table",[s("thead",[s("tr",[s("th",[t._v("Return Type")]),t._v(" "),s("th",[t._v("Name")]),t._v(" "),s("th",[t._v("Summary")])])]),t._v(" "),s("tbody",[s("tr",[s("td",[s("code",[t._v("DynamicClass*")])]),t._v(" "),s("td",[s("a",{attrs:{href:"#dynamicclass-registrygetclass"}},[t._v("registryGetClass")])]),t._v(" "),s("td",[t._v("Multiple implementations: "),s("br"),s("ol",[s("li",[t._v("Get class by name of the proto object type. ")]),s("li",[t._v("Get class for proto object type. ")])])])]),t._v(" "),s("tr",[s("td",[s("code",[t._v("const std::string")])]),t._v(" "),s("td",[s("a",{attrs:{href:"#dynamicclass-getname"}},[t._v("getName")])]),t._v(" "),s("td",[t._v("Get class name.")])]),t._v(" "),s("tr",[s("td",[s("code",[t._v("std::shared_ptr<Message>")])]),t._v(" "),s("td",[s("a",{attrs:{href:"#dynamicclass-createproto"}},[t._v("createProto")])]),t._v(" "),s("td",[t._v("Instantiate shared proto object.")])]),t._v(" "),s("tr",[s("td",[s("code",[t._v("const oatpp::Type*")])]),t._v(" "),s("td",[s("a",{attrs:{href:"#dynamicclass-gettype"}},[t._v("getType")])]),t._v(" "),s("td",[t._v("Get "),s("RouterLink",{attrs:{to:"/api/latest/oatpp/core/Types/#type"}},[t._v("oatpp::Type")]),t._v(" of this class.")],1)]),t._v(" "),s("tr",[s("td",[s("code",[t._v("const oatpp::Type*")])]),t._v(" "),s("td",[s("a",{attrs:{href:"#dynamicclass-getvectortype"}},[t._v("getVectorType")])]),t._v(" "),s("td",[t._v("Get "),s("RouterLink",{attrs:{to:"/api/latest/oatpp/core/Types/#type"}},[t._v("oatpp::Type")]),t._v(" of "),s("code",[t._v("oatpp::Vector<This-Class>")])],1)])])]),t._v(" "),s("h3",{attrs:{id:"dynamicclass-registrygetclass"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#dynamicclass-registrygetclass"}},[t._v("#")]),t._v(" DynamicClass::registryGetClass")]),t._v(" "),s("ol",[s("li",[t._v("Get class by name of the proto object type. "),s("ul",[s("li",[s("strong",[t._v("@param")]),t._v(" name ")]),s("li",[s("strong",[t._v("@return")])])]),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"}},[t._v("static")]),t._v(" DynamicClass"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("*")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("registryGetClass")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" std"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),t._v("string"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("&")]),t._v(" name"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])])]),t._v(" "),s("li",[t._v("Get class for proto object type. "),s("ul",[s("li",[s("strong",[t._v("@tparam")]),t._v(" T ")]),s("li",[s("strong",[t._v("@return")])])]),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"}},[t._v("template")]),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("<")]),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("class")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("T")]),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(">")]),t._v("\n"),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("static")]),t._v(" DynamicClass"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("*")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("registryGetClass")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])])])]),t._v(" "),s("h3",{attrs:{id:"dynamicclass-getname"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#dynamicclass-getname"}},[t._v("#")]),t._v(" DynamicClass::getName")]),t._v(" "),s("p",[t._v("Get class name. "),s("ul",[s("li",[s("strong",[t._v("@return")])])])]),t._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"}},[t._v("const")]),t._v(" std"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),t._v("string "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("getName")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v("\n")])])]),s("h3",{attrs:{id:"dynamicclass-createproto"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#dynamicclass-createproto"}},[t._v("#")]),t._v(" DynamicClass::createProto")]),t._v(" "),s("p",[t._v("Instantiate shared proto object. "),s("ul",[s("li",[s("strong",[t._v("@return")])])])]),t._v(" "),s("div",{staticClass:"language-cpp extra-class"},[s("pre",{pre:!0,attrs:{class:"language-cpp"}},[s("code",[t._v("std"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),t._v("shared_ptr"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("<")]),t._v("Message"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(">")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("createProto")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v("\n")])])]),s("h3",{attrs:{id:"dynamicclass-gettype"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#dynamicclass-gettype"}},[t._v("#")]),t._v(" DynamicClass::getType")]),t._v(" "),s("p",[t._v("Get "),s("RouterLink",{attrs:{to:"/api/latest/oatpp/core/Types/#type"}},[t._v("oatpp::Type")]),t._v(" of this class. "),s("ul",[s("li",[s("strong",[t._v("@return")])])])],1),t._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"}},[t._v("const")]),t._v(" oatpp"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),t._v("Type"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("*")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("getType")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),s("h3",{attrs:{id:"dynamicclass-getvectortype"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#dynamicclass-getvectortype"}},[t._v("#")]),t._v(" DynamicClass::getVectorType")]),t._v(" "),s("p",[t._v("Get "),s("RouterLink",{attrs:{to:"/api/latest/oatpp/core/Types/#type"}},[t._v("oatpp::Type")]),t._v(" of "),s("code",[t._v("oatpp::Vector<This-Class>")]),t._v(" "),s("ul",[s("li",[s("strong",[t._v("@return")])])])],1),t._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"}},[t._v("const")]),t._v(" oatpp"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),t._v("Type"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("*")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("getVectorType")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),s("h2",{attrs:{id:"dynamicclass-polymorphicdispatcher"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#dynamicclass-polymorphicdispatcher"}},[t._v("#")]),t._v(" DynamicClass::PolymorphicDispatcher")]),t._v(" "),s("p",[t._v("Polymorphic Dispatcher")]),t._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"}},[t._v("namespace")]),t._v(" oatpp "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("namespace")]),t._v(" protobuf "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("namespace")]),t._v(" reflection "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v(" \n  "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("class")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("DynamicClass")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n    "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("class")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("PolymorphicDispatcher")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("public")]),t._v(" oatpp"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),t._v("data"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),t._v("mapping"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),t._v("type"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),t._v("__class"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),t._v("AbstractObject"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),t._v("PolymorphicDispatcher "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n  "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])]),s("h2",{attrs:{id:"dynamicclass-vectorpolymorphicdispatcher"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#dynamicclass-vectorpolymorphicdispatcher"}},[t._v("#")]),t._v(" DynamicClass::VectorPolymorphicDispatcher")]),t._v(" "),s("p",[t._v("Vector Polymorphic Dispatcher")]),t._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"}},[t._v("namespace")]),t._v(" oatpp "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("namespace")]),t._v(" protobuf "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("namespace")]),t._v(" reflection "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v(" \n  "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("class")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("DynamicClass")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n    "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("class")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("VectorPolymorphicDispatcher")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("public")]),t._v(" oatpp"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),t._v("data"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),t._v("mapping"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),t._v("type"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),t._v("__class"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),t._v("AbstractVector"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),t._v("PolymorphicDispatcher "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n  "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])]),s("h2",{attrs:{id:"dynamicobject"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#dynamicobject"}},[t._v("#")]),t._v(" DynamicObject")]),t._v(" "),s("p",[t._v("A dynamic oatpp object that will be created from the proto object.")]),t._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"}},[t._v("namespace")]),t._v(" oatpp "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("namespace")]),t._v(" protobuf "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("namespace")]),t._v(" reflection "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v(" \n  "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("class")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token class-name"}},[t._v("DynamicObject")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(":")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("public")]),t._v(" oatpp"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),t._v("BaseObject "),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])]),s("h3",{attrs:{id:"methods-2"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#methods-2"}},[t._v("#")]),t._v(" Methods")]),t._v(" "),s("table",[s("thead",[s("tr",[s("th",[t._v("Return Type")]),t._v(" "),s("th",[t._v("Name")]),t._v(" "),s("th",[t._v("Summary")])])]),t._v(" "),s("tbody",[s("tr",[s("td",[s("code",[t._v("std::shared_ptr<DynamicObject>")])]),t._v(" "),s("td",[s("a",{attrs:{href:"#dynamicobject-createshared"}},[t._v("createShared")])]),t._v(" "),s("td",[t._v("Create shared.")])]),t._v(" "),s("tr",[s("td",[s("code",[t._v("DynamicClass*")])]),t._v(" "),s("td",[s("a",{attrs:{href:"#dynamicobject-getclass"}},[t._v("getClass")])]),t._v(" "),s("td",[t._v("Get a "),s("a",{attrs:{href:"#dynamicclass"}},[t._v("DynamicClass")]),t._v(" of this object.")])])])]),t._v(" "),s("h3",{attrs:{id:"dynamicobject-createshared"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#dynamicobject-createshared"}},[t._v("#")]),t._v(" DynamicObject::createShared")]),t._v(" "),s("p",[t._v("Create shared. "),s("ul",[s("li",[s("strong",[t._v("@param")]),t._v(" proto ")]),s("li",[s("strong",[t._v("@return")])])])]),t._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"}},[t._v("static")]),t._v(" std"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("::")]),t._v("shared_ptr"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("<")]),t._v("DynamicObject"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v(">")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("createShared")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v(" Message"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("&")]),t._v(" proto"),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n")])])]),s("h3",{attrs:{id:"dynamicobject-getclass"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#dynamicobject-getclass"}},[t._v("#")]),t._v(" DynamicObject::getClass")]),t._v(" "),s("p",[t._v("Get a "),s("a",{attrs:{href:"#dynamicclass"}},[t._v("DynamicClass")]),t._v(" of this object. "),s("ul",[s("li",[s("strong",[t._v("@return")])])])]),t._v(" "),s("div",{staticClass:"language-cpp extra-class"},[s("pre",{pre:!0,attrs:{class:"language-cpp"}},[s("code",[t._v("DynamicClass"),s("span",{pre:!0,attrs:{class:"token operator"}},[t._v("*")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[t._v("getClass")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),s("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),s("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("const")]),t._v("\n")])])])])}),[],!1,null,null,null);a.default=r.exports}}]);