12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- #ifndef _VECTORIO_H_
- #define _VECTORIO_H_
- #include <iostream>
- #include <vector>
- namespace NICE {
- template<class T>
- std::ostream& operator << ( std::ostream& output, const std::vector<T>& v );
- template<class T>
- void writeVectorHumanReadable ( std::ostream& output, const std::vector<T>& v );
- template<class T>
- void writeVectorOfPointers ( std::ostream& output, const std::vector<T*>& v );
- template<class T>
- void writeVectorOfPointersHumanReadable ( std::ostream& output,
- const std::vector<T*>& v );
- template<class T>
- std::istream& operator >> ( std::istream& input, std::vector<T>& v );
- template<class T>
- void readVectorOfPointers ( std::istream& input, std::vector<T*>& v );
- }
- #include "core/basics/vectorio.tcc"
- #endif
|