#include <DataSource.h>
Inherits cinder::DataSource.
Public Member Functions | |
| virtual bool | isFilePath () |
| virtual bool | isUrl () |
| virtual IStreamRef | createStream () |
| const fs::path & | getFilePath () |
| const Url & | getUrl () |
| const std::string & | getFilePathHint () |
| Buffer & | getBuffer () |
Static Public Member Functions | |
| static DataSourcePathRef | create (const fs::path &path) |
Protected Member Functions | |
| DataSourcePath (const fs::path &path) | |
| virtual void | createBuffer () |
| void | setFilePathHint (const std::string &aFilePathHint) |
Protected Attributes | |
| IStreamFileRef | mStream |
| Buffer | mBuffer |
| fs::path | mFilePath |
| std::string | mFilePathHint |
| Url | mUrl |
| cinder::DataSourcePath::DataSourcePath | ( | const fs::path & | path | ) | [explicit, protected] |
| DataSourcePathRef cinder::DataSourcePath::create | ( | const fs::path & | path | ) | [static] |
| virtual bool cinder::DataSourcePath::isFilePath | ( | ) | [virtual] |
Implements cinder::DataSource.
| virtual bool cinder::DataSourcePath::isUrl | ( | ) | [virtual] |
Implements cinder::DataSource.
| IStreamRef cinder::DataSourcePath::createStream | ( | ) | [virtual] |
Implements cinder::DataSource.
| void cinder::DataSourcePath::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] |
IStreamFileRef cinder::DataSourcePath::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] |