BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcRecoUtil/test/test.cxx
Go to the documentation of this file.
1
#include "MdcRecoUtil/AIterator.h"
2
#include "MdcRecoUtil/AList.h"
3
#include <iostream>
4
5
int
main
() {
6
int
a = 1, b = 2, c = 3, d = 4, e = 5;
7
8
HepAList<int>
aa;
9
HepAListIterator<int> it( aa );
10
11
aa.append( &a );
12
aa.append( &b );
13
aa.append( &c );
14
aa.append( &d );
15
aa.append( &e );
16
std::cout << aa.length() <<
"\n"
;
17
for
(
int
i = 0; i < aa.length(); i++ ) std::cout << *aa[i] <<
"\n"
;
18
int
* p;
19
while
( p = it() ) std::cout << *p <<
"\n"
;
20
return
0;
21
}
main
int main()
Definition
Reconstruction/MdcPatRec/MdcRecoUtil/test/test.cxx:5
HepAList
Definition
InstallArea/x86_64-el9-gcc13-dbg/include/MdcTrkRecon/MdcSegGrouper.h:31
8.0.0
BOSS_Source
Reconstruction
MdcPatRec
MdcRecoUtil
test
test.cxx
Generated by
1.16.1