added hability to print in the serialization process

This commit is contained in:
csoler 2017-04-04 14:00:17 +02:00
parent 75a3cf0f3b
commit 059dfcff47
4 changed files with 29 additions and 7 deletions

View file

@ -120,7 +120,7 @@ class RsItem: public RsMemoryManagement::SmallObject
* after where this RsSerializable has been serialized.
* @return true if serialization successed, false otherwise
*/
typedef enum { SIZE_ESTIMATE = 0x01, SERIALIZE = 0x02, DESERIALIZE = 0x03} SerializeJob ;
typedef enum { SIZE_ESTIMATE = 0x01, SERIALIZE = 0x02, DESERIALIZE = 0x03, PRINT=0x04 } SerializeJob ;
virtual void serial_process(SerializeJob j,SerializeContext& ctx)
{