FBB::Arg(3bobcat)

Command Line Arguments
(libbobcat-dev_4.08.06-x.tar.gz)

2005-2018

NAME

FBB::Arg - A singleton class interfacing command line arguments

SYNOPSIS

#include <bobcat/arg>
Linking option: -lbobcat

DESCRIPTION

Singleton class (see Gamma et al., 1995) built around getopt()(3) and getopt_long()(3). The class handles short- and long command-line options,

NAMESPACE

FBB
All constructors, members, operators and manipulators, mentioned in this man-page, are defined in the namespace FBB.

INHERITS FROM

-

ENUMERATION

The FBB::Arg::Type enumeration is defined by the FBB::Arg class. It is used to specify whether or not long options require arguments. It defines the following values: None, Required, Optional.

These values are used when constructing objects of the following (nested) class FBB::Arg::LongOption.

THE NESTED CLASS FBB::Arg::LongOption

Long options are defined using objects of the nested class FBB::Arg::LongOption. This class provides the following constructors: In a program, long options may be specified as follows:

CONSTRUCTORS

Since the class is a Singleton there are no public constructors. Instead, static members are offered for initializing and accessing the single FBB::Arg object.

STATIC MEMBERS

OVERLOADED OPERATOR

NON-STATIC MEMBER FUNCTIONS