Main MRPT website > C++ reference for MRPT 1.5.3
List of all members | Public Member Functions | Public Attributes
exprtk::rtl::io::file::details::file_descriptor Struct Reference

Detailed Description

Definition at line 36054 of file exprtk.hpp.

#include <mrpt/otherlibs/exprtk.hpp>

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 ()
 
file_mode get_file_mode (const std::string &access)
 

Public Attributes

void * stream_ptr
 
file_mode mode
 
std::string file_name
 

Constructor & Destructor Documentation

◆ file_descriptor()

exprtk::rtl::io::file::details::file_descriptor::file_descriptor ( const std::string &  fname,
const std::string &  access 
)
inline

Definition at line 36056 of file exprtk.hpp.

Member Function Documentation

◆ close() [1/2]

template<typename Stream , typename Ptr >
void exprtk::rtl::io::file::details::file_descriptor::close ( Ptr &  p)
inline

Definition at line 36121 of file exprtk.hpp.

Referenced by exprtk::rtl::io::file::close< T >::operator()().

◆ close() [2/2]

bool exprtk::rtl::io::file::details::file_descriptor::close ( )
inline

◆ eof()

bool exprtk::rtl::io::file::details::file_descriptor::eof ( )
inline

◆ get_file_mode()

file_mode exprtk::rtl::io::file::details::file_descriptor::get_file_mode ( const std::string &  access)
inline

◆ getline()

bool exprtk::rtl::io::file::details::file_descriptor::getline ( std::string &  s)
inline

◆ open()

bool exprtk::rtl::io::file::details::file_descriptor::open ( )
inline

◆ read()

template<typename View >
bool exprtk::rtl::io::file::details::file_descriptor::read ( View &  view,
const std::size_t  amount,
const std::size_t  offset = 0 
)
inline

◆ write()

template<typename View >
bool exprtk::rtl::io::file::details::file_descriptor::write ( const View &  view,
const std::size_t  amount,
const std::size_t  offset = 0 
)
inline

Member Data Documentation

◆ file_name

std::string exprtk::rtl::io::file::details::file_descriptor::file_name

Definition at line 36064 of file exprtk.hpp.

◆ mode

file_mode exprtk::rtl::io::file::details::file_descriptor::mode

Definition at line 36063 of file exprtk.hpp.

◆ stream_ptr

void* exprtk::rtl::io::file::details::file_descriptor::stream_ptr

Definition at line 36062 of file exprtk.hpp.




Page generated by Doxygen 1.8.13 for MRPT 1.5.3 at Tue Oct 31 07:27:35 UTC 2017