PulseView  unreleased development snapshot
A Qt-based sigrok GUI
exprtk::rtl::io::file::details::file_descriptor Struct Reference

#include <exprtk.hpp>

Collaboration diagram for exprtk::rtl::io::file::details::file_descriptor:

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
 

Detailed Description

Definition at line 37382 of file exprtk.hpp.

Constructor & Destructor Documentation

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

Definition at line 37384 of file exprtk.hpp.

Member Function Documentation

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

Definition at line 37449 of file exprtk.hpp.

Here is the caller graph for this function:

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

Definition at line 37457 of file exprtk.hpp.

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

Definition at line 37524 of file exprtk.hpp.

Here is the caller graph for this function:

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

Definition at line 37535 of file exprtk.hpp.

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

Definition at line 37514 of file exprtk.hpp.

Here is the caller graph for this function:

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

Definition at line 37394 of file exprtk.hpp.

Here is the caller graph for this function:

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

Definition at line 37496 of file exprtk.hpp.

Here is the caller graph for this function:

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

Definition at line 37477 of file exprtk.hpp.

Here is the caller graph for this function:

Member Data Documentation

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

Definition at line 37392 of file exprtk.hpp.

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

Definition at line 37391 of file exprtk.hpp.

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

Definition at line 37390 of file exprtk.hpp.


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