| Puma Reference Manual | Puma: Puma::CSpecifiers Class Reference |
#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 } |
| Declaration specifiers. More... | |
Public Member Functions | |
| CSpecifiers () | |
| Constructor. | |
| CSpecifiers (const CSpecifiers ©) | |
| Copy-constructor. | |
| CSpecifiers & | operator= (const CSpecifiers &s) |
| Assignment operator. | |
| CSpecifiers & | operator+= (Spec s) |
| Add a declaration specifier. | |
| CSpecifiers & | operator-= (Spec s) |
| Remove a declaration specifier. | |
| bool | operator== (Spec) const |
| Check if the given declaration specifier was specified. | |
| bool | operator!= (Spec) const |
| Check if the given declaration specifier was not specified. | |
Declaration specifiers.
| Puma::CSpecifiers::CSpecifiers | ( | ) | [inline] |
Constructor.
| Puma::CSpecifiers::CSpecifiers | ( | const CSpecifiers & | copy | ) | [inline] |
Copy-constructor.
| copy | The declaration specifiers to copy. |
| CSpecifiers & Puma::CSpecifiers::operator= | ( | const CSpecifiers & | s | ) | [inline] |
Assignment operator.
| s | The assigned declaration specifiers. |
| CSpecifiers & Puma::CSpecifiers::operator+= | ( | CSpecifiers::Spec | s | ) | [inline] |
Add a declaration specifier.
| s | The declaration specifier. |
| CSpecifiers & Puma::CSpecifiers::operator-= | ( | CSpecifiers::Spec | s | ) | [inline] |
Remove a declaration specifier.
| s | The declaration specifier. |
| bool Puma::CSpecifiers::operator== | ( | CSpecifiers::Spec | s | ) | const [inline] |
Check if the given declaration specifier was specified.
| s | The declaration specifier. |
| bool Puma::CSpecifiers::operator!= | ( | CSpecifiers::Spec | s | ) | const [inline] |
Check if the given declaration specifier was not specified.
| s | The declaration specifier. |