26                 template <
class T,
class CONTAINER>
    32                         return std::string::npos;
    39                         return cont.erase(it);
    42                 template <
class K,
class V>
    50                 template <
class K,
class V>
    99                                         it  != 
t.end(); ++i, ++it) {
   100                                 cout << 
"List " << i+1 << 
"/" << 
t.size() << endl << 
"\t";
   110                 template<
class T1, 
class T2>
   120                                 ss << it->first << 
" => " << it->second << endl;
   129                 template<
class T1, 
class T2>
 
std::string getSTLContainerAsString(const T &t)
Return a STL container in std::string form. 
 
const Scalar * const_iterator
 
std::list< T >::iterator erase_return_next(std::list< T > &cont, typename std::list< T >::iterator &it)
Calls the standard "erase" method of a STL container, but also returns an iterator to the next elemen...
 
GLsizei const GLchar ** string
 
void printSTLContainerOfContainers(const T &t)
Print the given STL container of containers t. 
 
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries. 
 
void printSTLContainer(const T &t)
Print the given vector t. 
 
void printMap(const std::map< T1, T2 > &m)
Print the given map m. 
 
std::string getMapAsString(const std::map< T1, T2 > &m, const std::string &sep=" => ")
Return contents of map in a string representation. 
 
GLsizei const GLfloat * value
 
size_t find_in_vector(const T &value, const CONTAINER &vect)
Returns the index of the value "T" in the container "vect" (std::vector,std::deque,etc), or string::npos if not found. 
 
double BASE_IMPEXP distance(const TPoint2D &p1, const TPoint2D &p2)
Gets the distance between two points in a 2D space.