Skip to content

GenApi::ODevFileStreamBase#

More…

Inherits from std::basic_ostream< CharType, Traits >

Public Functions#

Name
void open(GenApi::INodeMap * pInterface, const char * pFileName, std::ios_base::openmode mode =std::ios_base::out
void close()
Close the file on device.

Detailed Description#

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

Public Functions Documentation#

function open#

inline void open(
    GenApi::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.

Parameters:

  • pInterface NodeMap of the device to which the FileProtocolAdapter is attached
  • pFileName Name of the file to open
  • mode open mode

function close#

inline void close()

Close the file on device.