#include <Xml.h>
|
| | XMLWriter (string path, std::optional< size_t > restart_location={}) |
| |
| void | header (int dimension, string input) |
| |
| void | writeTs (double ts, tuple< string, vector< vector< double >> *, ArrayType > a) |
| |
| void | startTS (double ts) |
| |
| void | writeArray (string name, vector< vector< double >> *x, int beg, int length, ArrayType t, EncodingType te=EncodingType::ascii) |
| |
| void | writeArray (string name, std::vector< std::vector< double > > *x, ArrayType t, EncodingType te=EncodingType::ascii) |
| |
| void | writeArray (string name, std::vector< double > *x, ArrayType t, EncodingType te=EncodingType::ascii) |
| |
| void | stopTS () |
| |
| void | close () |
| |
| void | emergencyclose () |
| |
| streamoff | get_file_location () |
| |
| void | openbranch (string name, vector< pair< string, string >> attributes) |
| |
| void | openbranch (string name) |
| |
| template<class T > |
| void | smallbranch (string name, T value) |
| |
| template<class T > |
| void | smallbranch (string name, vector< pair< string, string >> attributes, T value) |
| |
| bool | closebranch () |
| |
| template<class Archive > |
| void | save (Archive &ar) const |
| |
| template<class Archive > |
| void | load (Archive &ar) |
| |
◆ XMLWriter()
| XMLWriter::XMLWriter |
( |
string |
path, |
|
|
std::optional< size_t > |
restart_location = {} |
|
) |
| |
|
inline |
◆ close()
| void XMLWriter::close |
( |
| ) |
|
◆ closebranch()
| bool XMLWriter::closebranch |
( |
| ) |
|
◆ emergencyclose()
| void XMLWriter::emergencyclose |
( |
| ) |
|
◆ encodebase64f()
| int XMLWriter::encodebase64f |
( |
ostream & |
out, |
|
|
vector< double > & |
val |
|
) |
| |
|
private |
◆ encodebase64f_end()
| void XMLWriter::encodebase64f_end |
( |
ostream & |
out | ) |
|
|
inlineprivate |
◆ get_file_location()
| streamoff XMLWriter::get_file_location |
( |
| ) |
|
|
inline |
◆ header()
| void XMLWriter::header |
( |
int |
dimension, |
|
|
string |
input |
|
) |
| |
◆ load()
template<class Archive >
| void XMLWriter::load |
( |
Archive & |
ar | ) |
|
|
inline |
◆ openbranch() [1/2]
| void XMLWriter::openbranch |
( |
string |
name | ) |
|
|
inline |
◆ openbranch() [2/2]
| void XMLWriter::openbranch |
( |
string |
name, |
|
|
vector< pair< string, string >> |
attributes |
|
) |
| |
◆ quote()
| string XMLWriter::quote |
( |
string |
a | ) |
|
|
inlineprivate |
◆ save()
template<class Archive >
| void XMLWriter::save |
( |
Archive & |
ar | ) |
const |
|
inline |
◆ smallbranch() [1/2]
template<class T >
| void XMLWriter::smallbranch |
( |
string |
name, |
|
|
T |
value |
|
) |
| |
◆ smallbranch() [2/2]
template<class T >
| void XMLWriter::smallbranch |
( |
string |
name, |
|
|
vector< pair< string, string >> |
attributes, |
|
|
T |
value |
|
) |
| |
◆ startTS()
| void XMLWriter::startTS |
( |
double |
ts | ) |
|
◆ stopTS()
| void XMLWriter::stopTS |
( |
| ) |
|
◆ writeArray() [1/3]
◆ writeArray() [2/3]
◆ writeArray() [3/3]
◆ writeTs()
| void XMLWriter::writeTs |
( |
double |
ts, |
|
|
tuple< string, vector< vector< double >> *, ArrayType > |
a |
|
) |
| |
◆ fic
◆ hierarchy
| stack<string> XMLWriter::hierarchy |
|
private |
◆ index_loc
| vector<std::streamoff> XMLWriter::index_loc |
|
private |
◆ index_ts
| vector<double> XMLWriter::index_ts |
|
private |
◆ remainer
| unsigned char XMLWriter::remainer =0 |
|
private |
◆ state
| unsigned char XMLWriter::state =0 |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/NDDEM/NDDEM/src/Dem/Xml.h
- /home/runner/work/NDDEM/NDDEM/src/Dem/Xml.cpp