The class provides read-only access to all OSB users.
Definition at line 321 of file osbuser.h.
typedef Cont::const_iterator OSB_LIB::Users::ConstIter |
typedef std::list<OsbUser> OSB_LIB::Users::Cont |
OSB_LIB::Users::Users | ( | ) |
Default constructor.
ConstIter OSB_LIB::Users::begin | ( | ) | const |
Get iterator to begin of list.
bool OSB_LIB::Users::empty | ( | ) | const |
List of users empty?
ConstIter OSB_LIB::Users::end | ( | ) | const |
Get iterator to end of list.
Cont::iterator OSB_LIB::Users::find | ( | const OsbUser::Oid | usrId | ) | [private] |
Find a user.
const OsbUser& OSB_LIB::Users::get | ( | const OsbUser::Oid | usrId | ) | const |
Get a user.
usrId | The object id of the user. |
ObjectNotFound | if the user is not found. |
void OSB_LIB::Users::insert | ( | const OsbUser & | usr | ) | [private] |
Insert a user into the list.
usr | The user to insert, it replaces an already existing users with the same object id. |
void OSB_LIB::Users::read | ( | const OSB_DB::Session & | session | ) |
Read the users from the database.
void OSB_LIB::Users::remove | ( | Cont::iterator | usrIter | ) | [private] |
Remove a user from the list.
usrIter | Iterator to the user to remove. |
size_t OSB_LIB::Users::size | ( | ) | const |
Number of users in the list.
bool OSB_LIB::Users::usersRead | ( | ) | const |
All users read from the database?
friend class OSB_DB::OsbUserGw [friend] |
friend class UserMgmtCfg [friend] |
Cont OSB_LIB::Users::users_ [private] |
bool OSB_LIB::Users::usersRead_ [private] |