diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-23 12:01:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-24 11:48:38 +0200 |
commit | cd1bbdf0a494298882f79add7b5f28c3b56d9a14 (patch) | |
tree | bef29e2648302ce58ace4e9ff7d110cd2205bcb0 /include/codemaker | |
parent | 6ddc80e53a601cdf6984e36a56cd18b2e99377bc (diff) |
convert codemaker::UnoType::Sort to scoped enum
Change-Id: I70a84f777e714bcc20c2d7b06b918e3be0f3ce4a
Diffstat (limited to 'include/codemaker')
-rw-r--r-- | include/codemaker/unotype.hxx | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/include/codemaker/unotype.hxx b/include/codemaker/unotype.hxx index ef2859c1dee1..90e17f5197f9 100644 --- a/include/codemaker/unotype.hxx +++ b/include/codemaker/unotype.hxx @@ -32,36 +32,36 @@ namespace UnoType { /** An enumeration of all the sorts of relevant UNOIDL entities. */ - enum Sort { - SORT_VOID, - SORT_BOOLEAN, - SORT_BYTE, - SORT_SHORT, - SORT_UNSIGNED_SHORT, - SORT_LONG, - SORT_UNSIGNED_LONG, - SORT_HYPER, - SORT_UNSIGNED_HYPER, - SORT_FLOAT, - SORT_DOUBLE, - SORT_CHAR, - SORT_STRING, - SORT_TYPE, - SORT_ANY, - SORT_SEQUENCE_TYPE, - SORT_MODULE, - SORT_ENUM_TYPE, - SORT_PLAIN_STRUCT_TYPE, - SORT_POLYMORPHIC_STRUCT_TYPE_TEMPLATE, - SORT_INSTANTIATED_POLYMORPHIC_STRUCT_TYPE, - SORT_EXCEPTION_TYPE, - SORT_INTERFACE_TYPE, - SORT_TYPEDEF, - SORT_CONSTANT_GROUP, - SORT_SINGLE_INTERFACE_BASED_SERVICE, - SORT_ACCUMULATION_BASED_SERVICE, - SORT_INTERFACE_BASED_SINGLETON, - SORT_SERVICE_BASED_SINGLETON + enum class Sort { + Void, + Boolean, + Byte, + Short, + UnsignedShort, + Long, + UnsignedLong, + Hyper, + UnsignedHyper, + Float, + Double, + Char, + String, + Type, + Any, + Sequence, + Module, + Enum, + PlainStruct, + PolymorphicStructTemplate, + InstantiatedPolymorphicStruct, + Exception, + Interface, + Typedef, + ConstantGroup, + SingleInterfaceBasedService, + AccumulationBasedService, + InterfaceBasedSingleton, + ServiceBasedSingleton }; /** |