Diana Software
pkg
qroot
QTreeInfo.cc
Go to the documentation of this file.
1
#include "
QTreeInfo.hh
"
2
#include <iostream>
3
4
ClassImp
(
QTreeInfo
);
5
6
QTreeInfo::QTreeInfo
()
7
{
8
fType
= 0;
9
fSoftwareRevision
=
""
;
10
fVersionTag
=
"0"
;
11
fExtSWVersion
.clear();
12
}
13
14
void
QTreeInfo::PrintVersions
()
15
{
16
std::cout<<
"DIANA_SWREVISION: "
<<
fSoftwareRevision
<<std::endl;
17
std::cout<<
"DIANA_VERSIONTAG: "
<<
fVersionTag
<<std::endl;
18
std::map<std::string,std::string> ::const_iterator iter =
fExtSWVersion
.begin();
19
while
(iter !=
fExtSWVersion
.end())
20
{
21
std::cout<<iter->first<<
": "
<<iter->second<<std::endl;
22
iter++;
23
}
24
}
ClassImp
ClassImp(QTreeInfo)
QTreeInfo.hh
QTreeInfo
Definition:
QTreeInfo.hh:8
QTreeInfo::fVersionTag
std::string fVersionTag
Definition:
QTreeInfo.hh:15
QTreeInfo::PrintVersions
void PrintVersions()
Definition:
QTreeInfo.cc:14
QTreeInfo::fSoftwareRevision
std::string fSoftwareRevision
Definition:
QTreeInfo.hh:14
QTreeInfo::QTreeInfo
QTreeInfo()
Definition:
QTreeInfo.cc:6
QTreeInfo::fExtSWVersion
std::map< std::string, std::string > fExtSWVersion
Definition:
QTreeInfo.hh:16
QTreeInfo::fType
Int_t fType
Definition:
QTreeInfo.hh:13
Generated by
1.9.1