Skip to content

GenApi::IDevFileStreamBase#

More…

Inherits from std::basic_istream< CharType, Traits >

Public Types#

Name
typedef IDevFileStreamBuf< CharType, Traits > filebuf_type
typedef std::basic_ios< CharType, Traits > ios_type
typedef std::basic_istream< CharType, Traits > istream_type

Public Functions#

Name
IDevFileStreamBase()
IDevFileStreamBase(GenApi::INodeMap * pInterface, const char * pFileName, std::ios_base::openmode mode =std::ios_base::in)
filebuf_type * rdbuf() const
bool is_open() const
void open(GenApi::INodeMap * pInterface, const char * pFileName, std::ios_base::openmode mode =std::ios_base::in)
void close()
Close the file on the device.

Detailed Description#

template <typename CharType ,
typename Traits >
class GenApi::IDevFileStreamBase;

Public Types Documentation#

typedef filebuf_type#

typedef IDevFileStreamBuf<CharType, Traits> GenApi::IDevFileStreamBase< CharType, Traits >::filebuf_type;

typedef ios_type#

typedef std::basic_ios<CharType, Traits> GenApi::IDevFileStreamBase< CharType, Traits >::ios_type;

typedef istream_type#

typedef std::basic_istream<CharType, Traits> GenApi::IDevFileStreamBase< CharType, Traits >::istream_type;

Public Functions Documentation#

IDevFileStreamBase#

inline IDevFileStreamBase()

IDevFileStreamBase#

inline IDevFileStreamBase(
    GenApi::INodeMap * pInterface,
    const char * pFileName,
    std::ios_base::openmode mode =std::ios_base::in
)

rdbuf#

inline filebuf_type * rdbuf() const

is_open#

inline bool is_open() const

open#

inline void open(
    GenApi::INodeMap * pInterface,
    const char * pFileName,
    std::ios_base::openmode mode =std::ios_base::in
)

close#

inline void close()

Close the file on the device.


Updated on 5 July 2022 at 15:30:00