![]() |
Rosetta
2021.16
|
Map from Atom DOF identifiers to contained values class. More...
#include <DOF_ID_Map.hh>
Public Types | |
| typedef AtomID_Map< T > | AtomMap |
| typedef utility::vector1< AtomMap > | DOF_Map |
| typedef T | value_type |
| typedef AtomMap::reference | reference |
| typedef AtomMap::const_reference | const_reference |
| typedef AtomMap::size_type | size_type |
| typedef T | Value |
| typedef AtomMap::Reference | Reference |
| typedef AtomMap::ConstReference | ConstReference |
| typedef platform::Size | Size |
Public Member Functions | |
| DOF_ID_Map (Value const &default_value_a=Value()) | |
| Default constructor. More... | |
| DOF_ID_Map (Size const n_res, Value const &default_value_a=Value()) | |
| Number of residues constructor. More... | |
| ~DOF_ID_Map ()=default | |
| Destructor. More... | |
| void | resize (Size const n_res) |
| Resize to a given number of residues. More... | |
| void | resize (Size const i_res, Size const n_atom) |
| Resize the number of atoms of a residue and use the default fill value. More... | |
| void | resize (Size const i_res, Size const n_atom, Value const &value) |
| Resize the number of atoms of a residue and use a specified fill value. More... | |
| void | finalize () |
| Finalize after sizing all the vectors. More... | |
| void | shrink () |
| Shrink the vectors to remove unused capacity. More... | |
| void | swap (DOF_ID_Map &s) |
| swap( DOF_ID_Map ) More... | |
| void | clear () |
| Clear the vectors. More... | |
| void | set (DOF_Type const dof) |
| Set a DOF for all atoms to the default value for that DOF. More... | |
| void | set (DOF_Type const dof, Value const &value) |
| Set a DOF for all atoms to a specified value. More... | |
| Size | size () const |
| Size (Number of DOF types) More... | |
| Size | n_residue () const |
| Number of residues. More... | |
| Size | n_atom (Size const i_res) const |
| Number of atoms in a residue. More... | |
| bool | empty () const |
| Empty? More... | |
| Value const & | default_value (DOF_Type const dof) const |
| Default value for a DOF. More... | |
| void | default_value (DOF_Type const dof, Value const &default_value_a) |
| Set default value for a DOF. More... | |
| void | default_value (Value const &default_value_a) |
| Set a uniform default value. More... | |
| ConstReference | operator[] (DOF_ID const &id) const |
| DOF_ID_Map[ dof_id ] const. More... | |
| Reference | operator[] (DOF_ID const &id) |
| DOF_ID_Map[ dof_id ]. More... | |
| ConstReference | operator() (DOF_ID const &id) const |
| DOF_ID_Map( dof_id ) const. More... | |
| Reference | operator() (DOF_ID const &id) |
| DOF_ID_Map( dof_id ) More... | |
| ConstReference | operator() (Size const i_res, Size const i_atom, DOF_Type const dof) const |
| DOF_ID_Map( i_res, i_atom ) const. More... | |
| Reference | operator() (Size const i_res, Size const i_atom, DOF_Type const dof) |
| DOF_ID_Map( i_res, i_atom ) More... | |
| AtomMap const & | operator[] (DOF_Type const dof) const |
| DOF_ID_Map[ dof ] const. More... | |
| AtomMap & | operator[] (DOF_Type const dof) |
| DOF_ID_Map[ dof ]. More... | |
| AtomMap const & | operator() (DOF_Type const dof) const |
| DOF_ID_Map( dof ) const. More... | |
| AtomMap & | operator() (DOF_Type const dof) |
| DOF_ID_Map( dof ) More... | |
Private Attributes | |
| DOF_Map | dof_map_ |
| Map from Atom DOF identifiers to values. More... | |
Friends | |
| void | swap (DOF_ID_Map &a, DOF_ID_Map &b) |
| swap( DOF_ID_Map, DOF_ID_Map ) More... | |
| bool | operator== (DOF_ID_Map const &a, DOF_ID_Map const &b) |
| DOF_ID_Map == DOF_ID_Map. More... | |
| bool | operator!= (DOF_ID_Map const &a, DOF_ID_Map const &b) |
| DOF_ID_Map != DOF_ID_Map. More... | |
Map from Atom DOF identifiers to contained values class.
| typedef AtomID_Map< T > core::id::DOF_ID_Map< T >::AtomMap |
| typedef AtomMap::const_reference core::id::DOF_ID_Map< T >::const_reference |
| typedef AtomMap::ConstReference core::id::DOF_ID_Map< T >::ConstReference |
| typedef utility::vector1< AtomMap > core::id::DOF_ID_Map< T >::DOF_Map |
| typedef AtomMap::reference core::id::DOF_ID_Map< T >::reference |
| typedef AtomMap::Reference core::id::DOF_ID_Map< T >::Reference |
| typedef platform::Size core::id::DOF_ID_Map< T >::Size |
| typedef AtomMap::size_type core::id::DOF_ID_Map< T >::size_type |
| typedef T core::id::DOF_ID_Map< T >::Value |
| typedef T core::id::DOF_ID_Map< T >::value_type |
|
inlineexplicit |
Default constructor.
|
inlineexplicit |
Number of residues constructor.
|
inlinedefault |
Destructor.
|
inline |
Clear the vectors.
Referenced by core::optimization::MinimizerMap::clear_dof_nodes(), and core::pose::initialize_dof_id_map().
|
inline |
Default value for a DOF.
|
inline |
Set default value for a DOF.
|
inline |
Set a uniform default value.
|
inline |
Empty?
|
inline |
Finalize after sizing all the vectors.
|
inline |
Number of atoms in a residue.
|
inline |
Number of residues.
|
inline |
DOF_ID_Map( dof_id ) const.
|
inline |
DOF_ID_Map( dof_id )
|
inline |
DOF_ID_Map( i_res, i_atom ) const.
|
inline |
DOF_ID_Map( i_res, i_atom )
|
inline |
DOF_ID_Map( dof ) const.
|
inline |
DOF_ID_Map( dof )
|
inline |
DOF_ID_Map[ dof_id ] const.
|
inline |
DOF_ID_Map[ dof_id ].
|
inline |
DOF_ID_Map[ dof ] const.
|
inline |
DOF_ID_Map[ dof ].
|
inline |
Resize to a given number of residues.
Referenced by core::pose::initialize_dof_id_map().
|
inline |
Resize the number of atoms of a residue and use the default fill value.
|
inline |
Resize the number of atoms of a residue and use a specified fill value.
|
inline |
Set a DOF for all atoms to the default value for that DOF.
|
inline |
Set a DOF for all atoms to a specified value.
|
inline |
Shrink the vectors to remove unused capacity.
Referenced by core::id::DOF_ID_Map< DOF_NodeOP >::finalize().
|
inline |
Size (Number of DOF types)
|
inline |
swap( DOF_ID_Map )
|
friend |
DOF_ID_Map != DOF_ID_Map.
|
friend |
DOF_ID_Map == DOF_ID_Map.
|
friend |
swap( DOF_ID_Map, DOF_ID_Map )
|
private |
Map from Atom DOF identifiers to values.
Referenced by core::id::DOF_ID_Map< DOF_NodeOP >::clear(), core::id::DOF_ID_Map< DOF_NodeOP >::default_value(), core::id::DOF_ID_Map< DOF_NodeOP >::empty(), core::id::DOF_ID_Map< DOF_NodeOP >::n_atom(), core::id::DOF_ID_Map< DOF_NodeOP >::n_residue(), core::id::DOF_ID_Map< DOF_NodeOP >::operator()(), core::id::DOF_ID_Map< DOF_NodeOP >::operator[](), core::id::DOF_ID_Map< DOF_NodeOP >::resize(), core::id::DOF_ID_Map< DOF_NodeOP >::set(), core::id::DOF_ID_Map< DOF_NodeOP >::shrink(), core::id::DOF_ID_Map< DOF_NodeOP >::size(), and core::id::DOF_ID_Map< DOF_NodeOP >::swap().
1.8.7