SDSL 3.0.3
Succinct Data Structure Library
Loading...
Searching...
No Matches
sdsl::isfstream Class Reference

#include <sfstream.hpp>

Inheritance diagram for sdsl::isfstream:

Public Types

typedef void * voidptr
 

Public Member Functions

 isfstream ()
 Standard constructor.
 
 isfstream (std::string const &file, std::ios_base::openmode mode=std::ios_base::in)
 Constructor taking a file name and open mode.
 
buf_ptr_type open (std::string const &file, std::ios_base::openmode mode=std::ios_base::in)
 Open the stream.
 
bool is_open ()
 Is the stream close?
 
void close ()
 Close the stream.
 
 ~isfstream ()
 Standard destructor.
 
 operator voidptr () const
 Cast to void*.
 
isfstreamseekg (pos_type pos)
 
isfstreamseekg (off_type off, ios_base::seekdir way)
 
std::streampos tellg ()
 

Detailed Description

Definition at line 194 of file sfstream.hpp.

Member Typedef Documentation

◆ voidptr

typedef void* sdsl::isfstream::voidptr

Definition at line 203 of file sfstream.hpp.

Constructor & Destructor Documentation

◆ isfstream() [1/2]

sdsl::isfstream::isfstream ( )
inline

Standard constructor.

Definition at line 205 of file sfstream.hpp.

◆ isfstream() [2/2]

sdsl::isfstream::isfstream ( std::string const & file,
std::ios_base::openmode mode = std::ios_base::in )
inline

Constructor taking a file name and open mode.

Definition at line 211 of file sfstream.hpp.

◆ ~isfstream()

sdsl::isfstream::~isfstream ( )
inline

Standard destructor.

Definition at line 287 of file sfstream.hpp.

Member Function Documentation

◆ close()

void sdsl::isfstream::close ( )
inline

Close the stream.

Definition at line 264 of file sfstream.hpp.

◆ is_open()

bool sdsl::isfstream::is_open ( )
inline

Is the stream close?

Definition at line 249 of file sfstream.hpp.

◆ open()

buf_ptr_type sdsl::isfstream::open ( std::string const & file,
std::ios_base::openmode mode = std::ios_base::in )
inline

Open the stream.

Definition at line 218 of file sfstream.hpp.

◆ operator voidptr()

sdsl::isfstream::operator voidptr ( ) const
inline

Cast to void*.

Definition at line 293 of file sfstream.hpp.

◆ seekg() [1/2]

isfstream & sdsl::isfstream::seekg ( off_type off,
ios_base::seekdir way )
inline

Definition at line 330 of file sfstream.hpp.

◆ seekg() [2/2]

isfstream & sdsl::isfstream::seekg ( pos_type pos)
inline

Definition at line 298 of file sfstream.hpp.

◆ tellg()

std::streampos sdsl::isfstream::tellg ( )
inline

Definition at line 362 of file sfstream.hpp.


The documentation for this class was generated from the following file: