#include <IOInfoASCII.h>
Inheritance diagram for IOInfoASCII::
Public Methods | |
IOInfoASCII () | |
Standard constructor. | |
IOInfoASCII (char) | |
Constructor. | |
IOInfoASCII (QString) | |
Constructor. | |
~IOInfoASCII () | |
Destructor. | |
QString | convertToString () |
Returns a string representing the input/output information. | |
QString | convertToBinStr () |
Returns a string representing the binary input/output information. | |
QString | convertToHexStr () |
Returns a string representing the hexadecimal input/output information. | |
bool | convertToASCII (char *ascii, int maxlen, int &length, bool singlechar=FALSE) const |
Converts the I/O information into a string of ASCII characters. More... | |
IOInfoBin | convertToBin (int numbits) const |
Converts this object into an IOInfoBin object. | |
int | convertToInt () |
Converts the I/O info into an integer value. | |
void | convertToBinList (IOInfoList &list) |
Converts the I/O info into a list of IOInfoBin objects. | |
int | getLength () const |
Returns the length of this I/O info (in bits). | |
bool | matchesOld (IOInfo *) |
Old 'matches' function. | |
bool | isSingle () |
Returns TRUE if this I/O info is a single character. | |
QString | getInfo () |
Returns the I/O info. | |
void | setInfo (QString i) |
Sets the I/O info. | |
void | setBin (QString bin, int numbits) |
Sets this I/O info to the binary string bin. | |
void | setASCII (const char *ascii, int asciilen, int numbits) |
Sets this I/O info to a string of ASCII characters. More... | |
void | setString (QString string, int numbits) |
Sets this I/O info to the string string. | |
QList< IOInfo > | getSingles () |
Returns a list of IOInfo objects with single characters representing this I/O info. | |
IOInfo * | clone () |
Produces a copy of this object and returns a pointer to it. | |
void | split (IOInfoList &) |
Splits the I/O info into its constituents. | |
Static Public Methods | |
char | escapeToChar (char) |
Converts an escape character into the ASCII character. | |
bool | isReadable (char) |
Returns TRUE if the character cp is readable. | |
int | findChar (const char *ascii, int len, char c) |
Finds a character in an ASCII string. More... | |
Private Attributes | |
QString | info |
I/O information. |
|
Converts the I/O information into a string of ASCII characters.
Reimplemented from IOInfo. |
|
Finds a character in an ASCII string.
|
|
Sets this I/O info to a string of ASCII characters.
Reimplemented from IOInfo. |