UCommon

ucommon/shell.h File Reference

Generic shell parsing and application services. More...

#include <ucommon/string.h>
#include <ucommon/memory.h>
#include <ucommon/buffer.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  shell
 A utility class for generic shell operations. More...
class  shell::charopt
 Character option for shell parsing. More...
class  shell::counteropt
 Counter option for shell parsing. More...
class  shell::errormap
 A class to redefine error messages. More...
class  shell::flagopt
 Flag option for shell parsing. More...
class  shell::groupopt
 Grouping option. More...
class  shell::iobuf
 Process pipe with I/O buffering. More...
class  shell::numericopt
 Numeric option for shell parsing. More...
class  shell::Option
 A base class used to create parsable shell options. More...
class  shell::pipeio
 A class to control a process that is piped. More...
class  shell::stringopt
 Text option for shell parsing. More...

Defines

#define INVALID_PID_VALUE   -1

Typedefs

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

Functions

const char * _STR (String &s)
const char * _TEXT (const char *s)
 Abusive compilers...

Detailed Description

Generic shell parsing and application services.

Definition in file shell.h.


Function Documentation

const char* _TEXT ( const char *  s) [inline]

Abusive compilers...

Invoke translation lookup if available. This can also be used to mark text constants that need to be translated. It should not be used with pointer variables, which should instead call shell::text directly. The primary purpose is to allow extraction of text to be internationalized with xgettext "--keyword=_TEXT:1".

Definition at line 970 of file shell.h.

Here is the call graph for this function: