Rosetta
|
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.
References core::id::DOF_ID_Map< T >::dof_map_, and core::id::n_DOF_Type().
Referenced by core::optimization::MinimizerMap::clear_dof_nodes(), and core::pose::initialize_dof_id_map().
|
inline |
Default value for a DOF.
References core::id::DOF_ID_Map< T >::dof_map_.
|
inline |
Set default value for a DOF.
References core::id::DOF_ID_Map< T >::dof_map_.
|
inline |
Set a uniform default value.
References core::id::DOF_ID_Map< T >::dof_map_, and core::id::n_DOF_Type().
|
inline |
Empty?
References core::id::DOF_ID_Map< T >::dof_map_.
|
inline |
Finalize after sizing all the vectors.
References core::id::DOF_ID_Map< T >::shrink().
|
inline |
Number of atoms in a residue.
References core::id::DOF_ID_Map< T >::dof_map_.
Referenced by core::id::DOF_ID_Map< T >::resize().
|
inline |
Number of residues.
References core::id::DOF_ID_Map< T >::dof_map_.
|
inline |
DOF_ID_Map( dof_id )
References core::id::DOF_ID_Map< T >::dof_map_.
|
inline |
DOF_ID_Map( dof_id ) const.
References core::id::DOF_ID_Map< T >::dof_map_.
|
inline |
DOF_ID_Map( dof )
References core::id::DOF_ID_Map< T >::dof_map_.
|
inline |
DOF_ID_Map( dof ) const.
References core::id::DOF_ID_Map< T >::dof_map_.
|
inline |
DOF_ID_Map( i_res, i_atom )
References core::id::DOF_ID_Map< T >::dof_map_.
|
inline |
DOF_ID_Map( i_res, i_atom ) const.
References core::id::DOF_ID_Map< T >::dof_map_.
|
inline |
DOF_ID_Map[ dof_id ].
References core::id::DOF_ID_Map< T >::dof_map_.
|
inline |
DOF_ID_Map[ dof_id ] const.
References core::id::DOF_ID_Map< T >::dof_map_.
|
inline |
DOF_ID_Map[ dof ].
References core::id::DOF_ID_Map< T >::dof_map_.
|
inline |
DOF_ID_Map[ dof ] const.
References core::id::DOF_ID_Map< T >::dof_map_.
|
inline |
Resize the number of atoms of a residue and use the default fill value.
References core::id::DOF_ID_Map< T >::dof_map_, core::id::DOF_ID_Map< T >::n_atom(), and core::id::n_DOF_Type().
|
inline |
Resize the number of atoms of a residue and use a specified fill value.
References core::id::DOF_ID_Map< T >::dof_map_, core::id::DOF_ID_Map< T >::n_atom(), and core::id::n_DOF_Type().
|
inline |
Resize to a given number of residues.
References core::id::DOF_ID_Map< T >::dof_map_, and core::id::n_DOF_Type().
Referenced by core::pose::initialize_dof_id_map().
|
inline |
Set a DOF for all atoms to the default value for that DOF.
References core::id::DOF_ID_Map< T >::dof_map_.
|
inline |
Set a DOF for all atoms to a specified value.
References core::id::DOF_ID_Map< T >::dof_map_.
|
inline |
Shrink the vectors to remove unused capacity.
References core::id::DOF_ID_Map< T >::dof_map_, and core::id::n_DOF_Type().
Referenced by core::id::DOF_ID_Map< T >::finalize().
|
inline |
Size (Number of DOF types)
References core::id::DOF_ID_Map< T >::dof_map_.
|
inline |
swap( DOF_ID_Map )
References core::id::DOF_ID_Map< T >::dof_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< T >::clear(), core::id::DOF_ID_Map< T >::default_value(), core::id::DOF_ID_Map< T >::empty(), core::id::DOF_ID_Map< T >::n_atom(), core::id::DOF_ID_Map< T >::n_residue(), core::id::DOF_ID_Map< T >::operator()(), core::id::DOF_ID_Map< T >::operator[](), core::id::DOF_ID_Map< T >::resize(), core::id::DOF_ID_Map< T >::set(), core::id::DOF_ID_Map< T >::shrink(), core::id::DOF_ID_Map< T >::size(), and core::id::DOF_ID_Map< T >::swap().