Definition in file VectorHelper.h.
#include <config.h>
#include <vector>
#include <algorithm>
#include <iostream>
Go to the source code of this file.
Data Structures | |
| class | VectorHelper< T > |
Typedefs | |
| typedef std::vector< bool > | BoolVector |
| typedef std::vector< SUMOReal > | DoubleVector |
| typedef std::vector< int > | IntVector |
| Definition of a vector of unsigned ints. | |
Functions | |
| template<class T> | |
| std::ostream & | operator<< (std::ostream &os, const std::vector< T > &v) |
| typedef std::vector<bool> BoolVector |
Definition at line 40 of file VectorHelper.h.
| typedef std::vector<SUMOReal> DoubleVector |
Definition at line 41 of file VectorHelper.h.
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const std::vector< T > & | v | |||
| ) | [inline] |
Definition at line 164 of file VectorHelper.h.
00164 { 00165 for (typename std::vector<T>::const_iterator i=v.begin(); i!=v.end(); i++) { 00166 if (i!=v.begin()) { 00167 os << ", "; 00168 } 00169 os << (*i); 00170 } 00171 return os; 00172 }
1.5.6