ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
BondedInteractionsMap Class Reference

#include <bonded_interaction_data.hpp>

Public Types

using key_type = typename container_type::key_type
 
using mapped_type = typename container_type::mapped_type
 
using value_type = typename container_type::value_type
 
using iterator = typename container_type::iterator
 
using const_iterator = typename container_type::const_iterator
 

Public Member Functions

 BondedInteractionsMap ()=default
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
void insert (key_type const &key, mapped_type const &ptr)
 
key_type insert (mapped_type const &ptr)
 
auto erase (key_type const &key)
 
mapped_type at (key_type const &key) const
 
auto count (key_type const &key) const
 
bool contains (key_type const &key) const
 
bool empty () const
 
auto size () const
 
auto get_next_key () const
 
auto get_zero_based_type (int bond_id) const
 
auto get_n_thermalized_bonds () const
 
auto get_n_rigid_bonds () const
 

Detailed Description

Definition at line 103 of file bonded_interaction_data.hpp.

Member Typedef Documentation

◆ const_iterator

using BondedInteractionsMap::const_iterator = typename container_type::const_iterator

Definition at line 112 of file bonded_interaction_data.hpp.

◆ iterator

using BondedInteractionsMap::iterator = typename container_type::iterator

Definition at line 111 of file bonded_interaction_data.hpp.

◆ key_type

using BondedInteractionsMap::key_type = typename container_type::key_type

Definition at line 108 of file bonded_interaction_data.hpp.

◆ mapped_type

using BondedInteractionsMap::mapped_type = typename container_type::mapped_type

Definition at line 109 of file bonded_interaction_data.hpp.

◆ value_type

using BondedInteractionsMap::value_type = typename container_type::value_type

Definition at line 110 of file bonded_interaction_data.hpp.

Constructor & Destructor Documentation

◆ BondedInteractionsMap()

BondedInteractionsMap::BondedInteractionsMap ( )
explicitdefault

Member Function Documentation

◆ at()

◆ begin() [1/2]

iterator BondedInteractionsMap::begin ( )
inline

◆ begin() [2/2]

const_iterator BondedInteractionsMap::begin ( ) const
inline

Definition at line 118 of file bonded_interaction_data.hpp.

◆ contains()

bool BondedInteractionsMap::contains ( key_type const &  key) const
inline

◆ count()

auto BondedInteractionsMap::count ( key_type const &  key) const
inline

◆ empty()

bool BondedInteractionsMap::empty ( ) const
inline

Definition at line 140 of file bonded_interaction_data.hpp.

◆ end() [1/2]

iterator BondedInteractionsMap::end ( )
inline

◆ end() [2/2]

const_iterator BondedInteractionsMap::end ( ) const
inline

Definition at line 119 of file bonded_interaction_data.hpp.

◆ erase()

auto BondedInteractionsMap::erase ( key_type const &  key)
inline

◆ get_n_rigid_bonds()

auto BondedInteractionsMap::get_n_rigid_bonds ( ) const
inline

Definition at line 148 of file bonded_interaction_data.hpp.

Referenced by System::System::integrate().

◆ get_n_thermalized_bonds()

auto BondedInteractionsMap::get_n_thermalized_bonds ( ) const
inline

Definition at line 146 of file bonded_interaction_data.hpp.

◆ get_next_key()

auto BondedInteractionsMap::get_next_key ( ) const
inline

◆ get_zero_based_type()

auto BondedInteractionsMap::get_zero_based_type ( int  bond_id) const
inline

Definition at line 143 of file bonded_interaction_data.hpp.

References at(), and contains().

◆ insert() [1/2]

void BondedInteractionsMap::insert ( key_type const &  key,
mapped_type const &  ptr 
)
inline

◆ insert() [2/2]

key_type BondedInteractionsMap::insert ( mapped_type const &  ptr)
inline

Definition at line 126 of file bonded_interaction_data.hpp.

◆ size()

auto BondedInteractionsMap::size ( ) const
inline

The documentation for this class was generated from the following files: