#include <bad_tests.h>


Definition at line 163 of file bad_tests.h.
Public Member Functions | |
| ErrorWrongMemberClass (int a=1, int b=2) | |
| void | write (Writer *w) const throw (WritingException) |
| void | read (Reader *r) throw (ReadingException) |
Data Fields | |
| IntWrapper | a |
| IntWrapper | b |
| EmptyClass | s |
| RDK2::UnitTest::Serialization::ErrorWrongMemberClass::ErrorWrongMemberClass | ( | int | a = 1, |
|
| int | b = 2 | |||
| ) | [inline] |
Definition at line 165 of file bad_tests.h.
| void RDK2::UnitTest::Serialization::ErrorWrongMemberClass::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 167 of file bad_tests.h.
| void RDK2::UnitTest::Serialization::ErrorWrongMemberClass::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 174 of file bad_tests.h.
References a, RDK2::Statistics::r, and s.
Definition at line 164 of file bad_tests.h.
1.5.6