
Go to the source code of this file.
Macros | |
| #define | LIBMPDPP_PUBLIC_API |
| Used to mark something as part of the public API. | |
| #define | LIBMPDPP_NSCONCAT(A, B) |
| #define | LIBMPDPP_NAMESPACE com::bbc::libmpdpp |
| #define | LIBMPDPP_NAMESPACE_BEGIN namespace LIBMPDPP_NAMESPACE { |
| #define | LIBMPDPP_NAMESPACE_END } |
| #define | LIBMPDPP_NAMESPACE_CLASS(A) |
| #define | LIBMPDPP_NAMESPACE_USING(A) |
| #define | LIBMPDPP_NAMESPACE_USING_ALL using namespace LIBMPDPP_NAMESPACE |
| #define LIBMPDPP_NAMESPACE com::bbc::libmpdpp |
The libmpd++ namespace
| #define LIBMPDPP_NAMESPACE_BEGIN namespace LIBMPDPP_NAMESPACE { |
Mark the start of the libmpd++ namespace
| #define LIBMPDPP_NAMESPACE_CLASS | ( | A | ) |
Substitute an identfier for class A in the libmpd++ namespace
| A | The class to reference in the libmpd++ namespace. |
A in the libmpd++ namespace. | #define LIBMPDPP_NAMESPACE_END } |
Mark the end of the libmpd++ namespace
| #define LIBMPDPP_NAMESPACE_USING | ( | A | ) |
Create a using namespace entry for the libmpd++ namespace
Creates a "using ..." declaration for identifier A in the libmpd++ namespace.
For example LIBMPDPP_NAMESPACE_USING(MPD); would result in:
| A | The identifier for the thing to use from libmpd++ namespace. |
| #define LIBMPDPP_NAMESPACE_USING_ALL using namespace LIBMPDPP_NAMESPACE |
Create a using namespace entry for the libmpd++ namespace
Creates a "using namespace ..." declaration for identifier A in the libmpd++ namespace.
For example LIBMPDPP_NAMESPACE_USING_ALL; would result in:
| #define LIBMPDPP_NSCONCAT | ( | A, | |
| B ) |
Concatenate C++ namespace elements
This is a utility macro to concatenate parts of a C++ namespace path. For example
...would result in the identifier "my::namespace::prefix::classname".
| A | The first part of the namespace to concatenate. |
| B | The second part of the namespace to concatenate. |
| #define LIBMPDPP_PUBLIC_API |
Used to mark something as part of the public API.
This is used to mark a class, function or global variable as part of the public API for libmpd++.