sends::user_data Class Reference
[Sends Data Classes]

User authorization data. More...

#include <user_data.hh>

List of all members.

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.


Detailed Description

User authorization data.

The user_data class contains information about users and their acess to channel data.

Author:
John Zweizig
Version:
1.0; Las modified January 23, 2008

Constructor & Destructor Documentation

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.

Parameters:
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.


Member Function Documentation

const std::string & sends::user_data::user ( void   )  const [inline]

User name.

Return a constant reference to a string containing the user name.

Returns:
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.

Returns:
Constant reference to a string with the encrypted password.

long sends::user_data::access ( void   )  const [inline]

Access level.

Return the user's channel access level.

Returns:
the Users access level.


The documentation for this class was generated from the following file:

Generated on Tue Jun 10 12:18:12 2008 for SENDS by  doxygen 1.5.5