35 #ifndef CARTOBASE_STREAM_ATTACHABLE_CUIFSTREAM_H
36 #define CARTOBASE_STREAM_ATTACHABLE_CUIFSTREAM_H
59 virtual void attach( std::istream & s,
int line_num = 1 );
70 std::istream *_attached;
Cette classe n'es là que parce que Dimitri ne voulait pas que je touche à sa belle classe cuifstream.
virtual bool is_open() const
Is the ifstream open?
virtual void destroy_buffers()
attachable_cuifstream(const char *name)
virtual bool operator!() const
Return the state of both associated streams.
virtual void init_buffers()
attachable_cuifstream(std::istream &s)
virtual void attach(std::istream &s, int line_num=1)
attach to an existing (and open) stream
virtual ~attachable_cuifstream()
Filtering ifstream - counts lines and skips comments.