Helper to test if an array entry matches a config path specification.
More...
Helper to test if an array entry matches a config path specification.
Definition at line 153 of file config.cc.
ns3::ArrayMatcher::ArrayMatcher |
( |
std::string |
element | ) |
|
bool ns3::ArrayMatcher::Matches |
( |
uint32_t |
i | ) |
const |
bool ns3::ArrayMatcher::StringToUint32 |
( |
std::string |
str, |
|
|
uint32_t * |
value |
|
) |
| const |
|
private |
Convert a string to an uint32_t
.
- Parameters
-
[in] | str | The string. |
[in] | value | The location to store the uint32_t . |
- Returns
true
if the string could be converted.
Definition at line 253 of file config.cc.
References NS_LOG_FUNCTION.
Referenced by Matches().
std::string ns3::ArrayMatcher::m_element |
|
private |
The documentation for this class was generated from the following file: