Bitstream Interpretation Library (BIL)
0.1
|
Namespace for PIP direction constants. More...
Typedefs | |
typedef unsigned char | direction_t |
PIP direction type. |
Functions | |
const char * | toString (direction_t dir) |
Returns a string representation of given direction constant. | |
direction_t | fromString (const char *s) |
Returns direction constant of given string representation. |
Variables | |
const direction_t | MONODI_BUF = 0x00 |
Directional, buffered. | |
const direction_t | BIDI_UNBUF = 0x01 |
Bidirectional, unbuffered. | |
const direction_t | BIDI_ONEBUF = 0x02 |
Bidirectional, buffered in one direction. | |
const direction_t | BIDI_TWOBUF = 0x03 |
Bidirectional, buffered in both directions. | |
const char *const | MONODI_BUF_STRING = "->" |
const char *const | BIDI_UNBUF_STRING = "==" |
const char *const | BIDI_ONEBUF_STRING = "=>" |
const char *const | BIDI_TWOBUF_STRING = "=-" |
Namespace for PIP direction constants.
The connections established by PIPs can have different directions, which are enumerated here.
typedef unsigned char bil::PIPDirection::direction_t |
PIP direction type.
Definition at line 22 of file PIPDirection.hpp.
const char * bil::PIPDirection::toString | ( | direction_t | dir | ) |
Returns a string representation of given direction constant.
dir | The direction constant. |
Definition at line 18 of file PIPDirection.cpp.
PIPDirection::direction_t bil::PIPDirection::fromString | ( | const char * | s | ) |
Returns direction constant of given string representation.
s | The string representation. |
. |
Definition at line 31 of file PIPDirection.cpp.
const direction_t bil::PIPDirection::MONODI_BUF = 0x00 |
Directional, buffered.
Definition at line 26 of file PIPDirection.hpp.
const direction_t bil::PIPDirection::BIDI_UNBUF = 0x01 |
Bidirectional, unbuffered.
Definition at line 29 of file PIPDirection.hpp.
const direction_t bil::PIPDirection::BIDI_ONEBUF = 0x02 |
Bidirectional, buffered in one direction.
Definition at line 32 of file PIPDirection.hpp.
const direction_t bil::PIPDirection::BIDI_TWOBUF = 0x03 |
Bidirectional, buffered in both directions.
Definition at line 35 of file PIPDirection.hpp.
const char *const bil::PIPDirection::MONODI_BUF_STRING = "->" |
Definition at line 12 of file PIPDirection.cpp.
const char *const bil::PIPDirection::BIDI_UNBUF_STRING = "==" |
Definition at line 13 of file PIPDirection.cpp.
const char *const bil::PIPDirection::BIDI_ONEBUF_STRING = "=>" |
Definition at line 14 of file PIPDirection.cpp.
const char *const bil::PIPDirection::BIDI_TWOBUF_STRING = "=-" |
Definition at line 15 of file PIPDirection.cpp.