vector.h File Reference

#include <vector>
#include <string>
#include <algorithm>
#include <cassert>
#include <iostream>
#include <stdlib.h>

Include dependency graph for vector.h:

Go to the source code of this file.


Data Structures

class  sofa::helper::vector< T, Alloc >
 Same as std::vector, + range checking on operator[ ]. More...

Namespaces

namespace  sofa
 Main SOFA namespace.
namespace  sofa::helper
 Utility helper classes that we need, but that are not the core of the plateform.

Functions

vector class-related methods
template<class T1 , class T2 >
void sofa::helper::remove (T1 &v, const T2 &elem)
 Remove the first occurence of a given value.
template<class T1 , class T2 >
void sofa::helper::removeValue (T1 &v, const T2 &elem)
 Remove the first occurence of a given value.
template<class T , class TT >
void sofa::helper::removeIndex (std::vector< T, TT > &v, size_t index)
 Remove value at given index, replace it by the value at the last index, other values are not changed.


Generated on Sun Nov 23 04:07:30 2008 for Sofa by  doxygen 1.5.7.1