mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-22 12:59:07 -06:00
Allow Documentations to be exhaustive to not allow extra dictionaries
This commit is contained in:
@@ -71,13 +71,14 @@ struct StringVerifier : public TemplateVerifier<std::string> {
|
||||
};
|
||||
|
||||
struct TableVerifier : public TemplateVerifier<ghoul::Dictionary> {
|
||||
TableVerifier(std::vector<DocumentationEntry> d = {});
|
||||
TableVerifier(std::vector<DocumentationEntry> d = {}, Exhaustive exhaustive = Exhaustive::No);
|
||||
|
||||
TestResult operator()(const ghoul::Dictionary& dict, const std::string& key) const override;
|
||||
|
||||
std::string type() const override;
|
||||
|
||||
std::vector<DocumentationEntry> doc;
|
||||
Exhaustive exhaustive;
|
||||
};
|
||||
|
||||
struct VectorVerifier {};
|
||||
|
||||
Reference in New Issue
Block a user