oops, Forgot to include the streambuf child class details.

class StoreEntryStreamBuf : public std::streambuf
{
public:
    StoreEntryStreamBuf(StoreEntry *anEntry) : anEntry(anEntry);
    ~StoreEntryStreamBuf();

protected:
    virtual char overflow(char aChar = traits_type::eof());
    virtual int sync();
    virtual std::streamsize xsputn(const char * chars, std::streamsize
number);

private:
    StoreEntry *anEntry;
};



Reply via email to