#include <new_sim_text_buffer.h>
Public Member Functions | |
| NewSimulatorTextBuffer () | |
| Constructor. | |
| NewSimulatorTextBuffer (const char *string, SaHpiTextTypeT type, SaHpiLanguageT l=SAHPI_LANG_ENGLISH) | |
| full qualified constructor | |
| NewSimulatorTextBuffer (const SaHpiTextBufferT &buf) | |
| full qualified constructor | |
| void | Clear () |
| Clear the internal m_buffer and set it to default values. | |
| operator SaHpiTextBufferT () const | |
| return the internal buffer | |
| SaHpiUint8T | DataLength () const |
| return the DataLength | |
| SaHpiTextTypeT | CheckAscii (const char *s) |
| Return the type of the string. | |
| bool | SetAscii (const char *string, SaHpiTextTypeT type, SaHpiLanguageT l=SAHPI_LANG_ENGLISH) |
| Set the value internally on ASCII. | |
| bool | SetData (SaHpiTextBufferT data) |
| Fill m_buffer. | |
| int | GetAscii (char *buffer, unsigned int len) const |
| Fill the an Ascii buffer with the internal value. | |
| bool | operator== (const NewSimulatorTextBuffer &tb) const |
| Comparison equal operator. | |
| bool | operator!= (const NewSimulatorTextBuffer &tb) const |
| Comparison not equal operator. | |
Protected Member Functions | |
| int | BinaryToAscii (char *buffer, unsigned int len) const |
| Copy the internal buffer into a Ascii buffer. | |
| int | BcdPlusToAscii (char *buffer, unsigned int len) const |
| Copy the internal buffer into a Ascii buffer. | |
| int | Ascii6ToAscii (char *buffer, unsigned int len) const |
| Copy the internal buffer into a Ascii buffer. | |
| int | LanguageToAscii (char *buffer, unsigned int len) const |
| Copy the internal buffer into a Ascii buffer Only SAHPI_LANG_ENGLISH is supported. | |
| int | AsciiToBcdPlus (const char *input) |
| Convert an ascii string to BCDPLUS. | |
| int | AsciiToAscii6 (const char *input) |
| Convert an ascii string to ascii6. | |
| int | AsciiToLanguage (const char *input) |
| Copy an ascii string into the internal structure. | |
Protected Attributes | |
| SaHpiTextBufferT | m_buffer |
| internal SaHpiTextBufferT variable | |
|
||||||||||||
|
Copy the internal buffer into a Ascii buffer.
|
|
|
Convert an ascii string to ascii6.
|
|
|
Convert an ascii string to BCDPLUS.
|
|
|
Copy an ascii string into the internal structure.
|
|
||||||||||||
|
Copy the internal buffer into a Ascii buffer.
|
|
||||||||||||
|
Copy the internal buffer into a Ascii buffer.
|
|
|
Return the type of the string.
|
|
||||||||||||
|
Fill the an Ascii buffer with the internal value.
|
|
||||||||||||
|
Copy the internal buffer into a Ascii buffer Only SAHPI_LANG_ENGLISH is supported.
|
|
||||||||||||||||
|
Set the value internally on ASCII.
|
|
|
Fill m_buffer.
|
1.4.4