Type definition of old meta data.
More...
#include <JMeta.hh>
Type definition of old meta data.
Definition at line 418 of file JMeta.hh.
JSUPPORT::JMeta::operator JComment |
( |
| ) |
const |
|
inlineinherited |
Type conversion operator.
- Returns
- comment
Definition at line 128 of file JMeta.hh.
132 for (const_iterator i = this->begin(); i != this->end(); ++i) {
133 comment.add(i->first +
' ' + i->second);
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 400 of file JMeta.hh.
404 JRootFileReader<JMeta> in(file_name);
406 while (in.hasNext()) {
408 const JMeta* p = in.next();
bool putObject(TDirectory *dir, const JMeta &meta)
Write meta data to ROOT directory.
Get equation parameters.
- Returns
- equation parameters
Definition at line 154 of file JMeta.hh.
156 static const JEquationParameters parameters(
"=",
"\n",
"",
"");
static JMeta JSUPPORT::JMeta::valueOf |
( |
const std::string & |
buffer | ) |
|
|
inlinestaticinherited |
Extract meta data.
- Parameters
-
- Returns
- meta data
Definition at line 168 of file JMeta.hh.
175 istringstream is(buffer);
179 for (JEquation equation; is >> equation; ) {
180 meta[equation.getKey()] = equation.getValue();
JLANG::JEquationFacet setequation
Type definition of stream manipulator for equational I/O.
std::string JSUPPORT::JMeta::toString |
( |
| ) |
const |
|
inlineinherited |
Convert meta data to string.
- Returns
- string
Definition at line 192 of file JMeta.hh.
201 for (JMeta::const_iterator i = this->begin(); i != this->end(); ++i) {
202 os << JEquation::make_equation(i->first, i->second);
JLANG::JEquationFacet setequation
Type definition of stream manipulator for equational I/O.
The documentation for this struct was generated from the following file: