|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
A lightweight object that can create a stream to read some kind of resource. More...
#include "juce_InputSource.h"
Public Member Functions | |
| virtual | ~InputSource ()=default |
| Destructor. | |
| virtual InputStream * | createInputStream ()=0 |
| Returns a new InputStream to read this item. | |
| virtual InputStream * | createInputStreamFor (const String &relatedItemPath)=0 |
| Returns a new InputStream to read an item, relative. | |
| virtual int64 | hashCode () const =0 |
| Returns a hash code that uniquely represents this item. | |
A lightweight object that can create a stream to read some kind of resource.
This may be used to refer to a file, or some other kind of source, allowing a caller to create an input stream that can read from it when required.
@tags{Core}
Definition at line 37 of file juce_InputSource.h.
|
pure virtual |
Returns a new InputStream to read this item.
Implemented in juce::AndroidDocumentInputSource, juce::FileInputSource, and juce::URLInputSource.
|
pure virtual |
Returns a new InputStream to read an item, relative.
| relatedItemPath | the relative pathname of the resource that is required |
Implemented in juce::AndroidDocumentInputSource, juce::FileInputSource, and juce::URLInputSource.
Returns a hash code that uniquely represents this item.
Implemented in juce::AndroidDocumentInputSource, juce::FileInputSource, and juce::URLInputSource.