SDSL 3.0.1
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 (const std::string &file, std::ios_base::openmode mode=std::ios_base::in)
 Constructor taking a file name and open mode.
 
buf_ptr_type open (const std::string &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 168 of file sfstream.hpp.

Member Typedef Documentation

◆ voidptr

typedef void* sdsl::isfstream::voidptr

Definition at line 177 of file sfstream.hpp.

Constructor & Destructor Documentation

◆ isfstream() [1/2]

sdsl::isfstream::isfstream ( )
inline

Standard constructor.

Definition at line 179 of file sfstream.hpp.

◆ isfstream() [2/2]

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

Constructor taking a file name and open mode.

Definition at line 186 of file sfstream.hpp.

◆ ~isfstream()

sdsl::isfstream::~isfstream ( )
inline

Standard destructor.

Definition at line 249 of file sfstream.hpp.

Member Function Documentation

◆ close()

void sdsl::isfstream::close ( )
inline

Close the stream.

Definition at line 233 of file sfstream.hpp.

◆ is_open()

bool sdsl::isfstream::is_open ( )
inline

Is the stream close?

Definition at line 222 of file sfstream.hpp.

◆ open()

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

Open the stream.

Definition at line 194 of file sfstream.hpp.

◆ operator voidptr()

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

Cast to void*.

Definition at line 252 of file sfstream.hpp.

◆ seekg() [1/2]

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

Definition at line 280 of file sfstream.hpp.

◆ seekg() [2/2]

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

Definition at line 257 of file sfstream.hpp.

◆ tellg()

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

Definition at line 303 of file sfstream.hpp.


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