/usr/include/libxml++-2.6/libxml++/io/istreamparserinputbuffer.h is in libxml++2.6-dev 2.40.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | /* inputstreamparserinputbuffer.h
* this file is part of libxml++
*
* copyright (C) 2003 by libxml++ developer's team
*
* this file is covered by the GNU Lesser General Public License,
* which should be included with libxml++ as the file COPYING.
*/
#ifndef __LIBXMLPP_ISTREAMPARSEROUTPUTBUFFER_H
#define __LIBXMLPP_ISTREAMPARSEROUTPUTBUFFER_H
#include <libxml++/io/parserinputbuffer.h>
#include <istream>
namespace xmlpp
{
class IStreamParserInputBuffer: public ParserInputBuffer
{
public:
/**
* @param input The istream datas will be read from
*/
IStreamParserInputBuffer(std::istream& input);
~IStreamParserInputBuffer() override;
private:
int do_read(char * buffer, int len) override;
bool do_close() override;
std::istream& input_;
};
}
#endif
|