A Discrete-Event Network Simulator
command-line.h File Reference

ns3::CommandLine declaration. More...

#include <string>
#include <sstream>
#include <vector>
#include "callback.h"
+ Include dependency graph for command-line.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  ns3::CommandLine::CallbackItem
 An argument Item using a Callback to parse the input. More...
class  ns3::CommandLine
 Parse command-line arguments. More...
class  ns3::CommandLine::Item
 The argument abstract base class. More...
class  ns3::CommandLine::StringItem
 Extension of Item for strings. More...
class  ns3::CommandLine::UserItem< T >
 An argument Item assigning to POD. More...


 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 Helpers for CommandLine to specialize on bool.


std::ostream & ns3::operator<< (std::ostream &os, const CommandLine &cmd)
 Overloaded operator << to print program usage (shortcut for CommandLine::PrintHelper) More...
template<typename T >
bool ns3::CommandLineHelper::UserItemParse (const std::string value, T &val)
 Helpers to specialize CommandLine::UserItem::Parse() More...
bool ns3::CommandLineHelper::UserItemParse< bool > (const std::string value, bool &val)
 Specialization of CommandLine::UserItem to bool. More...
bool ns3::CommandLineHelper::UserItemParse< uint8_t > (const std::string value, uint8_t &val)
 Specialization of CommandLine::UserItem to uint8_t to distinguish from char. More...
template<typename T >
std::string ns3::CommandLineHelper::GetDefault (const T &val)
 Helper to specialize CommandLine::UserItem::GetDefault() on bool. More...
std::string ns3::CommandLineHelper::GetDefault< bool > (const bool &val)
 Helper to specialize CommandLine::UserItem::GetDefault() on bool. More...

Detailed Description

ns3::CommandLine declaration.

Definition in file command-line.h.