ClassLibrary.h File Reference
#include "Poco/Foundation.h"
#include "Poco/Manifest.h"
#include <typeinfo>
Go to the source code of this file.
Define Documentation
#define POCO_BEGIN_MANIFEST |
( |
base |
|
) |
POCO_BEGIN_MANIFEST_IMPL(pocoBuildManifest, base) |
#define POCO_BEGIN_MANIFEST_IMPL |
( |
fnName, |
|
|
base |
|
) |
|
Value:bool fnName(Poco::ManifestBase* pManifest_) \
{ \
typedef base _Base; \
typedef Poco::Manifest<_Base> _Manifest; \
std::string requiredType(typeid(_Manifest).name()); \
std::string actualType(pManifest_->className()); \
if (requiredType == actualType) \
{ \
Poco::Manifest<_Base>* pManifest = static_cast<_Manifest*>(pManifest_);
Definition at line 87 of file ClassLibrary.h.
#define POCO_BEGIN_NAMED_MANIFEST |
( |
name, |
|
|
base |
|
) |
|
#define POCO_DECLARE_NAMED_MANIFEST |
( |
name |
|
) |
|
#define POCO_END_MANIFEST |
Value:return true; \
} \
else return false; \
}
Definition at line 108 of file ClassLibrary.h.
#define POCO_EXPORT_CLASS |
( |
cls |
|
) |
pManifest->insert(new Poco::MetaObject<cls, _Base>(#cls)); |
#define POCO_EXPORT_SINGLETON |
( |
cls |
|
) |
pManifest->insert(new Poco::MetaSingleton<cls, _Base>(#cls)); |
Function Documentation
void POCO_LIBRARY_API pocoInitializeLibrary |
( |
|
) |
|
void POCO_LIBRARY_API pocoUninitializeLibrary |
( |
|
) |
|