Class MHO_ChannelIndexLabeler.
More...
#include <MHO_EncodeDecodeValue.hh>
◆ MHO_ChannelIndexLabeler()
hops::MHO_ChannelIndexLabeler::MHO_ChannelIndexLabeler |
( |
| ) |
|
|
inline |
◆ ~MHO_ChannelIndexLabeler()
virtual hops::MHO_ChannelIndexLabeler::~MHO_ChannelIndexLabeler |
( |
| ) |
|
|
inlinevirtual |
◆ DecodeLabelToValue()
uint64_t hops::MHO_ChannelIndexLabeler::DecodeLabelToValue |
( |
const std::string & |
label | ) |
const |
|
inline |
Decodes a channel label to its corresponding value.
- Parameters
-
label | Input channel label string. |
- Returns
- Decoded channel value as uint64_t.
◆ EncodeValueToLabel()
std::string hops::MHO_ChannelIndexLabeler::EncodeValueToLabel |
( |
const uint64_t & |
value | ) |
const |
|
inline |
Encodes a uint64_t value into a label string using default and extended encoding schemes.
- Parameters
-
value | Input value to be encoded as a label. |
- Returns
- Encoded label string representation of the input value.
◆ SetDefaultChannelChars()
void hops::MHO_ChannelIndexLabeler::SetDefaultChannelChars |
( |
const std::string & |
ch_set | ) |
|
|
inline |
Setter for channel chars - provides the option to use different character sets.
- Parameters
-
ch_set | Input character set to use as defaults |
◆ SetExtendedChannelChars()
void hops::MHO_ChannelIndexLabeler::SetExtendedChannelChars |
( |
const std::string & |
ex_set | ) |
|
|
inline |
Setter for extended channel chars.
- Parameters
-
ex_set | New set of extended channel characters |
◆ fDefaultChannelChars
std::string hops::MHO_ChannelIndexLabeler::fDefaultChannelChars |
|
protected |
◆ fExtendedChannelChars
std::string hops::MHO_ChannelIndexLabeler::fExtendedChannelChars |
|
protected |
The documentation for this class was generated from the following file: