Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
cinder::DataSourcePath Class Reference

#include <DataSource.h>

Inherits cinder::DataSource.

List of all members.

Public Member Functions

virtual bool isFilePath ()
virtual bool isUrl ()
virtual IStreamRef createStream ()
const fs::path & getFilePath ()
const UrlgetUrl ()
const std::string & getFilePathHint ()
BuffergetBuffer ()

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

Constructor & Destructor Documentation

cinder::DataSourcePath::DataSourcePath ( const fs::path &  path) [explicit, protected]

Member Function Documentation

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.

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]
void cinder::DataSource::setFilePathHint ( const std::string &  aFilePathHint) [protected, inherited]

Member Data Documentation

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]

The documentation for this class was generated from the following files: