Represents MIB, but wraps it to provide the necessary operators to use it as an std::map key.  
 More...
|  | 
| int | mibs [CTL_MAXNAME] | 
|  | The mib values. 
 | 
|  | 
Represents MIB, but wraps it to provide the necessary operators to use it as an std::map key. 
◆ mib_t() [1/2]
template<typename... Ints> 
  
  | 
        
          | constexpr anonymous_namespace{libloadplay.cpp}::mib_t::mib_t | ( | Ints const ... | ints | ) |  |  | inlineconstexpr | 
 
Construct a mib with the given number of arguments. 
- Template Parameters
- 
  
    | Ints | A list of integer types |  
 
- Parameters
- 
  
    | ints | A list of integers to create a mib from |  
 
 
 
◆ mib_t() [2/2]
  
  | 
        
          | anonymous_namespace{libloadplay.cpp}::mib_t::mib_t | ( | int const *const | mibs, |  
          |  |  | u_int const | len |  
          |  | ) |  |  |  | inline | 
 
Initialise from a pointer to an int array. 
- Parameters
- 
  
    | mibs,len | The array and its length |  
 
 
 
◆ operator int *()
  
  | 
        
          | anonymous_namespace{libloadplay.cpp}::mib_t::operator int * | ( |  | ) |  |  | inline | 
 
Cast to int * for value access. 
- Returns
- A pointer to mibs 
 
 
◆ operator int const *()
  
  | 
        
          | anonymous_namespace{libloadplay.cpp}::mib_t::operator int const * | ( |  | ) | const |  | inline | 
 
Cast to int const * for value access. 
- Returns
- A pointer to mibs 
 
 
◆ operator<()
  
  | 
        
          | bool anonymous_namespace{libloadplay.cpp}::mib_t::operator< | ( | mib_t const & | op | ) | const |  | inline | 
 
Less than operator required by std::map. 
- Parameters
- 
  
  
- Returns
- Whether this mib is less than the given one 
 
 
◆ operator==()
  
  | 
        
          | bool anonymous_namespace{libloadplay.cpp}::mib_t::operator== | ( | mib_t const & | op | ) | const |  | inline | 
 
Equality operator required by std::map. 
- Parameters
- 
  
  
- Returns
- Whether all values in this and the given mib are equal 
 
 
The documentation for this struct was generated from the following file: