stl_adds.h File Reference

#include <list>
#include <string>

Include dependency graph for stl_adds.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  std

Defines

#define FOREACH(colltype, coll, it)   for( colltype::iterator it = (coll).begin(); it!= (coll).end(); it++)
#define FOREACHC(colltype, coll, it)   for( colltype::const_iterator it = (coll).begin(); it!= (coll).end() ; it++ )

Functions

template<typename T>
T std::abs (T v)
 absolute function for all types
template<class T, class A>
list< T, A > & std::operator+= (list< T, A > &l1, const list< T, A > &l2)
 += operators for list (list concat)
template<class T, class A>
list< T, A > & std::operator+= (list< T, A > &l1, const T &v)
 += operators for list (append)
string std::itos (int i)


Define Documentation

#define FOREACH ( colltype,
coll,
it   )     for( colltype::iterator it = (coll).begin(); it!= (coll).end(); it++)

Examples:
sphererobot3masses.cpp.

#define FOREACHC ( colltype,
coll,
it   )     for( colltype::const_iterator it = (coll).begin(); it!= (coll).end() ; it++ )

Examples:
sphererobot3masses.cpp.


Generated on Fri Oct 30 16:29:02 2009 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.4.7