21 #include "core/auth/Group_odb.h" 22 #include "core/auth/User_odb.h" 32 timestamp_ = boost::posix_time::second_clock::local_time();
78 return user_.object_id();
89 if (m1->user_id() == 0 || m1->group_id() == 0 || m2->user_id() == 0 ||
91 return std::addressof(m1) < std::addressof(m2);
93 return std::make_pair(m1->user_id(), m1->group_id()) <
94 std::make_pair(m2->user_id(), m2->group_id());
boost::posix_time::ptime timestamp_
This is the header file for a generated source file, GitSHA1.cpp.
const UserGroupMembershipId & id() const
UserGroupMembershipId id_
unsigned long UserGroupMembershipId
std::shared_ptr< Group > GroupPtr
Holds classes relevant to the Authentication and Authorization subsystem.
std::shared_ptr< User > UserPtr
GroupRank
The rank of an User inside a Group.
std::shared_ptr< UserGroupMembership > UserGroupMembershipPtr
odb::lazy_weak_ptr< Group > GroupLWPtr
bool operator()(const UserGroupMembershipPtr &m1, const UserGroupMembershipPtr &m2) const
const boost::posix_time::ptime & timestamp() const
odb::lazy_weak_ptr< User > UserLWPtr
const GroupLWPtr group() const
const UserLWPtr & user() const