#include <Filestream.h>
Public Types | |
typedef ODevFileStreamBuf < CharType, Traits > | filebuf_type |
typedef std::basic_ios < CharType, Traits > | ios_type |
typedef std::basic_ostream < CharType, Traits > | ostream_type |
Public Member Functions | |
void | close () |
Close the file on device. | |
bool | is_open () const |
void | open (GENAPI_NAMESPACE::INodeMap *pInterface, const char *pFileName, std::ios_base::openmode mode=std::ios_base::out|std::ios_base::trunc) |
Open file on device in write mode. | |
filebuf_type * | rdbuf () const |
Private Attributes | |
filebuf_type | m_streambuf |
Definition at line 563 of file Filestream.h.
typedef ODevFileStreamBuf<CharType, Traits> GENAPI_NAMESPACE::ODevFileStreamBase< CharType, Traits >::filebuf_type |
Definition at line 567 of file Filestream.h.
typedef std::basic_ios<CharType, Traits> GENAPI_NAMESPACE::ODevFileStreamBase< CharType, Traits >::ios_type |
Definition at line 568 of file Filestream.h.
typedef std::basic_ostream<CharType, Traits> GENAPI_NAMESPACE::ODevFileStreamBase< CharType, Traits >::ostream_type |
Definition at line 569 of file Filestream.h.
void GENAPI_NAMESPACE::ODevFileStreamBase< CharType, Traits >::close | ( | ) | [inline] |
Close the file on device.
Definition at line 643 of file Filestream.h.
bool GENAPI_NAMESPACE::ODevFileStreamBase< CharType, Traits >::is_open | ( | ) | const [inline] |
Definition at line 616 of file Filestream.h.
void GENAPI_NAMESPACE::ODevFileStreamBase< CharType, Traits >::open | ( | GENAPI_NAMESPACE::INodeMap * | pInterface, |
const char * | pFileName, | ||
std::ios_base::openmode | mode = std::ios_base::out | std::ios_base::trunc |
||
) | [inline] |
Open file on device in write mode.
pInterface | NodeMap of the device to which the FileProtocolAdapter is attached |
pFileName | Name of the file to open |
mode | open mode |
Definition at line 629 of file Filestream.h.
filebuf_type* GENAPI_NAMESPACE::ODevFileStreamBase< CharType, Traits >::rdbuf | ( | ) | const [inline] |
Definition at line 608 of file Filestream.h.
filebuf_type GENAPI_NAMESPACE::ODevFileStreamBase< CharType, Traits >::m_streambuf [private] |
Definition at line 572 of file Filestream.h.