|
SAGA C++ API
1.6
|
The parameter class inherits the saga::buffer class. More...
#include <parameter.hpp>
Inheritance diagram for saga::rpc::parameter:Public Member Functions | |
| parameter (void *data=0, saga::ssize_t size=-1, io_mode mode=In, buffer_deleter cb=default_buffer_deleter) | |
| Creates a parameter instance. | |
| ~parameter () | |
| Destroys a parameter instance. | |
| io_mode | get_mode () const |
| FIXME: spec says: should be set_io_mode. | |
The parameter class inherits the saga::buffer class.
It also adds one additional state attribute: io mode, which is read-only. With that addition, the new class can conveniently be used to define input, inout and output parameters for RPC calls.
Definition at line 57 of file parameter.hpp.
| saga::rpc::parameter::parameter | ( | void * | data = 0, |
| saga::ssize_t | size = -1, |
||
| io_mode | mode = In, |
||
| buffer_deleter | cb = default_buffer_deleter |
||
| ) |
Creates a parameter instance.
Definition at line 14 of file parameter.cpp.
| saga::rpc::parameter::~parameter | ( | ) |
Destroys a parameter instance.
Definition at line 20 of file parameter.cpp.
| saga::rpc::io_mode saga::rpc::parameter::get_mode | ( | ) | const |
FIXME: spec says: should be set_io_mode.
Definition at line 37 of file parameter.cpp.