Cinder  0.8.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Typedefs | Functions
Stream.h File Reference
#include "cinder/Cinder.h"
#include "cinder/Buffer.h"
#include "cinder/Exception.h"
#include "cinder/Filesystem.h"
#include <boost/noncopyable.hpp>
#include <string>
#include <boost/iostreams/concepts.hpp>
#include <boost/iostreams/stream.hpp>
Include dependency graph for Stream.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cinder::StreamBase
 
class  cinder::OStream
 
class  cinder::IStreamCinder
 
class  cinder::IoStream
 
class  cinder::IStreamFile
 
class  cinder::OStreamFile
 
class  cinder::IoStreamFile
 
class  cinder::IStreamMem
 
class  cinder::OStreamMem
 
class  cinder::IStreamStateRestore
 
class  cinder::StreamExc
 
class  cinder::StreamExcOutOfMemory
 
class  cinder::cinder_stream_source
 
class  cinder::cinder_stream_sink
 
class  cinder::cinder_stream_bidirectional_device
 

Namespaces

 cinder
 

Typedefs

typedef std::shared_ptr< class
OStream > 
cinder::OStreamRef
 
typedef std::shared_ptr
< IStreamCinder > 
cinder::IStreamRef
 
typedef std::shared_ptr< IoStream > cinder::IoStreamRef
 
typedef std::shared_ptr< class
IStreamFile > 
cinder::IStreamFileRef
 
typedef std::shared_ptr< class
OStreamFile > 
cinder::OStreamFileRef
 
typedef std::shared_ptr< class
IoStreamFile > 
cinder::IoStreamFileRef
 
typedef std::shared_ptr< class
IStreamMem > 
cinder::IStreamMemRef
 
typedef std::shared_ptr< class
OStreamMem > 
cinder::OStreamMemRef
 
typedef
boost::iostreams::stream
< cinder_stream_source > 
cinder::cinder_istream
 
typedef
boost::iostreams::stream
< cinder_stream_sink > 
cinder::cinder_ostream
 
typedef
boost::iostreams::stream
< cinder_stream_bidirectional_device > 
cinder::cinder_iostream
 

Functions

IStreamFileRef cinder::loadFileStream (const fs::path &path)
 Opens the file lcoated at path for read access as a stream. More...
 
OStreamFileRef cinder::writeFileStream (const fs::path &path, bool createParents=true)
 Opens the file located at path for write access as a stream, and creates it if it does not exist. Optionally creates any intermediate directories when createParents is true. More...
 
IoStreamFileRef cinder::readWriteFileStream (const fs::path &path)
 Opens a path for read-write access as a stream. More...
 
void cinder::loadStreamMemory (IStreamRef is, std::shared_ptr< uint8_t > *resultData, size_t *resultDataSize)
 Loads the contents of a stream into a contiguous block of memory, pointed to by resultData. The size of this block is stored in resultDataSize. More...
 
Buffer cinder::loadStreamBuffer (IStreamRef is)
 Loads the contents of a stream into a Buffer. More...