Commit graph

17 commits

Author SHA1 Message Date
b9199ff3fe Remove out-lined getters/settings; implement HandleStreamStart 2014-07-28 15:31:29 -07:00
5aff8a2df2 All the event handling routines return bools 2014-07-28 15:31:05 -07:00
db6fe5af8b Pass version and tag directives to HandleDocumentStart 2014-07-28 15:01:59 -07:00
dfe4d6f721 Define a TagDirective 2014-07-25 21:36:13 -07:00
958b4d0c46 Add Encoding and fix up a couple compiler errors 2014-07-25 21:10:41 -07:00
f999dcd0e7 Functional cast of stream to bool in ParseScalar 2014-07-25 08:56:01 -07:00
000b8879e2 Lots of documentation for handler event methods 2014-07-25 08:55:47 -07:00
c3a19f7d2e Fix duplicate SequenceStyle enum (use MappingStyle) 2014-07-25 08:55:31 -07:00
74757c618c Include <memory> for Parser::Ptr 2014-07-25 08:55:11 -07:00
d464cc328e Type clean up: ParserStack -> Stack 2014-07-24 08:28:05 -07:00
2fb555e253 Fully define methods to handle parser events
HandleFoo() takes parameters for all the data provided in the event struct. Getting data into my YAML parser thus has no dependency on the format of data in libyaml.

Maybe this is a good thing?
2014-07-24 08:24:10 -07:00
76a13e61de Update call sites and instantiation for Vector3 and Color parsers 2014-07-19 17:19:54 -07:00
09b0065611 Use a stringstream instead of sscanf for ParseScalar 2014-07-19 10:59:22 -07:00
e7b9ee8257 Reformat some comments 2014-07-17 20:17:17 -07:00
d12f8c9fa6 Define ParseScalar<T> and ParseScalarTraits
For parsing single YAML scalar values into C++ datatypes (mostly ints and doubles).
2014-07-15 23:28:59 -07:00
557d9a047f Define the Notify() method on UtilityParser 2014-07-15 23:27:24 -07:00
d20e4154fe Big YAML parser cleanup 2014-07-15 17:27:27 -07:00