Molassembler  1.0.0
Molecule graph and conformer library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Scine::Molassembler::Temple::StrongIndexFlatMap< T, U > Class Template Reference
Inheritance diagram for Scine::Molassembler::Temple::StrongIndexFlatMap< T, U >:

Public Types

using key_type = T
 
using value_type = U
 
using iterator = typename std::vector< U >::iterator
 
using const_iterator = typename std::vector< U >::const_iterator
 

Public Member Functions

 StrongIndexFlatMap (std::vector< U > strong)
 
 StrongIndexFlatMap (const std::vector< typename U::value_type > &weak)
 
indexOf (const U u) const
 
void resize (unsigned newSize)
 
unsigned size () const
 
U & at (const T t)
 
const U & at (const T t) const
 
bool empty () const
 
void pushIsometric ()
 
void clear ()
 
StrongIndexFlatMap< U, T > invert () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
bool operator== (const StrongIndexFlatMap &other) const
 
bool operator!= (const StrongIndexFlatMap &other) const
 

Private Attributes

std::vector< U > map_
 

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