A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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)
 Helper to specialize UserItem::Parse on bool. More...
 
template<>
bool ns3::CommandLineHelper::UserItemParse< bool > (const std::string value, bool &val)
 Helper to specialize UserItem::Parse on bool. More...
 
template<typename T >
std::string ns3::CommandLineHelper::GetDefault (const T &val)
 Helper to specialize UserItem::GetDefault on bool. More...
 
template<>
std::string ns3::CommandLineHelper::GetDefault< bool > (const bool &val)
 Helper to specialize UserItem::GetDefault on bool. More...
 

Detailed Description

Function Documentation

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

Helper to specialize UserItem::GetDefault on bool.

Parameters
valthe argument value
Returns
the string representation of value

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

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

Helper to specialize UserItem::GetDefault on bool.

Parameters
valthe argument value
Returns
the string representation of value

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

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

Helper to specialize UserItem::Parse on bool.

Parameters
valuethe argument name
valthe argument location
Returns
true if parsing was successful

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

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

Helper to specialize UserItem::Parse on bool.

Parameters
valuethe argument name
valthe argument location
Returns
true if parsing was successful

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