#include <user_data.hh>
Public Member Functions | |
| user_data (void) | |
| default constructor. | |
| user_data (const std::string &name, const std::string &pwd, long access=0) | |
| Data constructor. | |
| ~user_data (void) | |
| Destructor. | |
| const std::string & | user (void) const |
| User name. | |
| const std::string & | passwd (void) const |
| Encrypted password. | |
| long | access (void) const |
| Access level. | |
The user_data class contains information about users and their acess to channel data.
| sends::user_data::user_data | ( | void | ) | [inline] |
default constructor.
Default user data constructor.
| sends::user_data::user_data | ( | const std::string & | name, | |
| const std::string & | pwd, | |||
| long | access = 0 | |||
| ) |
Data constructor.
Construct a user_data object and fill it with user information.
| name | User name. | |
| pwd | User's encoded password. | |
| access | User's access level. |
| sends::user_data::~user_data | ( | void | ) |
Destructor.
Destroy a user_data object.
| const std::string & sends::user_data::user | ( | void | ) | const [inline] |
User name.
Return a constant reference to a string containing the user name.
| const std::string & sends::user_data::passwd | ( | void | ) | const [inline] |
Encrypted password.
Return a constant reference to a string containing the encrypted password.
| long sends::user_data::access | ( | void | ) | const [inline] |
Access level.
Return the user's channel access level.
1.5.5