Leosac
0.8.0
Open Source Access Control
|
Describe the membership of an User with regroup to a Group. More...
#include <UserGroupMembership.hpp>
Public Member Functions | |
UserGroupMembership () | |
const UserGroupMembershipId & | id () const |
const UserLWPtr & | user () const |
UserId | user_id () const |
void | user (UserPtr user) |
const GroupLWPtr | group () const |
GroupId | group_id () const |
void | group (GroupPtr group) |
const boost::posix_time::ptime & | timestamp () const |
GroupRank | rank () const |
void | rank (const GroupRank &rank) |
Private Attributes | |
UserGroupMembershipId | id_ |
UserLWPtr | user_ |
GroupLWPtr | group_ |
boost::posix_time::ptime | timestamp_ |
GroupRank | rank_ |
const size_t | version_ |
Friends | |
class | odb::access |
Describe the membership of an User with regroup to a Group.
This class is "database enabled".
Definition at line 39 of file UserGroupMembership.hpp.
UserGroupMembership::UserGroupMembership | ( | ) |
Definition at line 28 of file UserGroupMembership.cpp.
const GroupLWPtr UserGroupMembership::group | ( | ) | const |
Definition at line 51 of file UserGroupMembership.cpp.
void UserGroupMembership::group | ( | GroupPtr | group | ) |
Definition at line 56 of file UserGroupMembership.cpp.
GroupId UserGroupMembership::group_id | ( | ) | const |
Definition at line 81 of file UserGroupMembership.cpp.
const UserGroupMembershipId & UserGroupMembership::id | ( | ) | const |
Definition at line 36 of file UserGroupMembership.cpp.
GroupRank UserGroupMembership::rank | ( | ) | const |
Definition at line 66 of file UserGroupMembership.cpp.
void UserGroupMembership::rank | ( | const GroupRank & | rank | ) |
Definition at line 71 of file UserGroupMembership.cpp.
const boost::posix_time::ptime & UserGroupMembership::timestamp | ( | ) | const |
Definition at line 61 of file UserGroupMembership.cpp.
const UserLWPtr & UserGroupMembership::user | ( | ) | const |
Definition at line 41 of file UserGroupMembership.cpp.
void UserGroupMembership::user | ( | UserPtr | user | ) |
Definition at line 46 of file UserGroupMembership.cpp.
UserId UserGroupMembership::user_id | ( | ) | const |
Definition at line 76 of file UserGroupMembership.cpp.
|
friend |
Definition at line 80 of file UserGroupMembership.hpp.
|
private |
Definition at line 69 of file UserGroupMembership.hpp.
|
private |
Definition at line 61 of file UserGroupMembership.hpp.
|
private |
Definition at line 75 of file UserGroupMembership.hpp.
|
private |
Definition at line 72 of file UserGroupMembership.hpp.
|
private |
Definition at line 65 of file UserGroupMembership.hpp.
|
private |
Definition at line 78 of file UserGroupMembership.hpp.