A Discrete-Event Network Simulator
API
Classes | Namespaces | Functions
command-line.h File Reference

ns3::CommandLine declaration. More...

#include <string>
#include <sstream>
#include <vector>
#include "callback.h"

Go to the source code of this file.

Classes

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
 
class  ns3::CommandLine::UserItem< T >
 An argument Item assigning to POD. More...
 

Namespaces

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

Functions

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() 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

ns3::CommandLine declaration.

Definition in file command-line.h.