VCF::XMLDictInputStream Class Reference
#include <vcf/FoundationKit/XMLDictInputStream.h>
Inheritance diagram for VCF::XMLDictInputStream:

Public Member Functions | |
| XMLDictInputStream (InputStream *stream) | |
| virtual void | seek (const uint64 &offset, const SeekType &offsetFrom) |
| virtual uint64 | getSize () |
| returns the size of the stream. | |
| virtual uchar * | getBuffer () |
| returns a pointer to the buffer that holds the stream memory | |
| virtual uint32 | read (unsigned char *bytesToRead, uint32 sizeOfBytes) |
| virtual void | read (Persistable *persistableObject) |
| virtual bool | isEOS () |
| void | readDict (Dictionary &dict) |
| void | readValue (XMLNode *valNode, VariantData &value) |
| void | readArray (XMLNode *arrayNode, VariantArray *array) |
| void | readDict (XMLNode *dictNode, Dictionary &dict) |
| virtual uint64 | getCurrentSeekPos () |
| this is a global offset from the beggining of the stream | |
Protected Attributes | |
| InputStream * | inStream_ |
Constructor & Destructor Documentation
|
|
|
Member Function Documentation
|
|
returns a pointer to the buffer that holds the stream memory
Reimplemented from VCF::BasicInputStream. |
|
|
this is a global offset from the beggining of the stream
Reimplemented from VCF::BasicInputStream. |
|
|
returns the size of the stream. The size represents the number of bytes that have been written, or read to/from the stream Reimplemented from VCF::BasicInputStream. |
|
|
Reimplemented from VCF::BasicInputStream. |
|
|
Reimplemented from VCF::InputStream. |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
we need to be able to attach the data to an Object class so that we can assign it to a VariantData instance, We need to create a new class for this, something like: class BinaryData : public Object { public: protected: unsigned char* buffer_; uint32 bufSize_; }; then we could do something like Dictionary dict; BinaryData* data = new BinaryData( jpegPictData, jpegPictSize ); dict["Picture"] = data; |
|
||||||||||||
|
Reimplemented from VCF::BasicInputStream. |
Member Data Documentation
|
|
Reimplemented from VCF::BasicInputStream. |
The documentation for this class was generated from the following file:
- vcf/FoundationKit/XMLDictInputStream.h
