Face sets. More...
#include <ogdf/basic/FaceSet.h>
Inheritance diagram for ogdf::FaceSet:Public Member Functions | |
| FaceSet (const FaceSet ©)=default | |
| const ConstCombinatorialEmbedding & | embeddingOf () const |
| Returns the associated combinatorial embedding. | |
| const list_type & | faces () const |
| Returns a reference to the list of faces contained in this set. | |
| FaceSet & | operator= (const FaceSet ©)=default |
| RegisteredSet () | |
| Creates an empty set associated with no registry. | |
| RegisteredSet (const RegisteredSet ©) | |
| RegisteredSet (const Registry &R) | |
Creates an empty set associated with registry R. | |
| RegisteredSet (const Registry *R) | |
Creates an empty set associated with registry R. | |
| RegisteredSet (RegisteredSet &&move) noexcept | |
Public Member Functions inherited from ogdf::RegisteredSet< ConstCombinatorialEmbedding > | |
| RegisteredSet () | |
| Creates an empty set associated with no registry. | |
| RegisteredSet (const ConstCombinatorialEmbedding &R) | |
Creates an empty set associated with registry R. | |
| RegisteredSet (const ConstCombinatorialEmbedding *R) | |
Creates an empty set associated with registry R. | |
| RegisteredSet (const RegisteredSet ©) | |
| RegisteredSet (RegisteredSet &&move) noexcept | |
| list_type::const_iterator | begin () const |
| void | clear () |
| Removes all elements from this set. | |
| bool | contains (element_type v) const |
| Returns the same as isMember() | |
| const list_type & | elements () const |
| Returns a reference to the list of elements contained in this set. | |
| list_type::const_iterator | end () const |
| void | init () |
| Reinitializes the set. Associates the set with no registry. | |
| void | init (const ConstCombinatorialEmbedding &R) |
Reinitializes the set. Associates the set with registry R. | |
| void | insert (element_type v) |
Inserts element v into this set. | |
| bool | isMember (element_type v) const |
Returns true iff element v is contained in this set. | |
| bool | operator() (element_type v) const |
| Returns the same as isMember() to use an RegisteredSet instance as filter function. | |
| RegisteredSet & | operator= (const RegisteredSet ©) |
| RegisteredSet & | operator= (RegisteredSet &&move) noexcept |
| const ConstCombinatorialEmbedding * | registeredAt () const |
| Returns the associated registry. | |
| bool | remove (element_type v) |
Removes element v from this set and return true iff v was previously present. | |
| int | size () const |
| Returns the number of elements in this set. | |
Additional Inherited Members | |
Public Types inherited from ogdf::RegisteredSet< ConstCombinatorialEmbedding > | |
| using | element_type = typename Registry::key_type |
| using | list_type = List< element_type > |
| using | registry_type = ConstCombinatorialEmbedding |
Protected Member Functions inherited from ogdf::RegisteredSet< ConstCombinatorialEmbedding > | |
| void | keyAdded (typename Registry::key_type v) override |
| Called by watched registry after a key has been added. | |
| void | keyRemoved (typename Registry::key_type v) override |
| Called by watched registry just before a key is deleted. | |
| void | keysCleared () override |
| Called by watched registry when its clear function is called, just before things are removed. | |
| void | keysCopied (int toIndex, int fromIndex) override |
Called when an entry is copied from fromIndex to toIndex in all registered arrays. | |
| void | keysSwapped (int index1, int index2) override |
Called when an entry is swapped between index1 and index2 in all registered arrays. | |
| void | registrationChanged (const ConstCombinatorialEmbedding *old) override |
| Called after reregister() changed the observed instance. | |
Face sets.
Maintains a subset of faces contained in an associated combinatorial embedding. Provides efficient operations for testing membership, iteration, insertion and deletion of elements, as well as clearing the set.
|
default |
|
inline |
|
inline |
|
inlineexplicit |
Creates an empty set associated with no registry.
Definition at line 72 of file RegisteredSet.h.
|
inline |
Definition at line 74 of file RegisteredSet.h.
|
inlineexplicit |
Creates an empty set associated with registry R.
Definition at line 62 of file RegisteredSet.h.
|
inlineexplicit |
Creates an empty set associated with registry R.
Definition at line 69 of file RegisteredSet.h.
|
inlinenoexcept |
Definition at line 85 of file RegisteredSet.h.