52 std::ostringstream oss;
53 oss.setf(std::ios::fixed , std::ios::floatfield);
54 oss << std::setprecision(accuracy);
121 template <
typename V>
124 std::ostringstream oss;
125 for (
typename std::vector<V*>::const_iterator it = v.begin(); it != v.end(); ++it) {
126 if (it != v.begin()) {
129 oss << (*it)->getID();
135 template <
typename T,
typename T_BETWEEN>
137 std::ostringstream oss;
138 bool connect =
false;
139 for (
typename std::vector<T>::const_iterator it = v.begin(); it != v.end(); ++it) {
152 inline std::string
toString(
const std::vector<int>& v, std::streamsize accuracy) {
158 inline std::string
toString(
const std::vector<SUMOReal>& v, std::streamsize accuracy) {
163 template <
typename T,
typename T_BETWEEN>
165 std::ostringstream oss;
166 bool connect =
false;
167 for (
typename std::set<T>::const_iterator it = s.begin(); it != s.end(); ++it) {