Helper to test if an array entry matches a config path specification.
More...
|
| | ArrayMatcher (std::string element) |
| | Construct from a Config path specification.
|
| |
| bool | Matches (std::size_t i) const |
| | Test if a specific index matches the Config Path.
|
| |
Helper to test if an array entry matches a config path specification.
Definition at line 194 of file config.cc.
◆ ArrayMatcher()
| ns3::Config::ArrayMatcher::ArrayMatcher |
( |
std::string | element | ) |
|
◆ Matches()
| bool ns3::Config::ArrayMatcher::Matches |
( |
std::size_t | i | ) |
const |
◆ StringToUint32()
| bool ns3::Config::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 294 of file config.cc.
References NS_LOG_FUNCTION.
Referenced by Matches().
◆ m_element
| std::string ns3::Config::ArrayMatcher::m_element |
|
private |
The documentation for this class was generated from the following file: