Inkscape
Vector Graphics Editor
|
This class is for transforming stream input by a given stylesheet. More...
#include <xsltstream.h>
Public Member Functions | |
XsltInputStream (InputStream &xmlSource, XsltStyleSheet &stylesheet) | |
~XsltInputStream () override | |
int | available () override |
Returns the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream. | |
void | close () override |
Closes this input stream and releases any system resources associated with the stream. | |
int | get () override |
Reads the next byte of data from the input stream. | |
![]() | |
BasicInputStream (InputStream &sourceStream) | |
~BasicInputStream () override=default | |
![]() | |
InputStream ()=default | |
Constructor. | |
virtual | ~InputStream ()=default |
Destructor. | |
Private Attributes | |
XsltStyleSheet & | stylesheet |
xmlChar * | outbuf |
int | outsize |
int | outpos |
Additional Inherited Members | |
![]() | |
bool | closed |
InputStream & | source |
This class is for transforming stream input by a given stylesheet.
Definition at line 73 of file xsltstream.h.
Inkscape::IO::XsltInputStream::XsltInputStream | ( | InputStream & | xmlSource, |
XsltStyleSheet & | stylesheet | ||
) |
Definition at line 89 of file xsltstream.cpp.
References Inkscape::IO::StringOutputStream::getString(), outbuf, outpos, outsize, Inkscape::IO::pipeStream(), Inkscape::IO::BasicInputStream::source, Inkscape::IO::XsltStyleSheet::stylesheet, and stylesheet.
|
override |
Definition at line 113 of file xsltstream.cpp.
References outbuf.
|
overridevirtual |
Returns the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream.
Reimplemented from Inkscape::IO::BasicInputStream.
Definition at line 123 of file xsltstream.cpp.
|
overridevirtual |
Closes this input stream and releases any system resources associated with the stream.
Reimplemented from Inkscape::IO::BasicInputStream.
Definition at line 133 of file xsltstream.cpp.
References Inkscape::IO::BasicInputStream::closed.
|
overridevirtual |
Reads the next byte of data from the input stream.
-1 if EOF
Reimplemented from Inkscape::IO::BasicInputStream.
Definition at line 141 of file xsltstream.cpp.
References Inkscape::IO::BasicInputStream::closed, outbuf, outpos, and outsize.
|
private |
Definition at line 93 of file xsltstream.h.
Referenced by get(), XsltInputStream(), and ~XsltInputStream().
|
private |
Definition at line 95 of file xsltstream.h.
Referenced by available(), get(), and XsltInputStream().
|
private |
Definition at line 94 of file xsltstream.h.
Referenced by available(), get(), and XsltInputStream().
|
private |
Definition at line 91 of file xsltstream.h.
Referenced by XsltInputStream().