iftext Class Reference

Ratpac-two: iftext Class Reference
Ratpac-two
Inheritance diagram for iftext:
itext

Public Member Functions

 iftext (FILE *handle)
 
 iftext (const char *filename, size_t bufsize=preferred_buffer)
 
 iftext (const std::string &filename, size_t bufsize=preferred_buffer)
 
void open (FILE *handle)
 
void open (const char *filename, size_t bufsize=preferred_buffer)
 
void open (const std::string &filename, size_t bufsize=preferred_buffer)
 
 operator FILE * (void)
 
- Public Member Functions inherited from itext
 itext (ibuff *)
 
bool initialised (void) const
 
void open (ibuff *)
 
void close (void)
 
 itext (const itext &)
 
itextoperator= (const itext &)
 
bool error (void) const
 
int error_number (void) const
 
std::string error_string (void) const
 
void set_error (int error)
 
void clear_error (void)
 
void set_newline_mode (newline_t newline=convert_mode)
 
void set_convert_mode (void)
 
void set_binary_mode (void)
 
newline_t newline_mode (void) const
 
bool is_convert_mode (void)
 
bool is_binary_mode (void)
 
bool eof (void)
 
bool eoln (void)
 
int peek (void)
 
int get (void)
 
unsigned long bytes (void) const
 
unsigned line (void) const
 
unsigned column (void) const
 
bool good (void)
 
 operator bool (void)
 
bool operator! (void)
 
itextoperator>> (char &)
 
itextoperator>> (signed char &)
 
itextoperator>> (unsigned char &)
 
itextoperator>> (std::string &)
 
bool getline (std::string &line)
 
itextoperator>> (std::vector< std::string > &)
 
itextoperator>> (bool &)
 
itextoperator>> (short &)
 
itextoperator>> (unsigned short &)
 
itextoperator>> (int &)
 
itextoperator>> (unsigned int &)
 
itextoperator>> (long &)
 
itextoperator>> (unsigned long &)
 
itextoperator>> (float &)
 
itextoperator>> (double &)
 
itextoperator>> (manipulator_function)
 
itextoperator>> (otext &)
 

Static Public Attributes

static size_t preferred_buffer = 4096
 

Additional Inherited Members

- Public Types inherited from itext
enum  newline_t { binary_mode , convert_mode }
 
typedef void(* manipulator_function) (itext &)
 
- Protected Attributes inherited from itext
ibuffm_buffer
 

The documentation for this class was generated from the following files:
  • /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/external/stlplus/include/stlplus/fileio.hpp
  • /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/external/stlplus/src/fileio.cc