#include <good_tests.h>


Definition at line 330 of file good_tests.h.
Public Member Functions | |
| EmptyArray () | |
| ~EmptyArray () | |
| void | write (Writer *w) const throw (WritingException) |
| void | read (Reader *r) throw (ReadingException) |
Data Fields | |
| int32_t * | a |
| int | n |
| RDK2::UnitTest::Serialization::EmptyArray::EmptyArray | ( | ) | [inline] |
| RDK2::UnitTest::Serialization::EmptyArray::~EmptyArray | ( | ) | [inline] |
| void RDK2::UnitTest::Serialization::EmptyArray::write | ( | Writer * | ) | const throw (WritingException) [inline, virtual] |
Function to be implemented by objects wishing to serialize themselves.
Here are some assumptions:
Implements RDK2::Serialization::Writable.
Definition at line 339 of file good_tests.h.
| void RDK2::UnitTest::Serialization::EmptyArray::read | ( | Reader * | r | ) | throw (ReadingException) [inline, virtual] |
The object must let the exceptions generated by the Reader to pass through, as the reader will take care of them.
For de-serializing, the object must call on "r": 1) r->startReading("class name"); 2) zero or more r->read_* functions. 3) r->endReading();
Implements RDK2::Serialization::Readable.
Definition at line 345 of file good_tests.h.
References a, and RDK2::Statistics::r.
Definition at line 331 of file good_tests.h.
Referenced by EmptyArray(), read(), write(), and ~EmptyArray().
1.5.6