|
Apache log4cxx
Version 0.10.0
|
Emulates java serialization. More...
Public Types | |
| enum | { STREAM_MAGIC = 0xACED } |
| enum | { STREAM_VERSION = 5 } |
| enum | { TC_NULL = 0x70, TC_REFERENCE = 0x71, TC_CLASSDESC = 0x72, TC_OBJECT = 0x73, TC_STRING = 0x74, TC_ARRAY = 0x75, TC_CLASS = 0x76, TC_BLOCKDATA = 0x77, TC_ENDBLOCKDATA = 0x78 } |
| enum | { SC_WRITE_METHOD = 0x01, SC_SERIALIZABLE = 0x02 } |
Public Member Functions | |
| ObjectOutputStream (OutputStreamPtr os, Pool &p) | |
| virtual | ~ObjectOutputStream () |
| void | close (Pool &p) |
| void | flush (Pool &p) |
| void | writeObject (const LogString &, Pool &p) |
| void | writeUTFString (const std::string &, Pool &p) |
| void | writeObject (const MDC::Map &mdc, Pool &p) |
| void | writeInt (int val, Pool &p) |
| void | writeLong (log4cxx_time_t val, Pool &p) |
| void | writeProlog (const char *className, int classDescIncrement, char *bytes, size_t len, Pool &p) |
| void | writeNull (Pool &p) |
| void | writeByte (char val, Pool &p) |
| void | writeBytes (const char *bytes, size_t len, Pool &p) |
Public Member Functions inherited from ObjectImpl | |
| ObjectImpl () | |
| virtual | ~ObjectImpl () |
| void | addRef () const |
| void | releaseRef () const |
Public Member Functions inherited from Object | |
| virtual const helpers::Class & | getClass () const |
| virtual | ~Object () |
| virtual bool | instanceof (const Class &clazz) const =0 |
| virtual const void * | cast (const Class &clazz) const =0 |
Additional Inherited Members | |
Static Public Member Functions inherited from Object | |
| static const helpers::Class & | getStaticClass () |
| static const log4cxx::helpers::ClassRegistration & | registerClass () |
Protected Attributes inherited from ObjectImpl | |
| unsigned int volatile | ref |
Emulates java serialization.
| anonymous enum |
| ObjectOutputStream | ( | OutputStreamPtr | os, |
| Pool & | p | ||
| ) |
|
virtual |
| void close | ( | Pool & | p | ) |
| void flush | ( | Pool & | p | ) |
| void writeByte | ( | char | val, |
| Pool & | p | ||
| ) |
| void writeBytes | ( | const char * | bytes, |
| size_t | len, | ||
| Pool & | p | ||
| ) |
| void writeInt | ( | int | val, |
| Pool & | p | ||
| ) |
| void writeLong | ( | log4cxx_time_t | val, |
| Pool & | p | ||
| ) |
| void writeNull | ( | Pool & | p | ) |
| void writeProlog | ( | const char * | className, |
| int | classDescIncrement, | ||
| char * | bytes, | ||
| size_t | len, | ||
| Pool & | p | ||
| ) |
| void writeUTFString | ( | const std::string & | , |
| Pool & | p | ||
| ) |