Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DetectorDescription
RegressionTest
src
TinyDom2.cc
Go to the documentation of this file.
1
#include "
DetectorDescription/RegressionTest/src/TinyDom2.h
"
2
3
using namespace
std;
4
5
void
TinyDom2PrettyPrint
(ostream & os ,
const
TinyDom2
&
dom
)
6
{
7
TinyDom2Walker
walker(dom);
8
// unsigned int level = 0;
9
//printTinyDom2(os, walker, level); // recursive
10
}
11
12
13
14
15
// void printTinyDom2(ostream & os, const TinyDom2Walker & w, unsigned int level)
16
// {
17
// string space(level,' ');
18
// os << space << "<" << w.current().first.str();
19
// if (w.firstChild()) {
20
// os << space << ">" << endl;
21
// ++level;
22
// printTinyDom2(os, w, level);
23
// --level
24
// os << space << "<" << w.current().first.str() << "/>" << endl;
25
// }
26
// else if (w.nextSibling()) {
27
// os << space << ">" << endl;
28
// //++level;
29
// printTinyDom2(os, w, level);
30
// //--level
31
// os << space << "<" << w.current().first.str() << "/>" << endl;
32
// }
33
// }
34
35
TinyDom2PrettyPrint
void TinyDom2PrettyPrint(ostream &os, const TinyDom2 &dom)
Definition:
TinyDom2.cc:5
TinyDom2.h
contentValuesFiles.dom
tuple dom
Definition:
contentValuesFiles.py:50
graph< Node2, AnotherDummy2 >
graphwalker
Definition:
graphwalker.h:13
Generated for CMSSW Reference Manual by
1.8.5