18 #ifndef PRTX_STREAM_ADAPTOR_H_ 19 #define PRTX_STREAM_ADAPTOR_H_ 21 #include "prt/ContentType.h" 22 #include "prt/Cache.h" 24 #include "prtx/prtx.h" 25 #include "prtx/Content.h" 27 #include "prtx/Extension.h" 28 #include "prtx/ResolveMap.h" 38 using StreamAdaptorPtr = std::shared_ptr<StreamAdaptor>;
60 ContentPtrVector& results,
62 const std::wstring& key,
65 std::wstring& warnings
73 virtual std::istream* createStream(
prtx::URIPtr uri)
const = 0;
78 virtual void destroyStream(std::istream* stream)
const = 0;
Extension does not make use of specific content type.
Definition: ContentType.h:29
ExtensionType
Definition: Extension.h:46
virtual prtx::Extension::ExtensionType getExtensionType() const final override
Definition: StreamAdaptor.h:87
Definition: StreamAdaptor.h:46
Definition: Extension.h:41
The Procedural Runtime eXtension namespace. The prtx namespace contains the tools to extend the Proce...
Definition: AnnotationBuilder.h:35
std::shared_ptr< URI > URIPtr
shared pointer implementation of prtx::URI
Definition: URI.h:37
ContentType
Definition: ContentType.h:28
Definition: /ResolveMap.h:40
virtual prt::ContentType getContentType() const final override
Definition: StreamAdaptor.h:98
Extension sub-class is a stream adaptor.
Definition: Extension.h:48