MRPT
2.0.1
|
Definition at line 26 of file rtti_unittest.cpp.
Public Member Functions | |
MyDerived2 ()=default | |
RTTI classes and functions for polymorphic hierarchies | |
mrpt::rtti::CObject::Ptr | duplicateGetSmartPtr () const |
Makes a deep copy of the object and returns a smart pointer to it. More... | |
RTTI stuff | |
using | Ptr = std::shared_ptr< MyNS ::MyDerived2 > |
using | ConstPtr = std::shared_ptr< const MyNS ::MyDerived2 > |
using | UniquePtr = std::unique_ptr< MyNS ::MyDerived2 > |
using | ConstUniquePtr = std::unique_ptr< const MyNS ::MyDerived2 > |
static const mrpt::rtti::TRuntimeClassId | runtimeClassId |
static constexpr const char * | className = "MyNS" "::" "MyDerived2" |
virtual const mrpt::rtti::TRuntimeClassId * | GetRuntimeClass () const override |
Returns information about the class of an object in runtime. More... | |
virtual mrpt::rtti::CObject * | clone () const override |
Returns a deep copy (clone) of the object, indepently of its class. More... | |
static const mrpt::rtti::TRuntimeClassId * | _GetBaseClass () |
static constexpr auto | getClassName () |
static const mrpt::rtti::TRuntimeClassId & | GetRuntimeClassIdStatic () |
static std::shared_ptr< CObject > | CreateObject () |
template<typename... Args> | |
static Ptr | Create (Args &&... args) |
template<typename Alloc , typename... Args> | |
static Ptr | CreateAlloc (const Alloc &alloc, Args &&... args) |
template<typename... Args> | |
static UniquePtr | CreateUnique (Args &&... args) |
using MyNS::MyDerived2::ConstPtr = std::shared_ptr<const MyNS :: MyDerived2 > |
Definition at line 30 of file rtti_unittest.cpp.
using MyNS::MyDerived2::ConstUniquePtr = std::unique_ptr<const MyNS :: MyDerived2 > |
Definition at line 30 of file rtti_unittest.cpp.
using MyNS::MyDerived2::Ptr = std::shared_ptr< MyNS :: MyDerived2 > |
A type for the associated smart pointer
Definition at line 30 of file rtti_unittest.cpp.
using MyNS::MyDerived2::UniquePtr = std::unique_ptr< MyNS :: MyDerived2 > |
Definition at line 30 of file rtti_unittest.cpp.
|
default |
|
staticprotected |
|
overridevirtual |
Returns a deep copy (clone) of the object, indepently of its class.
Implements mrpt::rtti::CObject.
|
inlinestatic |
Definition at line 30 of file rtti_unittest.cpp.
|
inlinestatic |
Definition at line 30 of file rtti_unittest.cpp.
|
static |
|
inlinestatic |
Definition at line 30 of file rtti_unittest.cpp.
|
inlineinherited |
Makes a deep copy of the object and returns a smart pointer to it.
Definition at line 204 of file CObject.h.
References mrpt::rtti::CObject::clone().
Referenced by mrpt::obs::CRawlog::insert().
|
inlinestatic |
Definition at line 30 of file rtti_unittest.cpp.
|
overridevirtual |
Returns information about the class of an object in runtime.
Reimplemented from mrpt::rtti::CObject.
|
static |
|
static |
Definition at line 30 of file rtti_unittest.cpp.
|
staticprotected |
Definition at line 30 of file rtti_unittest.cpp.
Page generated by Doxygen 1.8.14 for MRPT 2.0.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020 |