SAGA Adaptor CPI v.1.0
|
The saga::context class provides the functionality of a security information container. More...
#include <context.hpp>
Public Member Functions | |
context (std::string const &ctxtype="") | |
Brief description starts here. | |
context (saga::object const &o) | |
Creates a security context. | |
~context () | |
Destroys a security context. | |
context & | operator= (saga::object const &o) |
Brief description starts here. | |
Friends | |
bool | operator== (context const &lhs, context const &rhs) |
Brief description starts here. |
The saga::context class provides the functionality of a security information container.
A context gets created, and attached to a session handle. As such it is available to all objects instantiated in that session. Multiple contexts can co-exist in one session - it is up to the implementation to choose the correct context for a specific method call. Also, a single saga::context instance can be shared between multiple sessions. SAGA objects created from other SAGA objects inherit its session and thus also its context(s).
Definition at line 60 of file context.hpp.
saga::context::context | ( | std::string const & | ctxtype = "" | ) | [explicit] |
Brief description starts here.
Definition at line 44 of file context.cpp.
References saga::attributes::context_certrepository, saga::attributes::context_lifetime, saga::attributes::context_remotehost, saga::attributes::context_remoteid, saga::attributes::context_remoteport, saga::attributes::context_server, saga::attributes::context_type, saga::attributes::context_usercert, saga::attributes::context_userid, saga::attributes::context_userkey, saga::attributes::context_userpass, saga::attributes::context_userproxy, and saga::attributes::context_uservo.
saga::context::context | ( | saga::object const & | o | ) | [explicit] |
Creates a security context.
Definition at line 113 of file context.cpp.
References saga::BadParameter, saga::object::Context, and saga::object::get_type().
saga::context::~context | ( | void | ) |
Destroys a security context.
Definition at line 131 of file context.cpp.
context & saga::context::operator= | ( | saga::object const & | o | ) |
Brief description starts here.
Definition at line 121 of file context.cpp.
References saga::BadParameter, saga::object::Context, and saga::object::get_type().
Brief description starts here.