BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcRecoUtil/MdcRecoUtil-00-01-08/test/test.cxx File Reference
#include "MdcRecoUtil/AList.h"
#include "MdcRecoUtil/AIterator.h"
#include <iostream>

Go to the source code of this file.

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )

Definition at line 5 of file Reconstruction/MdcPatRec/MdcRecoUtil/MdcRecoUtil-00-01-08/test/test.cxx.

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