Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Derived streambuf

Reply
Thread Tools

Derived streambuf

 
 
tryptik@gmail.com
Guest
Posts: n/a
 
      10-02-2006
All-

I have been looking at all the info I can find on deriving streambuf
objects, but I need some advice. I wish to derive a custom streambuf
that filters out c++ style comments. I have looked at the boost libs
and have attempted to impliment their filtered streambuf, but it does
not seemt o support seekg() and tellg() operations that I need.

My query is, are there any good refrerences for deriving a streambuf
that will work with stringstreams and filestreams? If one is to
override the streambuf's operators to filter out comments, which ones
would need to be re-written?

Thanks

-J

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
std::streambuf::setp and std::streambuf::epptr() Christopher Pisz C++ 2 12-12-2007 12:15 PM
Derived::Derived(const Base&) and Derived& operator=(const Base&) developereo@hotmail.com C++ 1 05-23-2007 01:44 PM
Derived::Derived(const Base&) developereo@hotmail.com C++ 4 05-23-2007 09:32 AM
Derived::Derived(const Base&) and Derived& operator=(const Base&) developereo@hotmail.com C++ 1 05-23-2007 12:07 AM
std::streambuf::setg & std::streambuf::setp success or not? Peter Jansson C++ 1 11-08-2004 01:55 AM



Advertisments