ini-cpp
Static Public Member Functions | List of all members
inih::INIWriter Class Reference

Static Public Member Functions

static void write (const std::string &filepath, const INIReader &reader)
 Write the contents of an INI file to a new file. More...
 

Member Function Documentation

◆ write()

static void inih::INIWriter::write ( const std::string &  filepath,
const INIReader reader 
)
inlinestatic

Write the contents of an INI file to a new file.

Parameters
filepathThe path of the output file
readerThe INIReader object to write to the file
Exceptions
std::runtime_errorif the output file already exists or cannot be opened

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