diff options
author | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-02-13 16:16:22 +0100 |
---|---|---|
committer | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-02-13 16:16:22 +0100 |
commit | 5e29cf1cc060c2f918ed42da1e7d67b4d1da0973 (patch) | |
tree | 52d294914ba0f329be10a0d6a770e55871d76d97 /src/core/model | |
parent | addf63c2337bc1c5e31cad5790c46ac8ae13a724 (diff) |
properly renamed getVariantType to getVariantTypes
Diffstat (limited to 'src/core/model')
-rw-r--r-- | src/core/model/Typesystem.hpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/core/model/Typesystem.hpp b/src/core/model/Typesystem.hpp index d20a9af..c0a073a 100644 --- a/src/core/model/Typesystem.hpp +++ b/src/core/model/Typesystem.hpp @@ -219,7 +219,7 @@ public: *this * type. */ - virtual std::vector<VariantType> getVariantType() const = 0; + virtual std::vector<VariantType> getVariantTypes() const = 0; }; /** @@ -266,7 +266,7 @@ public: * * @return the String VariantType. */ - std::vector<VariantType> getVariantType() const override + std::vector<VariantType> getVariantTypes() const override { return {VariantType::STRING}; } @@ -315,7 +315,7 @@ public: * * @return the Int VariantType. */ - std::vector<VariantType> getVariantType() const override + std::vector<VariantType> getVariantTypes() const override { return {VariantType::INT}; } @@ -364,7 +364,7 @@ public: * * @return the Double VariantType. */ - std::vector<VariantType> getVariantType() const override + std::vector<VariantType> getVariantTypes() const override { return {VariantType::DOUBLE}; } @@ -413,7 +413,7 @@ public: * * @return the bool VariantType. */ - std::vector<VariantType> getVariantType() const override + std::vector<VariantType> getVariantTypes() const override { return {VariantType::BOOL}; } @@ -539,7 +539,7 @@ public: * * @return the int and string VariantTypes. */ - std::vector<VariantType> getVariantType() const override + std::vector<VariantType> getVariantTypes() const override { return {VariantType::INT, VariantType::STRING}; } @@ -983,7 +983,7 @@ public: * * @return the array and map VariantTypes. */ - std::vector<VariantType> getVariantType() const override + std::vector<VariantType> getVariantTypes() const override { return {VariantType::ARRAY, VariantType::MAP}; } @@ -1057,7 +1057,7 @@ public: * * @return the array VariantType. */ - std::vector<VariantType> getVariantType() const override + std::vector<VariantType> getVariantTypes() const override { return {VariantType::ARRAY}; } @@ -1106,7 +1106,7 @@ public: * @return all parseable VariantTypes (bool, int, double, array, map, *cardinality, object, string). */ - std::vector<VariantType> getVariantType() const override + std::vector<VariantType> getVariantTypes() const override { return {VariantType::BOOL, VariantType::INT, VariantType::DOUBLE, VariantType::ARRAY, |