Workspace 6.21.5
Public Member Functions | List of all members
VectorStorage< T > Struct Template Reference

Storage policy for using a sorted vector.

#include <Mesh/DataStructures/partitionconstantdata.h>

Inheritance diagram for VectorStorage< T >:
[legend]

Public Member Functions

bool TestExistence (long key) const
 
- Public Member Functions inherited from PartitionConstantTraits< T, std::vector< std::pair< long, std::vector< T * > > > >
reference back ()
 
const_reference back () const
 
iterator begin ()
 
const_iterator begin () const
 
void clear ()
 
unsigned count (long key) const
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
reference front ()
 
const_reference front () const
 
iterator lower_bound (long key)
 
const_iterator lower_bound (long key) const
 
size_type max_size () const
 
void push_back (const value_type &c)
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
void reserve (size_type s)
 Reserve space for s items (if the data type supports it).
 
size_type size () const
 
iterator upper_bound (long key)
 
const_iterator upper_bound (long key) const
 

Additional Inherited Members

- Public Types inherited from PartitionConstantTraits< T, std::vector< std::pair< long, std::vector< T * > > > >
typedef std::vector< T * > CellType
 
using const_iterator = typename container_type::const_iterator
 
using const_reference = typename container_type::const_reference
 
using const_reverse_iterator = typename container_type::const_reverse_iterator
 
using container_type = std::vector< std::pair< long, std::vector< T * > > >
 Make the type of this array easy to refer to in client code.
 
using iterator = typename container_type::iterator
 
using reference = typename container_type::reference
 
using reverse_iterator = typename container_type::reverse_iterator
 
using size_type = typename container_type::size_type
 
using value_type = typename container_type::value_type
 
- Protected Member Functions inherited from PartitionConstantTraits< T, std::vector< std::pair< long, std::vector< T * > > > >
iterator erase (iterator iter)
 
iterator FindKeyCell (long key)
 
const_iterator FindKeyCell (long key) const
 
CellTypeGetKeyCell (long key)
 
const CellTypeGetKeyCell (long key) const
 

Member Function Documentation

◆ TestExistence()

bool TestExistence ( long  key) const
inline