classroom
v1
|
#include <global_permission.h>
Public Member Functions | |
GlobalPermission (const Json::Value &storage) | |
GlobalPermission (Json::Value *storage) | |
virtual | ~GlobalPermission () |
const StringPiece | GetTypeName () const |
bool | has_permission () const |
void | clear_permission () |
const StringPiece | get_permission () const |
void | set_permission (const StringPiece &value) |
Static Public Member Functions | |
static GlobalPermission * | New () |
Global user permission description.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'permission
' attribute.
|
inline |
Get the value of the 'permission
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'permission
' attribute was set.
permission
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'permission
' attribute.
Permission value.
[in] | value | The new value. |