CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
publish::Command::Argument Struct Reference

#include <command.h>

Public Member Functions

 Argument ()
 Argument (const std::string &v)

Public Attributes

std::string value_str
int64_t value_int

Detailed Description

Encapsulates the value of parameters that are not switches. The conversion to an int is done unconditionally, which doesn't hurt even for string arguments.

Definition at line 99 of file command.h.

Constructor & Destructor Documentation

publish::Command::Argument::Argument ( )

Definition at line 100 of file command.h.

publish::Command::Argument::Argument ( const std::string &  v)

Definition at line 101 of file command.h.

Member Data Documentation

int64_t publish::Command::Argument::value_int

Definition at line 104 of file command.h.

Referenced by publish::Command::ParseOptions().

std::string publish::Command::Argument::value_str

Definition at line 103 of file command.h.

Referenced by publish::Command::ParseOptions().

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