#include <IOInfo.h>
Inheritance diagram for IOInfo::
Public Methods | |
IOInfo () | |
Constructor. | |
virtual | ~IOInfo () |
Destructor. | |
bool | equals (IOInfo *) |
Returns TRUE if io equals this object. | |
virtual bool | matches (IOInfo *) |
Returns TRUE if io matches this object (i.e. this I/O info contains io). | |
virtual QString | convertToString ()=0 |
Returns a string representing the input/output information. | |
virtual QString | convertToBinStr ()=0 |
Returns a string representing the binary input/output information. | |
virtual QString | convertToHexStr ()=0 |
Returns a string representing the hexadecimal input/output information. | |
virtual bool | convertToASCII (char *ascii, int maxlen, int &length, bool singlechar=FALSE) const=0 |
Converts the I/O information into a string of ASCII characters. More... | |
virtual IOInfoBin | convertToBin (int numbits) const=0 |
Converts this object into an IOInfoBin object. | |
virtual int | convertToInt ()=0 |
Converts the I/O info into an integer value. | |
virtual void | convertToBinList (IOInfoList &list)=0 |
Converts the I/O info into a list of IOInfoBin objects. | |
virtual IOInfo * | clone ()=0 |
Produces a copy of this object and returns a pointer to it. | |
virtual void | setBin (QString bin, int numbits)=0 |
Sets this I/O info to the binary string bin. | |
virtual void | setASCII (const char *ascii, int asciilen, int numbits)=0 |
Sets this I/O info to a string of ASCII characters. More... | |
virtual void | setString (QString string, int numbits)=0 |
Sets this I/O info to the string string. | |
virtual int | getLength () const=0 |
Returns the length of this I/O info (in bits). | |
virtual bool | isSingle ()=0 |
Returns TRUE if this I/O info is a single character. | |
virtual QList< IOInfo > | getSingles ()=0 |
Returns a list of IOInfo objects with single characters representing this I/O info. | |
virtual void | setSize (int) |
Sets the size of the I/O info (in bits). | |
virtual void | split (IOInfoList &)=0 |
Splits the I/O info into its constituents. |
|
Converts the I/O information into a string of ASCII characters.
Reimplemented in IOInfoASCII, and IOInfoBin. |
|
Sets this I/O info to a string of ASCII characters.
Reimplemented in IOInfoASCII, and IOInfoBin. |