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
00028
00029
00030
00031 #ifndef XSECBINTXFMINPUTSTREAM_INCLUDE
00032 #define XSECBINTXFMINPUTSTREAM_INCLUDE
00033
00034 #include <xsec/framework/XSECDefs.hpp>
00035 #include <xercesc/util/BinInputStream.hpp>
00036
00037 class TXFMChain;
00038 class TXFMBase;
00039
00060 class DSIG_EXPORT XSECBinTXFMInputStream : public XERCES_CPP_NAMESPACE_QUALIFIER BinInputStream
00061 {
00062
00063 public :
00064
00067
00076 XSECBinTXFMInputStream(TXFMChain * lst, bool deleteWhenDone = true);
00077
00085 virtual ~XSECBinTXFMInputStream();
00086
00088
00091
00099 void reset();
00100
00102
00105
00112 virtual unsigned int curPos() const;
00113
00128 virtual unsigned int readBytes(XMLByte* const toFill,
00129 const unsigned int maxToRead);
00130
00131
00132 private :
00133
00134 TXFMBase * mp_txfm;
00135 TXFMChain * mp_chain;
00136 bool m_deleteWhenDone;
00137 bool m_deleted;
00138 bool m_done;
00139 unsigned int m_currentIndex;
00140
00141 };
00142
00143
00144
00145 #endif