MAIA bb96820c
Multiphysics at AIA
|
Base class for all InfoOut<xyz> classes. More...
#include <infoout.h>
Public Member Functions | |
InfoOut () | |
virtual MBool | setRootOnly (MBool rootOnly=true)=0 |
MInt | addAttribute (std::pair< MString, MString >) |
Adds an attribute to the prefix of the XML string. More... | |
void | eraseAttribute (MInt) |
Erases an attribute from the prefix of the XML string. More... | |
void | modifyAttribute (MInt, std::pair< MString, MString >) |
Modifies an attribute of the prefix of the XML string. More... | |
Protected Attributes | |
InfoOut_buffer * | m_buffer = nullptr |
Friends | |
class | InfoOut_buffer |
This class is used to hold stream/buffer-independent methods. All InfoOut<xyz> subclasses inherit from this class. The auxiliary classes InfoOut_<xyz> (especially the buffers), however, should NOT have this class as their parent.
[in] | att | The attribute to add, consists of a pair of MStrings. |
Definition at line 38 of file infoout.cpp.
void InfoOut::eraseAttribute | ( | MInt | attId | ) |
[in] | attId | The ID of the attribute to delete. |
Definition at line 50 of file infoout.cpp.
[in] | attId | The ID of the attribute to modify. |
[in] | att | The new attribute to replace the old one, given by a pair of MStrings. |
Definition at line 62 of file infoout.cpp.
Implemented in InfoOutFile, and InfoOutStream.
|
friend |
|
protected |