irods  4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
  Fossies Dox: irods-4.2.8.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

irods_re_ruleexistshelper.hpp
Go to the documentation of this file.
1 #ifndef IRODS_RE_RULEEXISTSHELPER_HPP
2 #define IRODS_RE_RULEEXISTSHELPER_HPP
3 
4 #include "irods_error.hpp"
5 
6 #include <vector>
7 #include <string>
8 
9 #include "boost/regex.hpp"
10 
12 public:
13  static RuleExistsHelper* Instance();
14  void registerRuleRegex( const std::string& _regex );
15  bool checkOperation( const std::string& _op_name );
16  bool checkPrePep( const std::string& _ns, const std::string& _op_name );
17  bool checkPostPep( const std::string& _ns, const std::string& _op_name );
18  bool checkDynPeps( const std::string& _ns, const std::string& _op_name );
19 protected:
20 private:
23  std::vector<boost::regex> ruleRegexes;
24 };
25 
26 #endif
RuleExistsHelper::Instance
static RuleExistsHelper * Instance()
Definition: irods_re_ruleexistshelper.cpp:6
RuleExistsHelper::ruleRegexes
std::vector< boost::regex > ruleRegexes
Definition: irods_re_ruleexistshelper.hpp:23
RuleExistsHelper::checkOperation
bool checkOperation(const std::string &_op_name)
Definition: irods_re_ruleexistshelper.cpp:19
RuleExistsHelper
Definition: irods_re_ruleexistshelper.hpp:11
RuleExistsHelper::checkDynPeps
bool checkDynPeps(const std::string &_ns, const std::string &_op_name)
Definition: irods_re_ruleexistshelper.cpp:41
RuleExistsHelper::registerRuleRegex
void registerRuleRegex(const std::string &_regex)
Definition: irods_re_ruleexistshelper.cpp:14
RuleExistsHelper::_instance
static RuleExistsHelper * _instance
Definition: irods_re_ruleexistshelper.hpp:21
RuleExistsHelper::checkPostPep
bool checkPostPep(const std::string &_ns, const std::string &_op_name)
Definition: irods_re_ruleexistshelper.cpp:35
irods_error.hpp
RuleExistsHelper::checkPrePep
bool checkPrePep(const std::string &_ns, const std::string &_op_name)
Definition: irods_re_ruleexistshelper.cpp:29
RuleExistsHelper::RuleExistsHelper
RuleExistsHelper()
Definition: irods_re_ruleexistshelper.hpp:21