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