UCommon
shell.h File Reference

Generic shell parsing and application services. More...

#include <ucommon/string.h>
#include <ucommon/memory.h>
Include dependency graph for shell.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  ucommon::shell
 A utility class for generic shell operations. More...
 
class  ucommon::shell::charopt
 Character option for shell parsing. More...
 
class  ucommon::shell::counteropt
 Counter option for shell parsing. More...
 
class  ucommon::shell::errormap
 A class to redefine error messages. More...
 
class  ucommon::shell::flagopt
 Flag option for shell parsing. More...
 
class  ucommon::shell::groupopt
 Grouping option. More...
 
class  ucommon::shell::numericopt
 Numeric option for shell parsing. More...
 
class  ucommon::shell::Option
 A base class used to create parsable shell options. More...
 
class  ucommon::shell::stringopt
 Text option for shell parsing. More...
 

Namespaces

namespace  ucommon
 Common namespace for all ucommon objects.
 

Macros

#define __STR(x)   (static_cast<const char *>(x))
 
#define _STR(x)   ((const char *)(x))
 Abusive compilers...
 
#define INVALID_PID_VALUE   -1
 

Typedefs

typedef shell ucommon::shell_t
 Convenience type to manage and pass shell objects.
 

Functions

const char * ucommon::__TEXT (const char *s)
 Invoke translation lookup if available.
 
const char * ucommon::_TEXT (const char *s)
 

Detailed Description

Generic shell parsing and application services.

Definition in file shell.h.

Macro Definition Documentation

◆ __STR

#define __STR ( x)    (static_cast<const char *>(x))

Definition at line 899 of file shell.h.

◆ _STR

#define _STR ( x)    ((const char *)(x))

Abusive compilers...

Definition at line 898 of file shell.h.

◆ INVALID_PID_VALUE

#define INVALID_PID_VALUE   -1

Definition at line 43 of file shell.h.