Object.hpp

This File On Github
Ask A Question

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

AbstractObject

AbstractObject class.

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

Object

Template for Object class of type T.

  • @tparam T - object type.

namespace oatpp { namespace data { namespace mapping { namespace type { namespace __class { 
  template<class T>
  class Object : public AbstractObject {}
}}}}}

Methods

Return Type Name Summary
Type* getType Get type describing this class.

Object::getType

Get type describing this class.

static Type* getType()

DTOWrapper

ObjectWrapper for DTO. AKA oatpp::Object<T>.

  • @tparam ObjT - class extended from DTO.

namespace oatpp { namespace data { namespace mapping { namespace type { 
  template<class ObjT>
  class DTOWrapper : public ObjectWrapper<ObjT, __class::Object<ObjT>> {}
}}}}

DTO

Base class for all DTO objects. For more info about Data Transfer Object (DTO) see Data Transfer Object (DTO).

namespace oatpp { namespace data { namespace mapping { namespace type { 
  class DTO : public oatpp::base::Countable {}
}}}}