Constructors
The BasisIterator requires a Basis class instance that creates the BasisIterator. It can be created using a State or an index referring to the enumeration of the Basis.
-
danceq::internal::BasisIterator::BasisIterator(const BasisU1 *basisptr_, typename BasisIterator<BasisU1>::state_class &state_)
Constructor with State.
Constructs a BasisIterator for the given BasisU1 from a given State.
-
danceq::internal::BasisIterator::BasisIterator(const BasisU1 *basisptr_, uint64_t index_, bool trigger_error = true)
Constructor with index.
Constructs a BasisIterator for the given BasisU1 from a given index. If trigger_error is
true
an error is thrown if index_ does not refer to a valid State. This is required to generate an Iterator pointing toend()
in cpp which is not a valid State.