souffle  2.0.2-371-g6315b36
Public Member Functions
souffle::gzfstream::igzfstream Class Reference

#include <gzfstream.h>

Inheritance diagram for souffle::gzfstream::igzfstream:
Inheritance graph
Collaboration diagram for souffle::gzfstream::igzfstream:
Collaboration graph

Public Member Functions

 igzfstream ()
 
 igzfstream (const igzfstream &)=delete
 
 igzfstream (const std::string &filename, std::ios_base::openmode mode=std::ios::in)
 
 igzfstream (igzfstream &&)=delete
 
void open (const std::string &filename, std::ios_base::openmode mode=std::ios::in)
 
internal::gzfstreambufrdbuf () const
 
- Public Member Functions inherited from souffle::gzfstream::internal::gzfstream
void close ()
 
 gzfstream ()
 
 gzfstream (const gzfstream &)=delete
 
 gzfstream (const std::string &filename, std::ios_base::openmode mode)
 
 gzfstream (gzfstream &&)=delete
 
bool is_open ()
 
void open (const std::string &filename, std::ios_base::openmode mode)
 
gzfstreambufrdbuf () const
 
 ~gzfstream () override=default
 

Additional Inherited Members

- Protected Attributes inherited from souffle::gzfstream::internal::gzfstream
gzfstreambuf buf
 

Detailed Description

Definition at line 203 of file gzfstream.h.

Constructor & Destructor Documentation

◆ igzfstream() [1/4]

souffle::gzfstream::igzfstream::igzfstream ( )
inline

Definition at line 205 of file gzfstream.h.

◆ igzfstream() [2/4]

souffle::gzfstream::igzfstream::igzfstream ( const std::string &  filename,
std::ios_base::openmode  mode = std::ios::in 
)
inlineexplicit

Definition at line 207 of file gzfstream.h.

208  {

References souffle::gzfstream::internal::gzfstream::open().

Here is the call graph for this function:

◆ igzfstream() [3/4]

souffle::gzfstream::igzfstream::igzfstream ( const igzfstream )
delete

◆ igzfstream() [4/4]

souffle::gzfstream::igzfstream::igzfstream ( igzfstream &&  )
delete

Member Function Documentation

◆ open()

void souffle::gzfstream::igzfstream::open ( const std::string &  filename,
std::ios_base::openmode  mode = std::ios::in 
)
inline

Definition at line 218 of file gzfstream.h.

218  : internal::gzfstream(filename, mode), std::ostream(&buf) {}
219 
220  ogzfstream(const ogzfstream&) = delete;

◆ rdbuf()

internal::gzfstreambuf* souffle::gzfstream::igzfstream::rdbuf ( ) const
inline

Definition at line 214 of file gzfstream.h.

214  :
215  ogzfstream() : std::ostream(&buf) {}
216 

The documentation for this class was generated from the following file:
souffle::gzfstream::internal::gzfstream::buf
gzfstreambuf buf
Definition: gzfstream.h:203
std
Definition: Brie.h:3053