yaml-cpp/src
Ted Lyngmo 3f4bdb9878 Make pseudo enum classes into proper enum classes
This changes some constructs like this

    struct FmtScope {
      enum value { Local, Global };
    };
    struct GroupType {
      enum value { NoType, Seq, Map };
    };
    struct FlowType {
      enum value { NoType, Flow, Block };
    };

into this

    enum class FmtScope { Local, Global };
    enum class GroupType { NoType, Seq, Map };
    enum class FlowType { NoType, Flow, Block };

The full list of pseudo enum classes now turned into real enum classes:

enum class State { WaitingForSequenceEntry, WaitingForKey, WaitingForValue };
enum class EmitterNodeType { NoType, Property, Scalar, FlowSeq, BlockSeq, FlowMap, BlockMap };
enum class Type { Verbatim, PrimaryHandle, NamedHandle };
enum class EmitterStyle { Default, Block, Flow };
enum class iterator_type { NoneType, Sequence, Map };
enum class NodeType { Undefined, Null, Scalar, Sequence, Map };
enum class CollectionType { NoCollection, BlockMap, BlockSeq, FlowMap, FlowSeq, CompactMap };
enum class FmtScope { Local, Global };
enum class GroupType { NoType, Seq, Map };
enum class FlowType { NoType, Flow, Block };
enum class StringFormat { Plain, SingleQuoted, DoubleQuoted, Literal };
enum class StringEscaping { None, NonAscii, JSON };

Signed-off-by: Ted Lyngmo <ted@lyncon.se>
2021-04-23 10:15:50 +02:00
..
contrib Make pseudo enum classes into proper enum classes 2021-04-23 10:15:50 +02:00
binary.cpp Fix clang format (#854) 2020-04-29 09:40:33 -05:00
collectionstack.h Make pseudo enum classes into proper enum classes 2021-04-23 10:15:50 +02:00
convert.cpp manual algorithm conversions (#891) 2020-06-15 15:10:09 -05:00
depthguard.cpp Fix clang format (#854) 2020-04-29 09:40:33 -05:00
directives.cpp [clang-tidy] use auto (#888) 2020-06-16 10:22:14 -05:00
directives.h Run clang-format 2014-03-22 12:49:16 -05:00
emit.cpp Fix clang format (#854) 2020-04-29 09:40:33 -05:00
emitfromevents.cpp Make pseudo enum classes into proper enum classes 2021-04-23 10:15:50 +02:00
emitter.cpp Make pseudo enum classes into proper enum classes 2021-04-23 10:15:50 +02:00
emitterstate.cpp Make pseudo enum classes into proper enum classes 2021-04-23 10:15:50 +02:00
emitterstate.h Make pseudo enum classes into proper enum classes 2021-04-23 10:15:50 +02:00
emitterutils.cpp Make pseudo enum classes into proper enum classes 2021-04-23 10:15:50 +02:00
emitterutils.h Make pseudo enum classes into proper enum classes 2021-04-23 10:15:50 +02:00
exceptions.cpp Fix clang format (#854) 2020-04-29 09:40:33 -05:00
exp.cpp [clang-tidy] use raw strings for easier readability (#882) 2020-06-15 15:29:38 -05:00
exp.h Parse colon in plain scalar correctly when in a flow collection 2020-07-02 14:08:14 -05:00
indentation.h Fix warnings on visual studio, including changing unsigned to std::size_t 2015-01-24 14:38:22 -06:00
memory.cpp Fix clang format (#854) 2020-04-29 09:40:33 -05:00
node_data.cpp Make pseudo enum classes into proper enum classes 2021-04-23 10:15:50 +02:00
node.cpp Fix clang format (#854) 2020-04-29 09:40:33 -05:00
nodebuilder.cpp Make pseudo enum classes into proper enum classes 2021-04-23 10:15:50 +02:00
nodebuilder.h Make pseudo enum classes into proper enum classes 2021-04-23 10:15:50 +02:00
nodeevents.cpp [clang-tidy] use auto (#888) 2020-06-16 10:22:14 -05:00
nodeevents.h Modernize: Use "using" instead of "typedef" (#754) 2019-10-02 11:14:49 -05:00
null.cpp Fix clang format (#854) 2020-04-29 09:40:33 -05:00
ostream_wrapper.cpp Modernize: Use range-based for loops for readability (#762) 2019-10-05 14:20:17 -05:00
parse.cpp [clang-tidy] use bool literals (#881) 2020-06-15 15:30:37 -05:00
parser.cpp Fix clang format (#854) 2020-04-29 09:40:33 -05:00
ptr_vector.h Apply formatting/style tweaks to comply with compile time diagnostics for g++ and clang++ (#686) 2019-03-13 15:18:34 -07:00
regex_yaml.cpp Apply formatting/style tweaks to comply with compile time diagnostics for g++ and clang++ (#686) 2019-03-13 15:18:34 -07:00
regex_yaml.h Modernize: Use "default" for destructors and copy constructors (#751) 2019-10-02 08:38:49 -05:00
regeximpl.h Modernize: Use range-based for loops for readability (#762) 2019-10-05 14:20:17 -05:00
scanner.cpp [clang-tidy] use bool literals (#881) 2020-06-15 15:30:37 -05:00
scanner.h Use nullptr instead of 0 or NULL (clang-tidy warns) (#603) 2018-07-02 23:59:04 -05:00
scanscalar.cpp Properly allow a trailing tab character on a block scalar (#919) 2020-07-16 10:08:09 -05:00
scanscalar.h [clang-tidy] fix inconsistent declaration (#884) 2020-06-15 15:39:04 -05:00
scantag.cpp Fix clang format (#854) 2020-04-29 09:40:33 -05:00
scantag.h Run clang-format 2014-03-22 12:49:16 -05:00
scantoken.cpp [clang-tidy] use bool literals (#881) 2020-06-15 15:30:37 -05:00
setting.h partially fix clang compilation (#893) 2020-06-15 16:59:27 -05:00
simplekey.cpp Fix clang format (#854) 2020-04-29 09:40:33 -05:00
singledocparser.cpp Fix runtime exceptions in Visual Studio environment. (#926) 2020-07-23 08:48:20 -05:00
singledocparser.h Fix stack overflow (#807) 2020-04-09 13:02:10 -05:00
stream.cpp [clang-tidy] do not use return after else (#892) 2020-06-15 15:09:29 -05:00
stream.h Make SettingChange and StreamCharSourcemove constructors and assignment operators noexcept (#808) 2020-02-04 16:58:00 -06:00
streamcharsource.h Make SettingChange and StreamCharSourcemove constructors and assignment operators noexcept (#808) 2020-02-04 16:58:00 -06:00
stringsource.h Run clang-format 2014-03-22 12:49:16 -05:00
tag.cpp Apply formatting/style tweaks to comply with compile time diagnostics for g++ and clang++ (#686) 2019-03-13 15:18:34 -07:00
tag.h Run IWYU 2014-03-22 22:46:04 -05:00
token.h Modernize: Use range-based for loops for readability (#762) 2019-10-05 14:20:17 -05:00