arcsdec::v_1_0_0::IdSelector class final

FileReaderSelector for a specific descriptor id.

Ignore any preference and return exactly either the reader with the specified id if such a reader is available or otherwise nullptr.

Base classes

class v_1_0_0::FileReaderSelector
Interface for a selector on a set of FileReaderDescriptor instances.

Constructors, destructors, conversion operators

IdSelector(const std::string& reader_id)
Constructor.

Public functions

auto reader_id() const -> std::string
Reader id to select.

Function documentation

arcsdec::v_1_0_0::IdSelector::IdSelector(const std::string& reader_id)

Constructor.

Parameters
reader_id in Select reader with this id, if available

std::string arcsdec::v_1_0_0::IdSelector::reader_id() const

Reader id to select.

Returns Id of the reader selected by this selector.