Specialization to work around vector<bool>. More...
#include <ogdf/basic/RegisteredArray.h>
Public Types | |
using | const_iterator = RegisteredArrayIterator< BRA, typename RA::key_iterator, true > |
using | iterator = RegisteredArrayIterator< BRA, typename RA::key_iterator, false > |
using | key_type = typename RA::key_type |
using | value_const_ref_type = const bool & |
using | value_ref_type = bool & |
using | value_type = bool |
Public Member Functions | |
iterator | begin () |
const_iterator | begin () const |
const_iterator | cbegin () const |
const_iterator | cend () const |
iterator | end () |
const_iterator | end () const |
value_ref_type | getDefault () |
value_const_ref_type | getDefault () const |
value_ref_type | operator() (key_type key) |
value_const_ref_type | operator() (key_type key) const |
value_ref_type | operator[] (int idx) |
value_const_ref_type | operator[] (int idx) const |
value_ref_type | operator[] (key_type key) |
value_const_ref_type | operator[] (key_type key) const |
![]() | |
RegisteredArray () | |
Creates a new registered array associated with no registry. More... | |
RegisteredArray (const Base &base) | |
Creates a new registered array associated with the matching registry of base . More... | |
RegisteredArray (const Base &base, const unsigned char &def) | |
Creates a new registered array associated with the matching registry of base and initializes all values with def . More... | |
RegisteredArray (const Base *base) | |
Creates a new registered array associated with the matching registry of base . More... | |
RegisteredArray (const Base *base, const unsigned char &def) | |
Creates a new registered array associated with the matching registry of base and initializes all values with def . More... | |
void | init (const Base &base) |
Reinitializes the array. Associates the array with the matching registry of base . More... | |
void | init (const Base &base, const unsigned char &new_default) |
Reinitializes the array with default value new_default . More... | |
void | init (const Base *base, const unsigned char &new_default) |
void | init (const Base *base=nullptr) |
Reinitializes the array. Associates the array with the matching registry of base . More... | |
Private Types | |
using | BRA = RegisteredArray< Registry, bool, WithDefault, Base > |
using | RA = RegisteredArray< Registry, unsigned char, WithDefault, Base > |
Specialization to work around vector<bool>.
Definition at line 881 of file RegisteredArray.h.
|
private |
Definition at line 884 of file RegisteredArray.h.
using ogdf::RegisteredArray< Registry, bool, WithDefault, Base >::const_iterator = RegisteredArrayIterator<BRA, typename RA::key_iterator, true> |
Definition at line 894 of file RegisteredArray.h.
using ogdf::RegisteredArray< Registry, bool, WithDefault, Base >::iterator = RegisteredArrayIterator<BRA, typename RA::key_iterator, false> |
Definition at line 893 of file RegisteredArray.h.
using ogdf::RegisteredArray< Registry, bool, WithDefault, Base >::key_type = typename RA::key_type |
Definition at line 889 of file RegisteredArray.h.
|
private |
Definition at line 883 of file RegisteredArray.h.
using ogdf::RegisteredArray< Registry, bool, WithDefault, Base >::value_const_ref_type = const bool& |
Definition at line 891 of file RegisteredArray.h.
using ogdf::RegisteredArray< Registry, bool, WithDefault, Base >::value_ref_type = bool& |
Definition at line 892 of file RegisteredArray.h.
using ogdf::RegisteredArray< Registry, bool, WithDefault, Base >::value_type = bool |
Definition at line 890 of file RegisteredArray.h.
|
inline |
Definition at line 926 of file RegisteredArray.h.
|
inline |
Definition at line 931 of file RegisteredArray.h.
|
inline |
Definition at line 936 of file RegisteredArray.h.
|
inline |
Definition at line 951 of file RegisteredArray.h.
|
inline |
Definition at line 941 of file RegisteredArray.h.
|
inline |
Definition at line 946 of file RegisteredArray.h.
|
inline |
Definition at line 920 of file RegisteredArray.h.
|
inline |
Definition at line 922 of file RegisteredArray.h.
|
inline |
Definition at line 908 of file RegisteredArray.h.
|
inline |
Definition at line 904 of file RegisteredArray.h.
|
inline |
Definition at line 916 of file RegisteredArray.h.
|
inline |
Definition at line 912 of file RegisteredArray.h.
|
inline |
Definition at line 900 of file RegisteredArray.h.
|
inline |
Definition at line 896 of file RegisteredArray.h.