sdk/extensions/serialization/source/DTO/DTOMacros.h File Reference

Go to the source code of this file.

Defines

#define DTO_CLASS(_NAME, _POCO, _SERIALIZER)


Define Documentation

#define DTO_CLASS ( _NAME,
_POCO,
_SERIALIZER   ) 

Value:

namespace Nv {                                                                          \
namespace Blast {                                                                       \
class _NAME ## DTO                                                                      \
{                                                                                       \
public:                                                                                 \
                                                                                        \
    static bool serialize(_SERIALIZER::Builder builder, const _POCO * poco);            \
    static _POCO* deserialize(_SERIALIZER::Reader reader);                              \
    static bool deserializeInto(_SERIALIZER::Reader reader, _POCO * poco);              \
};                                                                                      \
}                                                                                       \
}