diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-18 18:41:30 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-18 18:41:30 +0100 |
commit | 66382c62af1be515deff66d51dba7f27e5fe4937 (patch) | |
tree | cdd661a560ef1f766889d661d8c7561d18bfbabb /src/core/common/VariantConverter.hpp | |
parent | 7d788f2dce18c3ba6f11f7f032d35fef2e5fa9d4 (diff) |
Renamed RttiType to Rtti
Diffstat (limited to 'src/core/common/VariantConverter.hpp')
-rw-r--r-- | src/core/common/VariantConverter.hpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/core/common/VariantConverter.hpp b/src/core/common/VariantConverter.hpp index 6becbc4..0e66e39 100644 --- a/src/core/common/VariantConverter.hpp +++ b/src/core/common/VariantConverter.hpp @@ -33,7 +33,7 @@ namespace ousia { // Forward declaration class Logger; -class RttiType; +class Rtti; class Variant; /** @@ -160,7 +160,7 @@ public: * @return true if the operation was successful, false otherwise. In any * case the input/output parameter "var" will have the requested type. */ - static bool toArray(Variant &var, const RttiType &innerType, Logger &logger, + static bool toArray(Variant &var, const Rtti &innerType, Logger &logger, Mode mode = Mode::SAFE); @@ -180,7 +180,7 @@ public: * @return true if the operation was successful, false otherwise. In any * case the input/output parameter "var" will have the requested type. */ - static bool toMap(Variant &var, const RttiType &innerType, Logger &logger, + static bool toMap(Variant &var, const Rtti &innerType, Logger &logger, Mode mode = Mode::SAFE); /** @@ -195,17 +195,17 @@ public: static bool toFunction(Variant &var, Logger &logger); /** - * Tries conversion to the given RttiType with the given optional inner + * Tries conversion to the given Rtti with the given optional inner * type. * * @param type describes the type to which the variant should be converted. - * This might either be a variant type such as RttiType::Bool, - * RttiType::Int, RttiType::Double, RttiType::String, RttiType::Array, - * RttiType::Map or RttiType::Function. All other types are regarded as - * managed object of this type. If RttiType::None is given, all types are + * This might either be a variant type such as RttiTypes::Bool, + * RttiTypes::Int, RttiTypes::Double, RttiTypes::String, RttiTypes::Array, + * RttiTypes::Map or RttiTypes::Function. All other types are regarded as + * managed object of this type. If RttiTypes::None is given, all types are * accepted. * @param innerType is used in case of maps or arrays to check the type of - * the elements of these containers. If RttiType::None is given, no special + * the elements of these containers. If RttiTypes::None is given, no special * type is required. * @param logger is a reference at the logger instance to which error * messages are forwarded. @@ -213,19 +213,19 @@ public: * @return true if the operation was successful, false otherwise. In any * case the input/output parameter "var" will have the requested type. */ - static bool convert(Variant &var, const RttiType &type, - const RttiType &innerType, Logger &logger, + static bool convert(Variant &var, const Rtti &type, + const Rtti &innerType, Logger &logger, Mode mode = Mode::SAFE); /** - * Tries conversion to the given RttiType without any enforcement regarding + * Tries conversion to the given Rtti without any enforcement regarding * the inner type of container types. * * @param type describes the type to which the variant should be converted. - * This might either be a variant type such as RttiType::Bool, - * RttiType::Int, RttiType::Double, RttiType::String, RttiType::Array, - * RttiType::Map or RttiType::Function. All other types are regarded as - * managed object of this type. If RttiType::None is given, all types are + * This might either be a variant type such as RttiTypes::Bool, + * RttiTypes::Int, RttiTypes::Double, RttiTypes::String, RttiTypes::Array, + * RttiTypes::Map or RttiTypes::Function. All other types are regarded as + * managed object of this type. If RttiTypes::None is given, all types are * accepted. * @param logger is a reference at the logger instance to which error * messages are forwarded. @@ -233,7 +233,7 @@ public: * @return true if the operation was successful, false otherwise. In any * case the input/output parameter "var" will have the requested type. */ - static bool convert(Variant &var, const RttiType &type, + static bool convert(Variant &var, const Rtti &type, Logger &logger, Mode mode = Mode::SAFE); }; } |