Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

account.h File Reference

Definitions of HBCI::Account and its HBCI_Account C wrapper. More...

#include <list>
#include <string>
#include <openhbci/pointer.h>
#include <openhbci/dllimport.h>
#include <openhbci/transaction.h>
#include <openhbci/value.h>
#include <openhbci/user.h>
#include <openhbci/customer.h>
#include <openhbci/bank.h>
#include <openhbci/balance.h>
#include <openhbci/standingorder.h>
#include <openhbci/limit.h>

Go to the source code of this file.

Namespaces

namespace  HBCI

list_HBCI_Account functions

typedef void *(* list_HBCI_Account_cb )(const HBCI_Account *account, void *user_data)
void list_HBCI_Account_delete (list_HBCI_Account *l)
void list_HBCI_Account_iter_delete (list_HBCI_Account_iter *l)
int list_HBCI_Account_size (const list_HBCI_Account *l)
list_HBCI_Account_iterlist_HBCI_Account_begin (const list_HBCI_Account *l)
list_HBCI_Account_iterlist_HBCI_Account_end (const list_HBCI_Account *l)
const HBCI_Accountlist_HBCI_Account_iter_get (const list_HBCI_Account_iter *l)
void list_HBCI_Account_iter_next (list_HBCI_Account_iter *l)
int list_HBCI_Account_iter_equal (const list_HBCI_Account_iter *l1, const list_HBCI_Account_iter *l2)
void * list_HBCI_Account_foreach (const list_HBCI_Account *list, list_HBCI_Account_cb func, void *user_data)

HBCI_Account functions

const HBCI_BankHBCI_Account_bank (const HBCI_Account *h)
const char * HBCI_Account_accountId (const HBCI_Account *h)
const char * HBCI_Account_accountSuffix (const HBCI_Account *h)
const char * HBCI_Account_instituteCode (const HBCI_Account *h)
int HBCI_Account_countryCode (const HBCI_Account *h)
const char * HBCI_Account_name1 (const HBCI_Account *h)
 Returns the name of the owner of this account.

const char * HBCI_Account_name2 (const HBCI_Account *h)
 Returns the second part of the name of the owner of this account.

const char * HBCI_Account_accountName (const HBCI_Account *h)
 Returns the name of this account.

const char * HBCI_Account_currency (const HBCI_Account *h)
const list_HBCI_CustomerHBCI_Account_authorizedCustomers (const HBCI_Account *h)
int HBCI_Account_isAuthorized (const HBCI_Account *h, const HBCI_Customer *c)
int HBCI_Account_managed (const HBCI_Account *h)
void HBCI_Account_setManaged (HBCI_Account *h, int m)
const HBCI_LimitHBCI_Account_limit (HBCI_Account *h)

Typedefs

typedef list< HBCI::Pointer<
HBCI::Account > > 
list_HBCI_Account
typedef list< HBCI::Pointer<
HBCI::Account > >::const_iterator 
list_HBCI_Account_iter
typedef HBCI::Account HBCI_Account


Detailed Description

Definitions of HBCI::Account and its HBCI_Account C wrapper.


Typedef Documentation

typedef struct HBCI::Account HBCI_Account
 

typedef list<HBCI::Pointer<HBCI::Account> > list_HBCI_Account
 

typedef void*(* list_HBCI_Account_cb)(const HBCI_Account *account, void *user_data)
 

Callback function for list_HBCI_Account_foreach() .

typedef list<HBCI::Pointer<HBCI::Account> >::const_iterator list_HBCI_Account_iter
 


Function Documentation

const char* HBCI_Account_accountId const HBCI_Account   h
 

Returns the account ID ("Kontonummer") of this account.

const char* HBCI_Account_accountName const HBCI_Account   h
 

Returns the name of this account.

This is set by the bank.

const char* HBCI_Account_accountSuffix const HBCI_Account   h
 

Returns the account ID suffix of this account.

Returns the account ID suffix of this account. This new in HBCI 2.2; this field is only set by a few institutes

const list_HBCI_Customer* HBCI_Account_authorizedCustomers const HBCI_Account   h
 

Returns the list of Customers that are authorized to sign.

Returns the list of Customers that are authorized to sign (other expression: have signatory power) jobs/transactions on this account.

const HBCI_Bank* HBCI_Account_bank const HBCI_Account   h
 

Returns a pointer to the bank that this account belongs to.

int HBCI_Account_countryCode const HBCI_Account   h
 

Returns the country code of the bank of this account.

const char* HBCI_Account_currency const HBCI_Account   h
 

Returns the default currency of this account (DEM, EUR)

const char* HBCI_Account_instituteCode const HBCI_Account   h
 

Returns the institute code (bank code, BLZ) of this account.

int HBCI_Account_isAuthorized const HBCI_Account   h,
const HBCI_Customer   c
 

Returns true if the given Customer is authorized to sign.

Returns true if the given Customer is authorized to sign jobs/transactions for this account.

const HBCI_Limit* HBCI_Account_limit HBCI_Account   h
 

Returns the general limit for this account, if it has one. If not, limit().isValid()=false.

int HBCI_Account_managed const HBCI_Account   h
 

Returns true, if this account is to be managed by OpenHBCI.

FIXME: Is this correct or is the boolean value the other way round? Also, this is currently not really implemented.

const char* HBCI_Account_name1 const HBCI_Account   h
 

Returns the name of the owner of this account.

const char* HBCI_Account_name2 const HBCI_Account   h
 

Returns the second part of the name of the owner of this account.

void HBCI_Account_setManaged HBCI_Account   h,
int    m
 

Set whether this account is to be managed by OpenHBCI.

list_HBCI_Account_iter* list_HBCI_Account_begin const list_HBCI_Account   l
 

void list_HBCI_Account_delete list_HBCI_Account   l
 

list_HBCI_Account_iter* list_HBCI_Account_end const list_HBCI_Account   l
 

void* list_HBCI_Account_foreach const list_HBCI_Account   list,
list_HBCI_Account_cb    func,
void *    user_data
 

Traverses the list, calling the callback function 'func' on each list element. Traversal will stop when 'func' returns a non-NULL value, and the routine will return with that value. Otherwise the routine will return NULL.

Parameters:
list  The list to traverse.
func  The function to be called with each list element.
user_data  A pointer passed on to the function 'func'.
Returns :
The non-NULL pointer returned by 'func' as soon as it returns one. Otherwise (i.e. 'func' always returns NULL) returns NULL.
Author:
Christian Stimming <stimming@tuhh.de>

void list_HBCI_Account_iter_delete list_HBCI_Account_iter   l
 

int list_HBCI_Account_iter_equal const list_HBCI_Account_iter   l1,
const list_HBCI_Account_iter   l2
 

const HBCI_Account* list_HBCI_Account_iter_get const list_HBCI_Account_iter   l
 

void list_HBCI_Account_iter_next list_HBCI_Account_iter   l
 

int list_HBCI_Account_size const list_HBCI_Account   l
 


Generated on Mon Jun 23 13:41:07 2003 for openhbci by doxygen1.2.17