All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Static Public Member Functions | List of all members
OptionParser::PrintUsageImplementation Struct Reference

#include <optionparser.h>

Classes

struct  FunctionWriter
 
struct  IStringWriter
 
class  LinePartIterator
 
class  LineWrapper
 
struct  OStreamWriter
 
struct  StreamWriter
 
struct  SyscallWriter
 
struct  TemporaryWriter
 

Static Public Member Functions

static void upmax (int &i1, int i2)
 
static void indent (IStringWriter &write, int &x, int want_x)
 
static bool isWideChar (unsigned ch)
 Returns true if ch is the unicode code point of a wide character. More...
 
static void printUsage (IStringWriter &write, const Descriptor usage[], int width=80, int last_column_min_percent=50, int last_column_own_line_max_percent=75)
 

Member Function Documentation

static void OptionParser::PrintUsageImplementation::indent ( IStringWriter write,
int &  x,
int  want_x 
)
inlinestatic
static bool OptionParser::PrintUsageImplementation::isWideChar ( unsigned  ch)
inlinestatic

Returns true if ch is the unicode code point of a wide character.

Note
The following character ranges are treated as wide
1100..115F
2329..232A (just 2 characters!)
2E80..A4C6 except for 303F
A960..A97C
AC00..D7FB
F900..FAFF
FE10..FE6B
FF01..FF60
FFE0..FFE6
1B000......
static void OptionParser::PrintUsageImplementation::printUsage ( IStringWriter write,
const Descriptor  usage[],
int  width = 80,
int  last_column_min_percent = 50,
int  last_column_own_line_max_percent = 75 
)
inlinestatic
static void OptionParser::PrintUsageImplementation::upmax ( int &  i1,
int  i2 
)
inlinestatic

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