|
L4Re - L4 Runtime Environment
|
Attribute for defining an optional RPC argument. More...
Collaboration diagram for L4::Ipc::Opt< T >:Public Member Functions | |
| Opt () | |
| Make an absent optional argument. | |
| Opt (T value) | |
| Make a present optional argument with the given value. | |
| Opt & | operator= (T value) |
| Assign a value to the optional argument (makes the argument present) | |
| void | set_valid (bool valid=true) |
| Set the argument to present or absent. | |
| T * | operator-> () |
| Get the pointer to the value. | |
| T const * | operator-> () const |
| Get the const pointer to the value. | |
| T | value () const |
| Get the value. | |
| T & | value () |
| Get the value. | |
| bool | is_valid () const |
| Get true if present, false if not. | |
Data Fields | |
| T | _value |
| The value. | |
| bool | _valid |
| True if the optional argument is present, false else. | |
Attribute for defining an optional RPC argument.