add polymorphic struct support
authorAleksandar Kanchev <kanchev@itestra.com>
Tue, 28 May 2013 08:32:16 +0000 (10:32 +0200)
committerGerrit Code Review <qqmthk1@lpmodthk02.bmwgroup.net>
Tue, 4 Jun 2013 07:36:15 +0000 (09:36 +0200)
commitf8f42f23ed8cf0edd0f62bd04c85fff801413200
treed29cc4f639a28c4bbf8bbe5e51bdb57e5e4047d5
parent66e45588704f1929c92e2c561a8b460c97869fb9
add polymorphic struct support

SerializablePolymorphicStruct is a new sub type of SerializableStruct.
It makes sense to use SerializablePolymorphicStruct only with std::shared_ptr.
New stream operators added to support the polymorhic struct shared pointers.
src/CommonAPI/InputStream.h
src/CommonAPI/OutputStream.h
src/CommonAPI/SerializableStruct.h