template<VecType vtype, VecAccess vaccess>
class sofa::core::TMultiVecId< vtype, vaccess >
Identify a vector of a given type stored in multiple State instances This class is templated in order to create different variations (generic versus specific type, read-only vs write access)
|
| bool | hasIdMap () const |
| |
| const IdMap & | getIdMap () const |
| |
| | TMultiVecId ()=default |
| |
| template<VecAccess vaccess2> |
| | TMultiVecId (const TVecId< vtype, vaccess2 > &v) |
| |
| template<VecAccess vaccess2> |
| TMultiVecId< vtype, vaccess > & | operator= (const TVecId< vtype, vaccess2 > &v) |
| | Copy assignment from another VecId. More...
|
| |
| | TMultiVecId (const TMultiVecId< vtype, vaccess > &mv) |
| |
| TMultiVecId< vtype, vaccess > & | operator= (const TMultiVecId< vtype, vaccess > &mv) |
| | Copy assignment. More...
|
| |
| template<VecAccess vaccess2> |
| | TMultiVecId (const TMultiVecId< vtype, vaccess2 > &mv) |
| |
| template<VecAccess vaccess2> |
| TMultiVecId< vtype, vaccess > & | operator= (const TMultiVecId< vtype, vaccess2 > &mv) |
| |
| template<VecAccess vaccess2> |
| | TMultiVecId (const TMultiVecId< V_ALL, vaccess2 > &mv) |
| |
| template<VecAccess vaccess2> |
| TMultiVecId< vtype, vaccess > & | operator= (const TMultiVecId< V_ALL, vaccess2 > &mv) |
| |
| void | setDefaultId (const MyVecId &id) |
| |
| template<class State > |
| void | setId (const std::set< State > &states, const MyVecId &id) |
| |
| void | setId (const BaseState *s, const MyVecId &id) |
| |
| void | assign (const MyVecId &id) |
| |
| const MyVecId & | getId (const BaseState *s) const |
| |
| const MyVecId & | getDefaultId () const |
| |
| std::string | getName () const |
| |
| bool | isNull () const |
| |
| template<class DataTypes > |
| StateVecAccessor< DataTypes, vtype, vaccess > | operator[] (State< DataTypes > *s) const |
| |
| template<class DataTypes > |
| StateVecAccessor< DataTypes, vtype, V_READ > | operator[] (const State< DataTypes > *s) const |
| |