![]() |
TSDuck v3.46-4964
MPEG Transport Stream Toolkit
|
#include <tsNames.h>

Public Member Functions | |
| template<typename T> requires ts::int_enum<T> | |
| NameValue (const UChar *n, T v) | |
| template<typename T1, typename T2> requires ts::int_enum<T1> && ts::int_enum<T2> | |
| NameValue (const UChar *n, T1 f, T2 l) | |
| template<typename T> requires ts::int_enum<T> | |
| NameValue (const UString &n, T v) | |
| template<typename T1, typename T2> requires ts::int_enum<T1> && ts::int_enum<T2> | |
| NameValue (const UString &n, T1 f, T2 l) | |
Public Attributes | |
| const uint_t | first |
| First value for the name, in unsigned form. | |
| const uint_t | last |
| Last value for the name, in unsigned form. | |
| const UString | name |
| Name for the value. | |
| const bool | neg_first |
| First value was set from a negative value of a signed type. | |
| const bool | neg_last |
| Last value was set from a negative value of a signed type. | |
A structure used in the constructor of a Names instance.
|
inline |
Constructor.
| [in] | n | Name for the value. |
| [in] | v | Unique value for the name. |
|
inline |
Constructor.
| [in] | n | Name for the value. |
| [in] | v | Unique value for the name. |
|
inline |
Constructor.
| [in] | n | Name for the value. |
| [in] | f | First value for the name. |
| [in] | l | Last value for the name. |
|
inline |
Constructor.
| [in] | n | Name for the value. |
| [in] | f | First value for the name. |
| [in] | l | Last value for the name. |