Enumerations | Functions
cmdoptionflags.hh File Reference
#include <mia/core/defines.hh>
Include dependency graph for cmdoptionflags.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  CCmdOptionFlags : int {
  CCmdOptionFlags::none = 0, CCmdOptionFlags::required = 1, CCmdOptionFlags::input = 2, CCmdOptionFlags::output = 4,
  CCmdOptionFlags::required_input = 3, CCmdOptionFlags::required_output = 5, CCmdOptionFlags::validate = 8
}
 

Functions

bool has_flag (CCmdOptionFlags flags, CCmdOptionFlags test)
 
CCmdOptionFlags operator& (CCmdOptionFlags lhs, CCmdOptionFlags rhs)
 
CCmdOptionFlags operator-= (CCmdOptionFlags &lhs, CCmdOptionFlags rhs)
 
std::ostream & operator<< (std::ostream &os, CCmdOptionFlags flags)
 
CCmdOptionFlags operator| (CCmdOptionFlags lhs, CCmdOptionFlags rhs)
 

Enumeration Type Documentation

enum CCmdOptionFlags : int
strong
Enumerator
none 
required 
input 
output 
required_input 
required_output 
validate 

Definition at line 28 of file cmdoptionflags.hh.

Function Documentation

bool has_flag ( CCmdOptionFlags  flags,
CCmdOptionFlags  test 
)
inline

Definition at line 54 of file cmdoptionflags.hh.

Referenced by make_opt().

CCmdOptionFlags operator& ( CCmdOptionFlags  lhs,
CCmdOptionFlags  rhs 
)
inline

Definition at line 43 of file cmdoptionflags.hh.

CCmdOptionFlags operator-= ( CCmdOptionFlags lhs,
CCmdOptionFlags  rhs 
)
inline

Definition at line 48 of file cmdoptionflags.hh.

std::ostream& operator<< ( std::ostream &  os,
CCmdOptionFlags  flags 
)
inline

Definition at line 59 of file cmdoptionflags.hh.

References input, none, output, required, required_input, required_output, and validate.

CCmdOptionFlags operator| ( CCmdOptionFlags  lhs,
CCmdOptionFlags  rhs 
)
inline

Definition at line 38 of file cmdoptionflags.hh.