A Discrete-Event Network Simulator
API
Command Line Parsing

A uniform way to specify program documentation, allowed command line arguments and help strings, and set any attribute or global value, all from the command line directly. More...

+ Collaboration diagram for Command Line Parsing:

Modules

 Helpers to Specialize on bool
 

Files

file  command-line-example.cc
 Example program illustrating use of ns3::CommandLine.
 
file  command-line-test-suite.cc
 CommandLine test suite.
 
file  command-line.cc
 ns3::CommandLine implementation.
 
file  command-line.h
 ns3::CommandLine declaration.
 

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

Detailed Description

A uniform way to specify program documentation, allowed command line arguments and help strings, and set any attribute or global value, all from the command line directly.

The main entry point is CommandLine