Randolph Voorhies
6527f03da7
Fixed doxygen when gh-pages crud is left about
2013-07-10 11:11:04 -07:00
Randolph Voorhies
1113559a8a
Commenting on specialization enum
2013-07-10 11:02:34 -07:00
Shane Grant
4029a26d5f
Update README.md
2013-07-09 16:57:15 -07:00
Shane Grant
9ad424ef2e
doxygne updates
2013-07-09 16:38:23 -07:00
Shane Grant
ffae5f893e
Merge branch 'master' of github.com:USCiLab/cereal
2013-07-09 16:32:29 -07:00
Shane Grant
a047688c5c
documentation and fixed a typo
2013-07-09 16:08:25 -07:00
Shane Grant
73ef86ca24
Update README.md
2013-07-09 16:07:52 -07:00
Shane Grant
334b8e9634
Update README.md
2013-07-09 16:06:21 -07:00
Awesome Robot
5e6fdb339a
doxygen updates, created some new dox groups, put group defs into mainpage.dox
2013-07-09 15:36:01 -07:00
Awesome Robot
70426706a9
doxygen page improvement
2013-07-09 15:06:12 -07:00
Shane Grant
237d05b1ba
updating doxygen
2013-07-09 14:38:51 -07:00
Shane Grant
048c00a92f
load binary working properly, everything looks good for json
2013-07-09 10:46:13 -07:00
Shane Grant
525341a9d8
itsNextName properly initialized to nullptr for json output
2013-07-09 10:32:50 -07:00
Shane Grant
cc8784660c
modified unit tests to not use floats for map keys, complex now uses boost_check_close for double types
2013-07-09 10:24:20 -07:00
Randolph Voorhies
035b01b473
JSON looking good, just need to fix up all unit tests
2013-07-08 18:19:12 -07:00
Randolph Voorhies
f830367d9d
Writing arrays now works. Reading is next
2013-07-08 17:14:40 -07:00
Randolph Voorhies
4631cac259
Object serialization seems to work
2013-07-08 15:14:56 -07:00
Randolph Voorhies
f0216012be
Basic single level JSON reading works
2013-07-08 15:00:25 -07:00
Randolph Voorhies
ae87460183
Fixed genericstream, needs to output \0 on eof
2013-07-08 14:49:54 -07:00
Shane Grant
e098238e6d
Smart pointers to abstract types no longer require serialization functions.
2013-07-08 11:56:51 -07:00
Shane Grant
8d4a4194e2
removed ^M from some files, skeleton of input json
2013-07-08 11:42:34 -07:00
Shane Grant
f70f34ae6e
added polymorphic unit test
2013-07-08 10:29:41 -07:00
Shane Grant
cded3bea43
using BOOST_CHECK_CLOSE for long double comparisons
...
some documentation updates to both xml and util
2013-07-08 10:13:42 -07:00
Shane Grant
0912411844
Documentation updates and priority_queue now tested for XML
2013-07-07 18:23:21 -07:00
Shane Grant
8fcb6389e8
Made unit tests work for XML, needed to put scope around output archives since they flush on destruction.
...
Added some documentation to XML output archive describing how it works.
Added attribute size="dynamic" to types that specify a size tag for XML, making it easier for a human to figure out what
they can add or remove data from.
Documentation updates on a few other things.
2013-07-07 18:01:17 -07:00
Randolph Voorhies
0ce654759a
Doxygen updates
2013-07-06 19:24:31 -07:00
Randolph Voorhies
af8ba33d63
Merge branch 'master' of git.r-c-v.com:rand/cereal
2013-07-06 19:01:28 -07:00
Randolph Voorhies
ef4ec7bd69
Adding doxygen file tags and STLSupport module
2013-07-06 19:01:04 -07:00
Shane Grant
66baefdaef
Merge branch 'master' of git.r-c-v.com:rand/cereal
2013-07-06 16:25:19 -07:00
Shane Grant
39978c7377
added XML to all tests in unittests
...
Some things are failing, will need to look at this later.
string test is commented out for XML since it doesn't work with wchar yet
priority_queue test is commented out for XML since it doesn't work with empty structs automatically
2013-07-06 16:24:36 -07:00
Shane Grant
a17b067c7e
adding bool to pod tests
2013-07-06 16:01:09 -07:00
Shane Grant
1f64755397
added some comments to xml for loadvalue, everything running fine through valgrind now
2013-07-06 15:58:55 -07:00
Randolph Voorhies
74737ede8c
Merge branch 'master' of git.r-c-v.com:rand/cereal
2013-07-06 15:58:21 -07:00
Randolph Voorhies
8aae41d529
Documentation
2013-07-06 15:58:13 -07:00
Shane Grant
283db1b09d
fixes a memory issue with rapidxml, we need to make sure that input streams are null terminated (C++ api yeah right!)
2013-07-06 15:52:39 -07:00
Shane Grant
c4ce4260ed
testing XML for pod types, getting some strange parsing error that needs to be sorted out. doesn't seem to happen 100%
...
of the time
2013-07-06 15:28:10 -07:00
Shane Grant
0bc893a241
fixing up string to value conversions
2013-07-06 15:17:31 -07:00
Shane Grant
5017efef4e
C style arrays now exist in common.hpp, no longer need to do them for each archive type
2013-07-06 13:49:04 -07:00
Shane Grant
219558cbd2
new static_assert if specializing without having the proper serialization functions
2013-07-05 17:05:50 -07:00
Shane Grant
5445bed830
testing for specialized types
...
reveals that we need an error message if someone specializes but doesn't actually have the save/load functions required
2013-07-05 16:20:22 -07:00
Shane Grant
09fcbc5134
fixed multimap test
2013-07-05 16:07:54 -07:00
Shane Grant
9ed52f22a1
adding doxygen generation
2013-07-04 23:43:46 -07:00
Shane Grant
882415127b
testing pointers and polymorphism with xml, looks godo
2013-07-04 23:17:03 -07:00
Shane Grant
611e10cfb3
cereal now gives a static_assert if save is not const
2013-07-04 23:07:12 -07:00
Shane Grant
d5f583587e
tidying up
2013-07-04 18:16:06 -07:00
Shane Grant
b8d6bc2a3b
Fixed small bug with xml output for unique_ptr, uint8_t was being serialized as a character, now serialized as a number
2013-07-04 18:13:40 -07:00
Shane Grant
41d3098f8e
Fixed a bug relating to overload resolution for loading types. ProcessImpl was taking a universal reference and the
...
type traits were failing on T& as opposed to a T. loading's processimpl now only takes refs. we still let op() take
r-values in case someone passes it an nvp or something
2013-07-04 17:54:03 -07:00
Shane Grant
cb6e04c8a6
NVP + traits changes
...
Added more NVP info to types that need it
Adding ability to detect a save function (member or non-member) that is incorrectly declared as non-const. This is
needed since some nasty compilation errors crop up if you explicitly specify a serialization type and register that type
with an incorrectly constified save function.
So not done yet, but soon in: using a non const save function will trigger a static assertion.
Still need to investigate registering types with explicit disambiguation
2013-07-04 17:33:13 -07:00
Shane Grant
f37890f7a5
moved _NVP into helpers as _CEREAL_NVP, now using it in other types that serialize metadata other than size
...
In general, don't use CEREAL_NVP for sizes since those get thrown in a size tag and handled on their own anyway
2013-07-04 14:00:59 -07:00
Shane Grant
8d2bdbf5db
cleaning up code, renamed detail in memory to memory_detail
2013-07-04 13:12:32 -07:00