diff options
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h index c93e565fb..691e6eda1 100644 --- a/include/modules.h +++ b/include/modules.h @@ -510,6 +510,13 @@ class ConfigReader : public classbase * file does not exist or could not be opened. */ bool Verify(); + + /** Returns the number of items within a tag. + * For example if the tag was <test tag="blah" data="foo"> then this + * function would return 2. Spaces and newlines both qualify as valid seperators + * between values. + */ + int EnumerateValues(std::string tag, int index); }; |