OGS
BaseLib::IO::XMLInterface Struct Referenceabstract

Detailed Description

Base class for writing any information to and from XML files.

Definition at line 28 of file XMLInterface.h.

#include <XMLInterface.h>

Inheritance diagram for BaseLib::IO::XMLInterface:
[legend]
Collaboration diagram for BaseLib::IO::XMLInterface:
[legend]

Public Member Functions

virtual bool readFile (std::string const &fname)=0
Public Member Functions inherited from BaseLib::IO::Writer
 Writer ()
virtual ~Writer ()=default
std::string writeToString ()
 Writes the object to a string.

Public Attributes

std::string export_name = {}

Additional Inherited Members

Protected Member Functions inherited from BaseLib::IO::Writer
virtual bool write ()=0
 Writes the object to the internal stream. This method must be implemented by a subclass. The implementation should return true on success, else false.
Protected Attributes inherited from BaseLib::IO::Writer
std::ostringstream out
 The stream to write to.

Member Function Documentation

◆ readFile()

virtual bool BaseLib::IO::XMLInterface::readFile ( std::string const & fname)
pure virtual

Member Data Documentation

◆ export_name


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