Class Specialization
Tristate Holder
Holder that can be empty, dependent, or owner.
![]() | ![]() | ||||||
Tristate Holder |
Include Headers
seqan/basic.h
Parameters
Type of the managed object. |
Remarks
A tristate holder A that holds an object B has one of the following states:
- owner: A is the owner of B . If A is destroyed, B will be destroyed automatically.
- dependent: A depends on B . B should not be destroyed as long as A is used.
- empty: there is currently no object reference stored in the holder A .
If a holder object is in owner state when destructed, the owned object is destructed as well.
Specialization of
Metafunctions
Reference type. (Holder) | |
The spec of a class. (Holder) | |
Type of the items in the container or behind an iterator. (Holder) |
Functions
Assigns one object to another object. (Holder) | |
Assigns value to item. (Holder) | |
Resets an object. (Holder) | |
Makes an object to owner of its content. (Holder) | |
Test whether object depends on other objects. (Holder) | |
Makes an object independent from other objects. (Holder) | |
Test a container for being empty. (Holder) | |
Assigns value to item. (Holder) | |
Makes holder dependent. (Holder) | |
Reference to the value. (Holder) |
SeqAn - Sequence Analysis Library - www.seqan.de