#include <InternalEncodedStreamFactory.h>
Inheritance diagram for Core::InternalEncodedStreamFactory:
Public Member Functions | |
InternalEncodedStreamFactory (ByteArray *array, String *encoding) | |
virtual String * | className (void) const |
Answer receiver class name. | |
virtual EncodedStream * | readStream (void) |
virtual EncodedStream * | writeStream (void) |
Protected Attributes | |
ByteArray * | _array |
|
Definition at line 34 of file InternalEncodedStreamFactory.cc. References _array. 00035 : EncodedStreamFactory(encoding) 00036 { 00037 _array = array; 00038 }
|
|
Answer receiver class name. Because there isn't any standard way to obtain class name this method comes to place. Every class should rewrite this method but many didn't (yet). Reimplemented from Core::EncodedStreamFactory. Definition at line 41 of file InternalEncodedStreamFactory.cc. 00042 { 00043 return new String("InternalEncodedStreamFactory"); 00044 }
|
|
Reimplemented from Core::EncodedStreamFactory. Definition at line 47 of file InternalEncodedStreamFactory.cc. References _array, Core::EncodedStreamFactory::getEncoder(), and Core::SequenceableCollection::readStream(). 00048 { 00049 return new EncodedStream(_array->readStream(), getEncoder()); 00050 }
|
|
Reimplemented from Core::EncodedStreamFactory. Definition at line 52 of file InternalEncodedStreamFactory.cc. References _array, Core::EncodedStreamFactory::getEncoder(), and Core::SequenceableCollection::writeStream(). 00053 { 00054 return new EncodedStream(_array->writeStream(), getEncoder()); 00055 }
|
|
Definition at line 37 of file InternalEncodedStreamFactory.h. Referenced by InternalEncodedStreamFactory(), readStream(), and writeStream(). |