RayZaler 0.1
The free opto-mechanical simulation framework
exprtk::rtl::io::file::details::file_descriptor Struct Reference

Public Member Functions

 file_descriptor (const std::string &fname, const std::string &access)
 
bool open ()
 
template<typename Stream , typename Ptr >
void close (Ptr &p)
 
bool close ()
 
template<typename View >
bool write (const View &view, const std::size_t amount, const std::size_t offset=0)
 
template<typename View >
bool read (View &view, const std::size_t amount, const std::size_t offset=0)
 
bool getline (std::string &s)
 
bool eof () const
 
file_mode get_file_mode (const std::string &access) const
 

Public Attributes

void * stream_ptr
 
file_mode mode
 
std::string file_name
 

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