BOSS 7.0.9
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
5int main()
6{
7 int a=1,b=2,c=3,d=4,e=5;
8
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";
18for(int i=0;i<aa.length();i++)std::cout<<*aa[i]<<"\n";
19int *p;
20while(p = it())std::cout<<*p<<"\n";
21return 0;
22}
const double b
Definition: slope.cxx:9