scram::xml::detail::FileStream
Adaptor for stdio FILE stream with write generic interface. More...
#include <xml_stream.h>
Public Functions
| Name | |
|---|---|
| void | write(const std::string & value)<br>Writes a value into file. |
| void | write(const char * value) |
| void | write(const char value) |
| void | write(int value) |
| void | write(std::size_t value) |
| void | write(double value) |
| FileStream(std::FILE * file) | |
| std::FILE * | file() |
Detailed Description
cpp
class scram::xml::detail::FileStream;Adaptor for stdio FILE stream with write generic interface.
Note: Write operations do not return any error code or throw exceptions. If any IO errors happen, the FILE handler contains the error information.
Public Functions Documentation
function write
cpp
inline void write(
const std::string & value
)Writes a value into file.
function write
cpp
inline void write(
const char * value
)function write
cpp
inline void write(
const char value
)function write
cpp
inline void write(
int value
)function write
cpp
inline void write(
std::size_t value
)function write
cpp
inline void write(
double value
)function FileStream
cpp
inline explicit FileStream(
std::FILE * file
)Parameters:
- file The output file stream.
function file
cpp
inline std::FILE * file()Return: The destination file stream.
Updated on 2025-11-11 at 16:51:08 +0000
