DBARBlock class final
#include <dbar.hpp>
A block in a DBAR.
A block consists of a header containing the ARId in a binary representation and a sequence of triplets with each consisting of the actual ARCS, a confidence value and the ARCS of frame 450 of the track.
Public types
- using const_iterator = const iterator
- Constant iterator type.
- using iterator = DBARForwardIterator<DBARBlock>
- Iterator type.
- using size_type = std::size_t
- Size type for this type, also used for indexing.
- using value_type = DBARTriplet
- Value type for this type.
Constructors, destructors, conversion operators
Public functions
- auto header() const -> DBARBlockHeader
- Header of this DBAR block.
- auto id() const -> ARId
- ARId of this block.
-
auto index() const ->
size_
type noexcept - Index of this block.
- void set(const DBAR& dBAR, const DBAR::size_type block_idx)
- Set DBAR and block index.
-
auto size() const ->
size_
type - Size of this block.
-
auto triplet(const size_
type t) const -> DBARTriplet - Access track of this block.
Function documentation
DBARBlockHeader
arcstk:: DBARBlock:: header() const
Header of this DBAR block.
| Returns | Header fo this DBAR block. |
|---|
DBARTriplet
arcstk:: DBARBlock:: triplet(const size_ type t) const
Access track of this block.
| Parameters | |
|---|---|
| t in | Index of the track to access. |
| Returns | Track t of this block |