Skip to content

A C++ library of XML serializer and de-serializer using functional programming, template partial specialization and reflection.

Notifications You must be signed in to change notification settings

RamonZhou/tinyXML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinyXML

A C++ library of XML serializer and de-serializer using functional programming, template partial specialization and reflection.

It can serialize C++ objects such as int, arrays, strings, vectors, maps and pointers into binary representations or XML representations. It also supports de-serialization.

Usage

#include "bin_srl.h"
#include "xml_srl.h"
#include "type_info.h"
#include "tinyxml2.h"

Binary serialization and de-serialization:

bin_srl::serialize(a, "output.bin");
bin_srl::deserialize(b, "input.bin");

XML serialization and de-serialization:

xml_srl::serialize(a, "output.bin");
xml_srl::deserialize(b, "input.bin");

About

A C++ library of XML serializer and de-serializer using functional programming, template partial specialization and reflection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published