Type definition of old meta data.
More...
#include <JMeta.hh>
Type definition of old meta data.
Definition at line 413 of file JMeta.hh.
JSUPPORT::JMeta::operator JComment_t |
( |
| ) |
const |
|
inlineinherited |
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);
std::vector< std::string > JComment_t
Type definition of comment block.
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 395 of file JMeta.hh.
399 JRootFileReader<JMeta>
in(file_name);
401 while (
in.hasNext()) {
bool putObject(TDirectory *dir, const JMeta &meta)
Write meta data to ROOT directory.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in
Get equation parameters.
- Returns
- equation parameters
Definition at line 149 of file JMeta.hh.
151 static const JEquationParameters
parameters(
"=",
"\n",
"",
"");
*fatal Wrong number of arguments esac JCookie sh typeset Z DETECTOR typeset Z SOURCE_RUN typeset Z TARGET_RUN set_variable PARAMETERS_FILE $WORKDIR parameters
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();
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 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);
JLANG::JEquationFacet setequation
Type definition of stream manipulator for equational I/O.
The documentation for this struct was generated from the following file: