Main MRPT website
>
C++ reference for MRPT 1.9.9
registerAllClasses.cpp
Go to the documentation of this file.
1
/* +------------------------------------------------------------------------+
2
| Mobile Robot Programming Toolkit (MRPT) |
3
| http://www.mrpt.org/ |
4
| |
5
| Copyright (c) 2005-2018, Individual contributors, see AUTHORS file |
6
| See: http://www.mrpt.org/Authors - All rights reserved. |
7
| Released under BSD License. See details in http://www.mrpt.org/License |
8
+------------------------------------------------------------------------+ */
9
10
#include "
db-precomp.h
"
11
12
#include <
mrpt/db/CSimpleDatabase.h
>
13
#include <
mrpt/core/initializer.h
>
14
using namespace
mrpt::db
;
15
16
MRPT_INITIALIZER
(registerAllClasses_mrpt_db)
17
{
18
#if !defined(DISABLE_MRPT_AUTO_CLASS_REGISTRATION)
19
registerClass
(
CLASS_ID
(
CSimpleDatabase
));
20
registerClass
(
CLASS_ID
(
CSimpleDatabaseTable
));
21
#endif
22
}
mrpt::rtti::registerClass
void registerClass(const mrpt::rtti::TRuntimeClassId *pNewClass)
Register a class into the MRPT internal list of "CObject" descendents.
Definition:
internal_class_registry.cpp:155
MRPT_INITIALIZER
#define MRPT_INITIALIZER(f)
Definition:
initializer.h:47
initializer.h
CSimpleDatabase.h
mrpt::db::CSimpleDatabaseTable
This class implements the tables of databases.
Definition:
CSimpleDatabase.h:21
db-precomp.h
mrpt::db
Definition:
CSimpleDatabase.h:16
CLASS_ID
#define CLASS_ID(T)
Access to runtime class ID for a defined class name.
Definition:
CObject.h:85
mrpt::db::CSimpleDatabase
This class impements a very simple database system.
Definition:
CSimpleDatabase.h:121
Page generated by
Doxygen 1.8.17
for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST