votca 2024.2-dev
|
Manipulates the format state of the output stream. More...
#include <propertyiomanipulator.h>
Public Types | |
enum | Type { XML , HLP , TXT } |
Public Member Functions | |
PropertyIOManipulator (Type type=XML, Index level=0, std::string indentation="", ColorSchemeBase *color_scheme=nullptr) | |
~PropertyIOManipulator () | |
const Type & | getType () |
void | setType (Type type) |
const Index & | getLevel () |
void | setLevel (Index level) |
const std::string & | getIndentation () |
void | setIndentation (std::string indentation) |
const ColorSchemeBase * | getColorScheme () |
template<typename T > | |
const ColorSchemeBase * | setColorScheme () |
Private Attributes | |
Type | type_ |
Index | level_ |
std::string | indentation_ |
ColorSchemeBase * | color_scheme_ |
Friends | |
std::ostream & | operator<< (std::ostream &os, PropertyIOManipulator &piom) |
Manipulates the format state of the output stream.
Changes the state of the output stream. Property class reads this state and formats its output according to this state (XML, TXT, etc)
Definition at line 34 of file propertyiomanipulator.h.
Enumerator | |
---|---|
XML | |
HLP | |
TXT |
Definition at line 37 of file propertyiomanipulator.h.
|
inlineexplicit |
Definition at line 39 of file propertyiomanipulator.h.
|
inline |
Definition at line 49 of file propertyiomanipulator.h.
|
inline |
Definition at line 62 of file propertyiomanipulator.h.
|
inline |
Definition at line 60 of file propertyiomanipulator.h.
|
inline |
Definition at line 58 of file propertyiomanipulator.h.
|
inline |
Definition at line 56 of file propertyiomanipulator.h.
|
inline |
Definition at line 70 of file propertyiomanipulator.h.
|
inline |
Definition at line 61 of file propertyiomanipulator.h.
|
inline |
Definition at line 59 of file propertyiomanipulator.h.
|
inline |
Definition at line 57 of file propertyiomanipulator.h.
|
friend |
Definition at line 50 of file propertyiomanipulator.h.
|
private |
Definition at line 82 of file propertyiomanipulator.h.
|
private |
Definition at line 81 of file propertyiomanipulator.h.
|
private |
Definition at line 80 of file propertyiomanipulator.h.
|
private |
Definition at line 79 of file propertyiomanipulator.h.