#include <DataSource.h>
Inherits cinder::DataSource.
Public Member Functions | |
| virtual bool | isFilePath () |
| virtual bool | isUrl () |
| virtual IStreamRef | createStream () |
| const UrlOptions & | getOptions () const |
| const fs::path & | getFilePath () |
| const Url & | getUrl () |
| const std::string & | getFilePathHint () |
| Buffer & | getBuffer () |
Static Public Member Functions | |
| static DataSourceUrlRef | create (const Url &Url, const UrlOptions &options=UrlOptions()) |
Protected Member Functions | |
| DataSourceUrl (const Url &Url, const UrlOptions &options) | |
| virtual void | createBuffer () |
| void | setFilePathHint (const std::string &aFilePathHint) |
Protected Attributes | |
| UrlOptions | mOptions |
| IStreamUrlRef | mStream |
| Buffer | mBuffer |
| fs::path | mFilePath |
| std::string | mFilePathHint |
| Url | mUrl |
| cinder::DataSourceUrl::DataSourceUrl | ( | const Url & | Url, |
| const UrlOptions & | options | ||
| ) | [protected] |
| DataSourceUrlRef cinder::DataSourceUrl::create | ( | const Url & | Url, |
| const UrlOptions & | options = UrlOptions() |
||
| ) | [static] |
| virtual bool cinder::DataSourceUrl::isFilePath | ( | ) | [virtual] |
Implements cinder::DataSource.
| virtual bool cinder::DataSourceUrl::isUrl | ( | ) | [virtual] |
Implements cinder::DataSource.
| IStreamRef cinder::DataSourceUrl::createStream | ( | ) | [virtual] |
Implements cinder::DataSource.
| const UrlOptions& cinder::DataSourceUrl::getOptions | ( | ) | const |
| void cinder::DataSourceUrl::createBuffer | ( | ) | [protected, virtual] |
Implements cinder::DataSource.
| const fs::path & cinder::DataSource::getFilePath | ( | ) | [inherited] |
| const Url & cinder::DataSource::getUrl | ( | ) | [inherited] |
| const std::string & cinder::DataSource::getFilePathHint | ( | ) | [inherited] |
| Buffer & cinder::DataSource::getBuffer | ( | ) | [inherited] |
| void cinder::DataSource::setFilePathHint | ( | const std::string & | aFilePathHint | ) | [protected, inherited] |
UrlOptions cinder::DataSourceUrl::mOptions [protected] |
IStreamUrlRef cinder::DataSourceUrl::mStream [protected] |
Buffer cinder::DataSource::mBuffer [protected, inherited] |
fs::path cinder::DataSource::mFilePath [protected, inherited] |
std::string cinder::DataSource::mFilePathHint [protected, inherited] |
Url cinder::DataSource::mUrl [protected, inherited] |