nfd::tools::nfdc::CommandArguments Class Reference

contains named command arguments More...

#include <command-arguments.hpp>

Inheritance diagram for nfd::tools::nfdc::CommandArguments:
Collaboration diagram for nfd::tools::nfdc::CommandArguments:

Public Member Functions

template<typename T >
get (const std::string &key, const T &defaultValue=T()) const
 

Public Attributes

keys
 STL member. More...
 
elements
 STL member. More...
 

Detailed Description

contains named command arguments

Definition at line 38 of file command-arguments.hpp.

Member Function Documentation

template<typename T >
T nfd::tools::nfdc::CommandArguments::get ( const std::string &  key,
const T &  defaultValue = T() 
) const
inline
Returns
the argument value, or a default value if the argument is omitted on command line

Definition at line 45 of file command-arguments.hpp.

Member Data Documentation

T std::map< K, T >::elements
inherited

STL member.

K std::map< K, T >::keys
inherited

STL member.