28 #ifndef _PRINTTOOLS_H_
29 #define _PRINTTOOLS_H_ 1
39 namespace PrintTools {
54 typename std::vector<T>::const_iterator it = v.begin();
55 typename std::vector<T>::const_iterator last = v.end();
104 std::stringstream ss;
118 std::stringstream ss;
119 typename std::set<T>::const_iterator it = v.begin();
120 typename std::set<T>::const_iterator last = v.end();
136 LIndex nr,
size_t interval)
138 if(i % interval == 0&& i > interval)
140 std::cout << prefix <<
" "<< i <<
" of " << nr <<
" - "
141 << std::setprecision(4)
142 << ((double) i / nr) * 100