class
#include <descriptor.hpp>
v_1_0_0::ByteSeq Byte sequence with or without wildcards.
Public types
- using byte_type = unsigned char
- Type to represent an actual byte.
Public static variables
-
static byte_
type max_byte_value constexpr - Numerical maximum of the
byte_type
.
Constructors, destructors, conversion operators
Public functions
- auto is_wildcard(sequence_type::size_type i) const -> bool
- TRUE if byte on position
i
of the sequence is a wildcard. -
auto matches(sequence_type::size_type i,
byte_
type b) const -> bool - TRUE if byte on position
i
of the sequence has valueb
. - auto swap(ByteSeq& rhs) -> ByteSeq&
- Swap this instance with another.
Function documentation
arcsdec:: v_1_0_0:: ByteSeq:: ByteSeq(sequence_type::size_type length)
Constructor for an empty sequence of specified length.
Parameters | |
---|---|
length in | Actual length for a yet empty sequence |
arcsdec:: v_1_0_0:: ByteSeq:: ByteSeq(std::initializer_list<unsigned> values)
Constructor using a sequence of byte values and wildcards.
Parameters | |
---|---|
values in | List of byte values with or without wildcards. |
bool arcsdec:: v_1_0_0:: ByteSeq:: is_wildcard(sequence_type::size_type i) const
TRUE if byte on position i
of the sequence is a wildcard.
Returns | TRUE if byte on position i of the sequence is a wildcard, otherwise FALSE. |
---|