Type definition of old meta data.
More...
#include <JMeta.hh>
Type definition of old meta data.
Definition at line 414 of file JMeta.hh.
◆ operator JComment()
JSUPPORT::JMeta::operator JComment |
( |
| ) |
const |
|
inlineinherited |
Type conversion operator.
- Returns
- comment
Definition at line 124 of file JMeta.hh.
128 for (const_iterator i = this->begin(); i != this->end(); ++i) {
129 comment.add(i->first +
' ' + i->second);
◆ copy()
void JSUPPORT::JMeta::copy |
( |
const char *const |
file_name, |
|
|
TFile & |
out |
|
) |
| |
|
staticinherited |
Copy meta data.
- Parameters
-
file_name | name of input file |
out | output file |
Definition at line 396 of file JMeta.hh.
400 JRootFileReader<JMeta> in(file_name);
402 while (in.hasNext()) {
404 const JMeta* p = in.next();
◆ getEquationParameters()
Get equation parameters.
- Returns
- equation parameters
Definition at line 150 of file JMeta.hh.
152 static const JEquationParameters parameters(
"=",
"\n",
"",
"");
◆ valueOf()
static JMeta JSUPPORT::JMeta::valueOf |
( |
const std::string & |
buffer | ) |
|
|
inlinestaticinherited |
Extract meta data.
- Parameters
-
- Returns
- meta data
Definition at line 164 of file JMeta.hh.
171 istringstream is(buffer);
175 for (JEquation equation; is >> equation; ) {
176 meta[equation.getKey()] = equation.getValue();
◆ toString()
std::string JSUPPORT::JMeta::toString |
( |
| ) |
const |
|
inlineinherited |
Convert meta data to string.
- Returns
- string
Definition at line 188 of file JMeta.hh.
197 for (JMeta::const_iterator i = this->begin(); i != this->end(); ++i) {
198 os << JEquation::make_equation(i->first, i->second);
The documentation for this struct was generated from the following file: