#include <limit.h>
Public Methods | |
Limit () | |
Limit (const Value &limitValue, LimitType type, int days=0) | |
bool | isValid () const |
const Value & | value () const |
LimitType | type () const |
int | daysForTimeLimit () const |
Static Public Methods | |
LimitType | typeFromChar (char type_char) |
char | typeToChar (LimitType type_enum) |
|
Create a blank limit that will return <false> on calling isValid() |
|
Creates a new limit whith the specified limit data
|
|
Returns the number of days for rotating time limits (Zeitlimit), if it is of type LIMIT_TIME (Zeitlimit). Otherwise this is zero. |
|
Returns <true> is this is a valid limit. Some banks tell us limits, some don't, for some accounts there are limits, for others not. If it is not valid, then we don't have any information about the existance of a limit. |
|
Returns the type of limit. @note: This is *not* the one-character type representation that is used in the HBCI communication. Instead, this is only a value from the enum LimitType. If you need the HBCI-compliant type character, then put the result from here through Limit::typeToChar. |
|
Returns the enum value from a HBCI compliant one-character type. |
|
Returns the HBCI compliant one-character type that belongs to one particular enum value. |
|
Returns the value of the limit |