From 5e29cf1cc060c2f918ed42da1e7d67b4d1da0973 Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Fri, 13 Feb 2015 16:16:22 +0100 Subject: properly renamed getVariantType to getVariantTypes --- src/core/model/Typesystem.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src') 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 getVariantType() const = 0; + virtual std::vector getVariantTypes() const = 0; }; /** @@ -266,7 +266,7 @@ public: * * @return the String VariantType. */ - std::vector getVariantType() const override + std::vector getVariantTypes() const override { return {VariantType::STRING}; } @@ -315,7 +315,7 @@ public: * * @return the Int VariantType. */ - std::vector getVariantType() const override + std::vector getVariantTypes() const override { return {VariantType::INT}; } @@ -364,7 +364,7 @@ public: * * @return the Double VariantType. */ - std::vector getVariantType() const override + std::vector getVariantTypes() const override { return {VariantType::DOUBLE}; } @@ -413,7 +413,7 @@ public: * * @return the bool VariantType. */ - std::vector getVariantType() const override + std::vector getVariantTypes() const override { return {VariantType::BOOL}; } @@ -539,7 +539,7 @@ public: * * @return the int and string VariantTypes. */ - std::vector getVariantType() const override + std::vector getVariantTypes() const override { return {VariantType::INT, VariantType::STRING}; } @@ -983,7 +983,7 @@ public: * * @return the array and map VariantTypes. */ - std::vector getVariantType() const override + std::vector getVariantTypes() const override { return {VariantType::ARRAY, VariantType::MAP}; } @@ -1057,7 +1057,7 @@ public: * * @return the array VariantType. */ - std::vector getVariantType() const override + std::vector 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 getVariantType() const override + std::vector getVariantTypes() const override { return {VariantType::BOOL, VariantType::INT, VariantType::DOUBLE, VariantType::ARRAY, -- cgit v1.2.3