| Puma Reference Manual | Puma::CSpecifiers Class Reference |
C/C++ declaration specifiers for the declaration of an entity. More...
#include <Puma/CSpecifiers.h>
Public Types | |
| enum | Spec { SPEC_NONE = 0x0, SPEC_VIRTUAL = 0x1, SPEC_STATIC = 0x2, SPEC_EXTERN = 0x4, SPEC_MUTABLE = 0x8, SPEC_REGISTER = 0x10, SPEC_EXPLICIT = 0x20, SPEC_AUTO = 0x40, SPEC_INLINE = 0x80, SPEC_THREAD = 0x100 } |
| Declaration specifiers. More... | |
Public Member Functions | |
| CSpecifiers () | |
| Constructor. More... | |
| CSpecifiers (const CSpecifiers ©) | |
| Copy-constructor. More... | |
| CSpecifiers & | operator= (const CSpecifiers &s) |
| Assignment operator. More... | |
| CSpecifiers & | operator+= (Spec s) |
| Add a declaration specifier. More... | |
| CSpecifiers & | operator-= (Spec s) |
| Remove a declaration specifier. More... | |
| bool | operator== (Spec) const |
| Check if the given declaration specifier was specified. More... | |
| bool | operator!= (Spec) const |
| Check if the given declaration specifier was not specified. More... | |
C/C++ declaration specifiers for the declaration of an entity.
Declaration specifiers.
|
inline |
Constructor.
|
inline |
Copy-constructor.
| copy | The declaration specifiers to copy. |
|
inline |
Check if the given declaration specifier was not specified.
| s | The declaration specifier. |
|
inline |
Add a declaration specifier.
| s | The declaration specifier. |
|
inline |
Remove a declaration specifier.
| s | The declaration specifier. |
|
inline |
Assignment operator.
| s | The assigned declaration specifiers. |
|
inline |
Check if the given declaration specifier was specified.
| s | The declaration specifier. |