Type definition of old meta data.
More...
#include <JMeta.hh>
Type definition of old meta data.
Definition at line 439 of file JMeta.hh.
◆ operator JComment_t()
Type conversion operator.
- Returns
- comment
Definition at line 123 of file JMeta.hh.
127 for (const_iterator i = this->begin(); i != this->end(); ++i) {
128 comment.push_back(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 421 of file JMeta.hh.
427 while (in.hasNext()) {
429 const JMeta* p = in.next();
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
bool putObject(TDirectory &dir, const JMeta &meta)
Write meta data to ROOT directory.
◆ getEquationParameters()
Get equation parameters.
- Returns
- equation parameters
Definition at line 149 of file JMeta.hh.
Simple data structure to support I/O of equations (see class JLANG::JEquation).
◆ valueOf()
static JMeta JSUPPORT::JMeta::valueOf |
( |
const std::string & |
buffer | ) |
|
|
inlinestaticinherited |
Extract meta data.
- Parameters
-
- Returns
- meta data
Definition at line 163 of file JMeta.hh.
170 istringstream is(buffer);
174 for (
JEquation equation; is >> equation; ) {
175 meta[equation.getKey()] = equation.getValue();
General purpose equation class.
JLANG::JEquationFacet setequation
Type definition of stream manipulator for equational I/O.
◆ toString()
std::string JSUPPORT::JMeta::toString |
( |
| ) |
const |
|
inlineinherited |
Convert meta data to string.
- Returns
- string
Definition at line 187 of file JMeta.hh.
196 for (JMeta::const_iterator i = this->begin(); i != this->end(); ++i) {
197 os << JEquation::make_equation(i->first, i->second);
The documentation for this struct was generated from the following file: