Specialization to work around vector<bool>. More...
#include <ogdf/basic/RegisteredArray.h>
Inheritance diagram for ogdf::RegisteredArray< Registry, bool, WithDefault, Base >: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 |
Public Member Functions inherited from ogdf::RegisteredArray< Registry, unsigned char, WithDefault, Base > | |
| RegisteredArray () | |
| Creates a new registered array associated with no registry. | |
| RegisteredArray (const Base &base) | |
Creates a new registered array associated with the matching registry of base. | |
| 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. | |
| RegisteredArray (const Base *base) | |
Creates a new registered array associated with the matching registry of base. | |
| 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. | |
| void | init (const Base &base) |
Reinitializes the array. Associates the array with the matching registry of base. | |
| void | init (const Base &base, const unsigned char &new_default) |
Reinitializes the array with default value new_default. | |
| 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. | |
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 933 of file RegisteredArray.h.
|
private |
Definition at line 936 of file RegisteredArray.h.
| using ogdf::RegisteredArray< Registry, bool, WithDefault, Base >::const_iterator = RegisteredArrayIterator<BRA, typename RA::key_iterator, true> |
Definition at line 946 of file RegisteredArray.h.
| using ogdf::RegisteredArray< Registry, bool, WithDefault, Base >::iterator = RegisteredArrayIterator<BRA, typename RA::key_iterator, false> |
Definition at line 945 of file RegisteredArray.h.
| using ogdf::RegisteredArray< Registry, bool, WithDefault, Base >::key_type = typename RA::key_type |
Definition at line 941 of file RegisteredArray.h.
|
private |
Definition at line 935 of file RegisteredArray.h.
| using ogdf::RegisteredArray< Registry, bool, WithDefault, Base >::value_const_ref_type = const bool& |
Definition at line 943 of file RegisteredArray.h.
| using ogdf::RegisteredArray< Registry, bool, WithDefault, Base >::value_ref_type = bool& |
Definition at line 944 of file RegisteredArray.h.
| using ogdf::RegisteredArray< Registry, bool, WithDefault, Base >::value_type = bool |
Definition at line 942 of file RegisteredArray.h.
|
inline |
Definition at line 978 of file RegisteredArray.h.
|
inline |
Definition at line 983 of file RegisteredArray.h.
|
inline |
Definition at line 988 of file RegisteredArray.h.
|
inline |
Definition at line 1003 of file RegisteredArray.h.
|
inline |
Definition at line 993 of file RegisteredArray.h.
|
inline |
Definition at line 998 of file RegisteredArray.h.
|
inline |
Definition at line 972 of file RegisteredArray.h.
|
inline |
Definition at line 974 of file RegisteredArray.h.
|
inline |
Definition at line 960 of file RegisteredArray.h.
|
inline |
Definition at line 956 of file RegisteredArray.h.
|
inline |
Definition at line 968 of file RegisteredArray.h.
|
inline |
Definition at line 964 of file RegisteredArray.h.
|
inline |
Definition at line 952 of file RegisteredArray.h.
|
inline |
Definition at line 948 of file RegisteredArray.h.