00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
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 ¶meter() const { return _parameter;};
00087     void setParameter(const string &s) { _parameter=s;};
00088 
00089 };
00090 
00091 } 
00092 
00093 typedef struct HBCI::bpdJob HBCI_bpdJob;
00094 extern "C" {
00095 #else 
00096 typedef struct HBCI_bpdJob HBCI_bpdJob;
00097 #endif 
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 
00107 
00108 #endif
00109 
00110