clipp::debug Namespace Reference

printing methods for debugging command line interfaces More...

Functions

doc_string doc_label (const parameter &p)
 prints first flag or value label of a parameter More...
 
doc_string doc_label (const group &)
 
doc_string doc_label (const pattern &p)
 
template<class OStream >
void print (OStream &os, const parsing_result &result)
 prints parsing result More...
 
template<class OStream >
void print (OStream &os, const parameter &p)
 prints parameter label and some properties More...
 
template<class OStream >
void print (OStream &os, const group &g, int level)
 prints group and its contents; uses indentation More...
 
template<class OStream >
void print (OStream &os, const pattern &param, int level=0)
 prints group or parameter; uses indentation More...
 

Detailed Description

printing methods for debugging command line interfaces

Function Documentation

◆ doc_label() [1/3]

doc_string clipp::debug::doc_label ( const group )
inline

Definition at line 6144 of file clipp.h.

◆ doc_label() [2/3]

doc_string clipp::debug::doc_label ( const parameter p)
inline

prints first flag or value label of a parameter

Definition at line 6137 of file clipp.h.

◆ doc_label() [3/3]

doc_string clipp::debug::doc_label ( const pattern p)
inline

Definition at line 6149 of file clipp.h.

◆ print() [1/4]

template<class OStream >
void clipp::debug::print ( OStream &  os,
const group g,
int  level 
)

prints group and its contents; uses indentation

Definition at line 6236 of file clipp.h.

◆ print() [2/4]

template<class OStream >
void clipp::debug::print ( OStream &  os,
const parameter p 
)

prints parameter label and some properties

Definition at line 6197 of file clipp.h.

◆ print() [3/4]

template<class OStream >
void clipp::debug::print ( OStream &  os,
const parsing_result result 
)

prints parsing result

Definition at line 6161 of file clipp.h.

◆ print() [4/4]

template<class OStream >
void clipp::debug::print ( OStream &  os,
const pattern param,
int  level = 0 
)

prints group or parameter; uses indentation

Definition at line 6218 of file clipp.h.