SAGA C++ API 1.6
saga::rpc::parameter Class Reference

The parameter class inherits the saga::buffer class. More...

#include <parameter.hpp>

Inheritance diagram for saga::rpc::parameter:

List of all members.

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.

Detailed Description

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.

Constructor & Destructor Documentation

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.

The newly created parameter.

Definition at line 14 of file parameter.cpp.

saga::rpc::parameter::~parameter ( )

Destroys a parameter instance.

Definition at line 20 of file parameter.cpp.

Member Function Documentation

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.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines