|
libqi
1.12
|
Various macro for qi. (deprecated, export API, disallow copy, ..) More...
Defines | |
| #define | QI_DEPRECATED_HEADER(x) |
| generate a compiler warning stating a header is deprecated. | |
| #define | QI_COMPILER_WARNING(x) |
| generate a compiler warning | |
| #define | QI_API_DEPRECATED |
| compiler flags to mark a function as deprecated. It will generate a compiler warning. | |
| #define | QI_IMPORT_API |
| compiler flags to import a function or a class | |
| #define | QI_EXPORT_API |
| compiler flags to export a function or a class | |
| #define | QI_DISALLOW_COPY_AND_ASSIGN(type) |
| A macro to disallow copy constructor and operator=. | |
Various macro for qi. (deprecated, export API, disallow copy, ..)
| #define QI_DISALLOW_COPY_AND_ASSIGN | ( | type | ) |
type(type const &); \ void operator=(type const &)
A macro to disallow copy constructor and operator=.
class Foo { Foo(); private: QI_DISALLOW_COPY_AND_ASSIGN(type); }