CommandLine::Parameter Struct Reference

Manages a single parameter, may be optionally separated into name=value. More...

#include <CommandLine.h>

Collaboration diagram for CommandLine::Parameter:
[legend]

Public Member Functions

 operator bool () const
 
String getName () const
 Get parameter name, if there is one. More...
 
String getValue () const
 Get parameter value. More...
 

Public Attributes

const char * text {nullptr}
 The text exactly as presented on the command line. More...
 

Detailed Description

Manages a single parameter, may be optionally separated into name=value.

Member Function Documentation

◆ getName()

String CommandLine::Parameter::getName ( ) const

Get parameter name, if there is one.

◆ getValue()

String CommandLine::Parameter::getValue ( ) const

Get parameter value.

◆ operator bool()

CommandLine::Parameter::operator bool ( ) const
inline

Member Data Documentation

◆ text

const char* CommandLine::Parameter::text {nullptr}

The text exactly as presented on the command line.


The documentation for this struct was generated from the following file: