irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

irods_generic_auth_object.hpp
Go to the documentation of this file.
1 #ifndef _GENERIC_AUTH_OBJECT_HPP_
2 #define _GENERIC_AUTH_OBJECT_HPP_
3 
4 #include "irods_error.hpp"
5 #include "irods_auth_object.hpp"
6 #include "irods_stacktrace.hpp"
7 
8 #include "rcMisc.h"
9 
10 namespace irods {
11 
16  public:
18  generic_auth_object( const std::string& _type, rError_t* _r_error );
20 
22  virtual error resolve( const std::string& _name, plugin_ptr& _plugin ); // resolve plugin
23 
25  virtual bool operator==( const generic_auth_object& _rhs ) const;
26 
28  virtual generic_auth_object& operator=( const generic_auth_object& _rhs );
29 
32 
34  virtual int sock( void ) const {
35  return sock_;
36  }
37 
39  virtual void sock( int s ) {
40  sock_ = s;
41  }
42 
43 
44  private:
45  std::string type_;
46  int sock_;
47 
48  };
49 
50  typedef boost::shared_ptr<generic_auth_object> generic_auth_object_ptr;
51 
52 }; // namespace irods
53 
54 #endif // _GENERIC_AUTH_OBJECT_HPP_
irods::plugin_ptr
boost::shared_ptr< plugin_base > plugin_ptr
Definition: irods_first_class_object.hpp:18
irods::auth_object
Definition: irods_auth_object.hpp:16
irods_stacktrace.hpp
rcMisc.h
irods::generic_auth_object_ptr
boost::shared_ptr< generic_auth_object > generic_auth_object_ptr
Definition: irods_generic_auth_object.hpp:50
irods::generic_auth_object
Definition: irods_generic_auth_object.hpp:15
irods_auth_object.hpp
irods::generic_auth_object::sock
virtual int sock(void) const
Definition: irods_generic_auth_object.hpp:34
irods::generic_auth_object::generic_auth_object
generic_auth_object(const std::string &_type, rError_t *_r_error)
Definition: irods_generic_auth_object.cpp:9
rError_t
Definition: rodsError.h:24
irods::generic_auth_object::operator=
virtual generic_auth_object & operator=(const generic_auth_object &_rhs)
Definition: irods_generic_auth_object.cpp:71
irods::generic_auth_object::type_
std::string type_
Definition: irods_generic_auth_object.hpp:45
irods
Definition: apiHandler.hpp:35
irods::generic_auth_object::~generic_auth_object
virtual ~generic_auth_object()
Definition: irods_generic_auth_object.cpp:24
irods::generic_auth_object::sock
virtual void sock(int s)
Definition: irods_generic_auth_object.hpp:39
irods::error
Definition: irods_error.hpp:23
irods::generic_auth_object::resolve
virtual error resolve(const std::string &_name, plugin_ptr &_plugin)
Definition: irods_generic_auth_object.cpp:29
irods::generic_auth_object::operator==
virtual bool operator==(const generic_auth_object &_rhs) const
Definition: irods_generic_auth_object.cpp:66
irods::generic_auth_object::sock_
int sock_
Definition: irods_generic_auth_object.hpp:46
irods_error.hpp
irods::generic_auth_object::get_re_vars
virtual error get_re_vars(rule_engine_vars_t &)
Definition: irods_generic_auth_object.cpp:76
irods::rule_engine_vars_t
std::map< std::string, std::string > rule_engine_vars_t
Definition: irods_first_class_object.hpp:20