drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
regex_policy::CheckItem Class Reference
Collaboration diagram for regex_policy::CheckItem:
[legend]

Public Member Functions

 CheckItem (const std::string &u, const std::string &obj, CheckMap &check_cache)
bool operator() (PolicyItem *p)
bool hasCachedResult () const
bool getCachedResult () const
void setCachedResult (bool result)

Private Attributes

std::string user
std::string object
std::string key
bool has_cached_result
bool cached_result
CheckMap & check_cache

Detailed Description

Definition at line 127 of file regex_policy/policy.h.

Constructor & Destructor Documentation

◆ CheckItem()

regex_policy::CheckItem::CheckItem ( const std::string & u,
const std::string & obj,
CheckMap & check_cache )

Definition at line 325 of file plugin/regex_policy/module.cc.

Member Function Documentation

◆ getCachedResult()

bool regex_policy::CheckItem::getCachedResult ( ) const
inline

Definition at line 142 of file regex_policy/policy.h.

◆ hasCachedResult()

bool regex_policy::CheckItem::hasCachedResult ( ) const
inline

Definition at line 138 of file regex_policy/policy.h.

◆ operator()()

bool regex_policy::CheckItem::operator() ( PolicyItem * p)

Definition at line 304 of file plugin/regex_policy/module.cc.

◆ setCachedResult()

void regex_policy::CheckItem::setCachedResult ( bool result)

Definition at line 417 of file plugin/regex_policy/module.cc.

Member Data Documentation

◆ cached_result

bool regex_policy::CheckItem::cached_result
private

Definition at line 133 of file regex_policy/policy.h.

◆ check_cache

CheckMap& regex_policy::CheckItem::check_cache
private

Definition at line 134 of file regex_policy/policy.h.

◆ has_cached_result

bool regex_policy::CheckItem::has_cached_result
private

Definition at line 132 of file regex_policy/policy.h.

◆ key

std::string regex_policy::CheckItem::key
private

Definition at line 131 of file regex_policy/policy.h.

◆ object

std::string regex_policy::CheckItem::object
private

Definition at line 130 of file regex_policy/policy.h.

◆ user

std::string regex_policy::CheckItem::user
private

Definition at line 129 of file regex_policy/policy.h.


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