Cinder  0.9.1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
cinder::DataSourceUrl Class Reference

#include <DataSource.h>

Inherits cinder::DataSource.

Public Member Functions

virtual bool isFilePath ()
 
virtual bool isUrl ()
 
virtual IStreamRef createStream ()
 
const UrlOptionsgetOptions () const
 
const fs::path & getFilePath ()
 
const UrlgetUrl ()
 
const fs::path & getFilePathHint ()
 
BufferRef 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 fs::path &aFilePathHint)
 

Protected Attributes

UrlOptions mOptions
 
IStreamUrlRef mStream
 
BufferRef mBuffer
 
fs::path mFilePath
 
fs::path mFilePathHint
 
Url mUrl
 

Constructor & Destructor Documentation

cinder::DataSourceUrl::DataSourceUrl ( const Url Url,
const UrlOptions options 
)
protected

Member Function Documentation

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 ( )
protectedvirtual

Implements cinder::DataSource.

const fs::path & cinder::DataSource::getFilePath ( )
inherited
const Url & cinder::DataSource::getUrl ( )
inherited
const fs::path & cinder::DataSource::getFilePathHint ( )
inherited
BufferRef cinder::DataSource::getBuffer ( )
inherited
void cinder::DataSource::setFilePathHint ( const fs::path &  aFilePathHint)
protectedinherited

Member Data Documentation

UrlOptions cinder::DataSourceUrl::mOptions
protected
IStreamUrlRef cinder::DataSourceUrl::mStream
protected
BufferRef cinder::DataSource::mBuffer
protectedinherited
fs::path cinder::DataSource::mFilePath
protectedinherited
fs::path cinder::DataSource::mFilePathHint
protectedinherited
Url cinder::DataSource::mUrl
protectedinherited

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