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

bpdjob.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile: bpdjob.h,v $
00003                              -------------------
00004     cvs         : $Id: bpdjob.h,v 1.6 2003/01/29 14:44:32 cstim Exp $
00005     begin       : Sat Jun 08 2002
00006     copyright   : (C) 2001 by Martin Preuss
00007     email       : openhbci@aquamaniac.de
00008 
00009  ***************************************************************************
00010  *                                                                         *
00011  *   This library is free software; you can redistribute it and/or         *
00012  *   modify it under the terms of the GNU Lesser General Public            *
00013  *   License as published by the Free Software Foundation; either          *
00014  *   version 2.1 of the License, or (at your option) any later version.    *
00015  *                                                                         *
00016  *   This library is distributed in the hope that it will be useful,       *
00017  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00018  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
00019  *   Lesser General Public License for more details.                       *
00020  *                                                                         *
00021  *   You should have received a copy of the GNU Lesser General Public      *
00022  *   License along with this library; if not, write to the Free Software   *
00023  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston,                 *
00024  *   MA  02111-1307  USA                                                   *
00025  *                                                                         *
00026  ***************************************************************************/
00027 
00031 #ifndef BPDJOB_H
00032 #define BPDJOB_H
00033 
00034 #ifdef __cplusplus
00035 namespace HBCI {
00036   class bpdJob;
00037 }
00038 
00039 #include <string>
00040 using namespace std;
00041 
00042 namespace HBCI {
00043 
00050 class DLLIMPORT bpdJob {
00051     friend class SEGSupportedJob;
00052 private:
00053     string _segmentCode;
00054     int _segmentVersion;
00055     int _jobsPerMessage;
00056     int _minSigCount;
00057     string _parameter;
00058 
00059 public:
00060     bpdJob();
00061     ~bpdJob();
00062 
00067     string dumpToString() const;
00068 
00070     const string &segmentCode() const { return _segmentCode;};
00071     void setSegmentCode(const string &s) {_segmentCode=s;};
00072 
00074     int segmentVersion() const { return _segmentVersion;};
00075     void setSegmentVersion(int i) { _segmentVersion=i;};
00076 
00078     int jobsPerMessage() const { return _jobsPerMessage;};
00079     void setJobsPerMessage(int i) { _jobsPerMessage=i;};
00080 
00082     int minSigCount() const { return _minSigCount;};
00083     void setMinSigCount(int i) { _minSigCount=i;};
00084 
00086     const string &parameter() const { return _parameter;};
00087     void setParameter(const string &s) { _parameter=s;};
00088 
00089 };
00090 
00091 } /* namespace HBCI */
00092 
00093 typedef struct HBCI::bpdJob HBCI_bpdJob;
00094 extern "C" {
00095 #else /* __cplusplus */
00096 typedef struct HBCI_bpdJob HBCI_bpdJob;
00097 #endif /* __cplusplus */
00098 
00099     extern const char*HBCI_bpdJob_segmentCode(const HBCI_bpdJob *j);
00100     extern int HBCI_bpdJob_jobsPerMessage(const HBCI_bpdJob *j);
00101     extern int HBCI_bpdJob_segmentVersion(const HBCI_bpdJob *j);
00102     extern const char *HBCI_bpdJob_parameter (const HBCI_bpdJob *j);
00103     
00104 #ifdef __cplusplus
00105 }
00106 #endif /* __cplusplus */
00107 
00108 #endif
00109 
00110 

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