11 #ifndef _RBDDATAMAP_H_ 12 #define _RBDDATAMAP_H_ 22 template <
typename T,
size_t N>
39 void assigndata(
const T& commonValue);
42 template <
typename T,
size_t N>
48 template <
typename T,
size_t N>
54 template <
typename T,
size_t N>
64 template <
typename T,
size_t N>
71 template <
typename T,
size_t N>
77 template <
typename T,
size_t N>
83 template <
typename T,
size_t N>
86 for (
size_t id = 0;
id < N; ++id)
90 template <
typename T,
size_t N>
93 for (
size_t id = 0;
id < N; ++id)
97 template <
typename T,
size_t N>
98 inline std::ostream& operator<<(std::ostream& out, const RBDDataMap<T, N>& map)
100 for (
size_t id = 0;
id < N; ++id)
102 out <<
"[" <<
id <<
"] = " << map[id] <<
" ";
A very simple container to associate N generic data item T.
Definition: RBDDataMap.h:23
T & operator[](size_t which)
Definition: RBDDataMap.h:72
RBDDataMap()
Definition: RBDDataMap.h:29
RBDDataMap & operator=(const RBDDataMap &rhs)
Definition: RBDDataMap.h:55