A Discrete-Event Network Simulator
API
Helpers to Specialize on bool
+ Collaboration diagram for Helpers to Specialize on bool:

Namespaces

 ns3::CommandLineHelper
 Helpers for CommandLine to specialize on bool.
 
template<typename T >
bool ns3::CommandLineHelper::UserItemParse (const std::string value, T &val)
 Helpers to specialize CommandLine::UserItem::Parse() on bool. More...
 
template<>
bool ns3::CommandLineHelper::UserItemParse< bool > (const std::string value, bool &val)
 Helpers to specialize CommandLine::UserItem::Parse() on bool. More...
 
template<typename T >
std::string ns3::CommandLineHelper::GetDefault (const T &val)
 Helper to specialize CommandLine::UserItem::GetDefault() on bool. More...
 
template<>
std::string ns3::CommandLineHelper::GetDefault< bool > (const bool &val)
 Helper to specialize CommandLine::UserItem::GetDefault() on bool. More...
 

Detailed Description

Function Documentation

template<typename T >
std::string ns3::CommandLineHelper::GetDefault ( const T &  val)

Helper to specialize CommandLine::UserItem::GetDefault() on bool.

Parameters
[in]valThe argument value
Returns
The string representation of value

Definition at line 629 of file command-line.h.

template<>
std::string ns3::CommandLineHelper::GetDefault< bool > ( const bool &  val)

Helper to specialize CommandLine::UserItem::GetDefault() on bool.

Parameters
[in]valThe argument value
Returns
The string representation of value

Definition at line 662 of file command-line.cc.

template<typename T >
bool ns3::CommandLineHelper::UserItemParse ( const std::string  value,
T &  val 
)

Helpers to specialize CommandLine::UserItem::Parse() on bool.

Parameters
[in]valueThe argument name
[out]valThe argument location
Returns
true if parsing was successful

Definition at line 646 of file command-line.h.

References second::cmd, and ns3::operator<<().

+ Here is the call graph for this function:

template<>
bool ns3::CommandLineHelper::UserItemParse< bool > ( const std::string  value,
bool &  val 
)

Helpers to specialize CommandLine::UserItem::Parse() on bool.

Parameters
[in]valueThe argument name
[out]valThe argument location
Returns
true if parsing was successful

Definition at line 671 of file command-line.cc.