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

abstracttrans.h

Go to the documentation of this file.
00001 /* hbciabstracttrans.h
00002 
00003  ***************************************************************************
00004  *                                                                         *
00005  *   This library is free software; you can redistribute it and/or         *
00006  *   modify it under the terms of the GNU Lesser General Public            *
00007  *   License as published by the Free Software Foundation; either          *
00008  *   version 2.1 of the License, or (at your option) any later version.    *
00009  *                                                                         *
00010  *   This library is distributed in the hope that it will be useful,       *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
00013  *   Lesser General Public License for more details.                       *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU Lesser General Public      *
00016  *   License along with this library; if not, write to the Free Software   *
00017  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston,                 *
00018  *   MA  02111-1307  USA                                                   *
00019  *                                                                         *
00020  ***************************************************************************/
00021 
00022 #ifndef HBCIABSTRACTTRANS_H
00023 #define HBCIABSTRACTTRANS_H
00024 
00030 #include <openhbci/date.h>
00031 #include <openhbci/value.h>
00032 
00033 
00034 #ifdef __cplusplus
00035 #include <string>
00036 #include <list>
00037 
00038 namespace HBCI {
00039 
00047 class DLLIMPORT AbstractTrans {
00048 public:
00049     AbstractTrans();
00050     virtual ~AbstractTrans();
00051 
00055     virtual int ourCountryCode() const = 0;
00057     virtual void setOurCountryCode(int i) = 0;
00058 
00061     virtual const string &ourBankCode() const = 0;
00064     virtual void setOurBankCode(const string &code) = 0;
00065 
00069     virtual const string &ourAccountId() const = 0;
00073     virtual void setOurAccountId(const string &id) = 0;
00074 
00078     virtual const string &ourSuffix() const = 0;
00082     virtual void setOurSuffix(const string &id) = 0;
00089     virtual const Value &value() const = 0;
00092     virtual void setValue(const Value &v) = 0;
00095     /* Now follows the obnoxious "Mehrzweckfeld :86:" */
00096 
00107     virtual int transactionCode() const = 0;
00116     virtual void setTransactionCode(int c) = 0;
00117 
00129     virtual const list<string> &description() const = 0;
00141     virtual void addDescription(const string &s) = 0;
00148     virtual int otherCountryCode() const = 0;
00151     virtual void setOtherCountryCode(int i) = 0;
00152 
00155     virtual const string &otherBankCode() const = 0;
00158     virtual void setOtherBankCode(const string &s) = 0;
00159 
00162     virtual const string &otherAccountId() const = 0;
00165     virtual void setOtherAccountId(const string &s) = 0;
00166 
00171     virtual const string &otherSuffix() const = 0;
00176     virtual void setOtherSuffix(const string &id) = 0;
00177 
00180     virtual const list<string> &otherName() const = 0;
00183     virtual void addOtherName(const string &s) = 0;
00185 };
00186 } /* namespace HBCI */
00187 extern "C" {   
00188 #endif /* __cplusplus */
00189 
00190 #ifdef __cplusplus
00191 } /* extern "C" */
00192 #endif
00193 
00194 
00195 #endif

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