Map from Atom identifiers to contained values class.
- Author
- Stuart G. Mentzer (Stuar.nosp@m.t_Me.nosp@m.ntzer.nosp@m.@obj.nosp@m.exx.c.nosp@m.om)
- Note
- Implemented as a vector< vector > for fast lookup but this has slower insertion/deletion than a std::map or other associative containers
- The outer vector is indexed by the residue number
- The inner vector is indexed by the atom number within the residue
- The map can be sized by first calling resize( n_res ) and then calling resize( i_res, n_atom ) for each residue to set the number of atoms
- When the Value type (T) is bool note that the vector< bool > specialization is used so the values returned by the indexing lookups are not actually references