Namespaces | |
namespace | ns3::CommandLineHelper |
Helpers for CommandLine to specialize UserItem. | |
Functions | |
template<typename T > | |
bool | ns3::CommandLineHelper::UserItemParse (const std::string &value, T &dest) |
Helpers to specialize CommandLine::UserItem::Parse() | |
template<typename T > | |
std::string | ns3::CommandLineHelper::GetDefault (const std::string &defaultValue) |
Helper to specialize CommandLine::UserItem::GetDefault() on types needing special handling. | |
template<> | |
std::string | ns3::CommandLineHelper::GetDefault< bool > (const std::string &defaultValue) |
Helper to specialize CommandLine::UserItem::GetDefault() on types needing special handling. | |
template<> | |
std::string | ns3::CommandLineHelper::GetDefault< Time > (const std::string &defaultValue) |
Helper to specialize CommandLine::UserItem::GetDefault() on types needing special handling. | |
std::string ns3::CommandLineHelper::GetDefault | ( | const std::string & | defaultValue | ) |
Helper to specialize CommandLine::UserItem::GetDefault() on types needing special handling.
[in] | defaultValue | The default value from the UserItem. |
Definition at line 782 of file command-line.h.
Referenced by ns3::CommandLine::UserItem< T >::GetDefault().
std::string ns3::CommandLineHelper::GetDefault< bool > | ( | const std::string & | defaultValue | ) |
Helper to specialize CommandLine::UserItem::GetDefault() on types needing special handling.
[in] | defaultValue | The default value from the UserItem. |
Definition at line 885 of file command-line.cc.
std::string ns3::CommandLineHelper::GetDefault< Time > | ( | const std::string & | defaultValue | ) |
Helper to specialize CommandLine::UserItem::GetDefault() on types needing special handling.
[in] | defaultValue | The default value from the UserItem. |
Definition at line 931 of file command-line.cc.
References ns3::Time::As().
bool ns3::CommandLineHelper::UserItemParse | ( | const std::string & | value, |
T & | dest ) |
Helpers to specialize CommandLine::UserItem::Parse()
[in] | value | The argument name |
[out] | dest | The argument location |
T | [deduced] The type being specialized |
true
if parsing was successful Definition at line 796 of file command-line.h.
Referenced by ns3::CommandLine::UserItem< T >::Parse().