1 #ifndef DocStringManager_h 2 #define DocStringManager_h 6 #include "DocString.hxx" 7 #include <HLClonesArray.hxx> 29 void DocumentVar(
const std::string& tree,
const std::string& name,
const std::string& doc,
const std::string& type,
int size1,
const std::string& counter1,
int size2,
const std::string& counter2,
int size3,
const std::string& counter3) {
30 DocString* newdoc =
new((*_objects)[
_NObjects++])
DocString(tree, name, doc, type, size1, counter1, size2, counter2, size3, counter3);
31 _docStrings.push_back(newdoc);
40 void ExplainVar(
const std::string& name,
const std::string& tree_name);
43 void ListVars(
const std::string& tree_name);
47 std::vector<DocString*> _docStrings;
void DocumentVar(const std::string &tree, const std::string &name, const std::string &doc, const std::string &type, int size1, const std::string &counter1, int size2, const std::string &counter2, int size3, const std::string &counter3)
void ExplainVar(const std::string &name, const std::string &tree_name)
Print the details of the specified variable in the given tree.
void ListVars(const std::string &tree_name)
List all the variables that were stored in this tree.
Int_t _NObjects
The number of steps that were added.
void ReadDocStrings(const std::string &file)