summaryrefslogtreecommitdiffabout
path: root/include/sitecing/configuration.h
Side-by-side diff
Diffstat (limited to 'include/sitecing/configuration.h') (more/less context) (ignore whitespace changes)
-rw-r--r--include/sitecing/configuration.h23
1 files changed, 20 insertions, 3 deletions
diff --git a/include/sitecing/configuration.h b/include/sitecing/configuration.h
index 330a5a6..a2bf612 100644
--- a/include/sitecing/configuration.h
+++ b/include/sitecing/configuration.h
@@ -146,4 +146,13 @@ namespace sitecing {
+ /**
+ * @param s regex pattern
+ * @param a action handler
+ */
action_handler_t(const string& s,const string& a)
: s_regex(s), regex(s), action(a) { }
+ /**
+ * Copy constructor
+ *
+ * @param s source object
+ */
action_handler_t(const action_handler_t& s)
@@ -220,3 +229,3 @@ namespace sitecing {
* @param config the main configuration container.
- * @param the configuration file.
+ * @param cfile the configuration file.
*/
@@ -300,3 +309,3 @@ namespace sitecing {
/**
- * @Was the group specified?
+ * Was the group specified?
* @see group
@@ -392,2 +401,6 @@ namespace sitecing {
+ /**
+ * Type for the config options map
+ * @see specs
+ */
typedef map<string,config_options> specs_t;
@@ -397,2 +410,6 @@ namespace sitecing {
specs_t specs;
+ /**
+ * Type for the loaded per-dir config map
+ * @see loaded_specs
+ */
typedef map<string,loaded_options> loaded_specs_t;
@@ -407,3 +424,3 @@ namespace sitecing {
* @param cfile the configuration file.
- * @param ab @todo TODO:: document me
+ * @param ab document me @todo TODO:: document me
*/