#include <hbcistring.h>
Static Public Methods | |
DLLIMPORT string | nextDE (const string &data, int startIndex=0) |
DLLIMPORT string | nextDEG (const string &data, int startIndex=0) |
DLLIMPORT string | nextSEG (const string &data, int startIndex=0) |
DLLIMPORT string | num2string (int number, bool fillWithZero=false, int length=0) |
DLLIMPORT double | string2double (const string &data) |
DLLIMPORT string | escape (const string &unescaped) |
DLLIMPORT string | unEscape (const string &escaped) |
DLLIMPORT string | date2string () |
DLLIMPORT string | time2string () |
DLLIMPORT string | transformToDTAUS0 (const string &msg) |
DLLIMPORT string | transformToHBCIBinData (const string &data) |
DLLIMPORT string | extractBinData (const string &data) |
DLLIMPORT string | nextTLV (const string &data, int startIndex=0) |
DLLIMPORT unsigned int | typeTLV (const string &tlv) |
DLLIMPORT int | sizeTLV (const string &tlv) |
DLLIMPORT string | dataTLV (const string &tlv) |
DLLIMPORT string | newTLV (int tag, const string &data) |
DLLIMPORT string | dumpToString (const string &s) |
DLLIMPORT const char * | hbciSegmentName (const char *segment) |
DLLIMPORT void | simpleDump (const string &s, FILE *f=stderr) |
This class offers some (only static) methods to operate on strings.
|
Returns the data of a tag.
|
|
returns a string-represenation of the current date (YYYYMMDD) |
|
Creates a human-readable version of the HBCI string, i.e. strips out binary data and replaces it with simple placeholder. Used for debugging purposes. |
|
int the hbci-protocol, some characters have special meanings (eg +, ?, : ,'). |
|
return the data stored in a hbci-string eg <@23@lkasd083lkn23., ihpoh>
|
|
|
|
Creates a new TLV.
|
|
return the next DE (DatenElement, see HBCI-Specification) from a given startIndex on |
|
return the next DE (DatenElementGruppe, see HBCI-Specification) from a given startIndex on |
|
return the next SEG (Segment, see HBCI-Specification) from a given startIndex on |
|
Returns the TLV starting at startIndex. A TLV is a special string, whose first two bytes have a special meaning: Byte 0=Tag (whatever value you like) Byte 1=Length of the data part Bytes 2-x=Value
|
|
converts a number to a string fills new string with <0> from the left side if <fillWithZero>==true and <length> > 0 |
|
Simply dumps a string both hex and ASCII dump. Does not interprete the data in any way.
|
|
Returns the size of the data in the TLV.
|
|
Converts a string into a double, according to HBCI specification. This method follows exactly the same behavior as the string-valued constructor of HBCI::Value, so please see the details there. For example, the HBCI-format "4000," is converted to the double value "4000.0". In case of format errors, a HBCI::Error is thrown. |
|
returns a string-represenation of the current time (HHMMSS) |
|
transform given text to the dtaus0-format |
|
wrap data with <length-of-data><data> |
|
Returns the type of the tag (tag number).
|
|
|