JayBeams  0.1
Another project to have fun coding.
Public Member Functions | Private Attributes | List of all members
jb::usage Class Reference

A simple class to communicate the result of parsing the options. More...

#include <usage.hpp>

Inheritance diagram for jb::usage:

Public Member Functions

 usage (std::string const &msg, int e)
 
 usage (char const *msg, int e)
 
int exit_status () const
 

Private Attributes

int exit_
 

Detailed Description

A simple class to communicate the result of parsing the options.

Definition at line 11 of file usage.hpp.

Constructor & Destructor Documentation

◆ usage() [1/2]

jb::usage::usage ( std::string const &  msg,
int  e 
)
inline

Definition at line 13 of file usage.hpp.

◆ usage() [2/2]

jb::usage::usage ( char const *  msg,
int  e 
)
inline

Definition at line 17 of file usage.hpp.

Member Function Documentation

◆ exit_status()

int jb::usage::exit_status ( ) const
inline

Definition at line 21 of file usage.hpp.

References exit_.

Referenced by BOOST_AUTO_TEST_CASE(), main(), and jb::testing::detail::report_exception_at_exit().

Member Data Documentation

◆ exit_

int jb::usage::exit_
private

Definition at line 27 of file usage.hpp.

Referenced by exit_status().


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