vg
tools for working with variation graphs
Namespaces | Functions | Variables
options.cpp File Reference
#include "options.hpp"

Namespaces

 vg
 
 vg::subcommand
 

Functions

int vg::subcommand::get_option_id ()
 Get a new unique option ID. More...
 
template<>
const char * vg::subcommand::get_metavar< size_t > ()
 
template<>
const char * vg::subcommand::get_metavar< int > ()
 
template<>
const char * vg::subcommand::get_metavar< int8_t > ()
 
template<>
const char * vg::subcommand::get_metavar< bool > ()
 
template<>
const char * vg::subcommand::get_metavar< double > ()
 
template<>
const char * vg::subcommand::get_metavar< std::string > ()
 
void vg::subcommand::print_table (const std::vector< std::pair< std::string, std::string >> &rows, ostream &out)
 

Variables

const ValidatorFunction< double > vg::subcommand::double_is_positive
 Validate that a double is positive, or throw std::domain_error. More...
 
const ValidatorFunction< double > vg::subcommand::double_is_nonnegative
 Validate that a double is not negative, or throw std::domain_error. More...
 
const ValidatorFunction< size_t > vg::subcommand::size_t_is_nonzero
 Validate that a size_t is not zero, or throw std::domain_error. More...
 
const ValidatorFunction< int > vg::subcommand::int_is_nonnegative
 Validate that an int is not negative, or throw std::domain_error;. More...
 

Detailed Description

options.cpp: option parser system implementation