Spinning Topp Logo BlackTopp Studios
inc
Classes | Namespaces | Typedefs | Enumerations
datastream.h File Reference

Declaration of DataStream. More...

#include "datatypes.h"
#include "countedptr.h"
#include <iostream>
+ Include dependency graph for datastream.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Mezzanine::Resource::iInStream
 Interface class for input (read) streams. More...
 
class  Mezzanine::Resource::IOStream
 Base class for streams that support both read and write operations. More...
 
class  Mezzanine::Resource::iOutStream
 Interface class for output (write) streams. More...
 
class  Mezzanine::Resource::IStream
 Base class for input (read) streams with minimal implementation. More...
 
class  Mezzanine::Resource::iStreamBase
 Base class interface for resource streams. More...
 
class  Mezzanine::Resource::OStream
 Base class for output (write) streams with minimal implementation. More...
 

Namespaces

 Mezzanine
 The bulk of the engine components go in this namspace.
 
 Mezzanine::Resource
 This namespace is for all the classes belonging to the non-network I/O Subsystem.
 

Typedefs

typedef IOStream Mezzanine::Resource::DataStream
 Convenience type for compatibility.
 
typedef CountedPtr< DataStream > Mezzanine::Resource::DataStreamPtr
 This is a convenience type for a data stream in a counted pointer.
 
typedef CountedPtr< IStream > Mezzanine::Resource::IStreamPtr
 Convenience type for a standard input stream in a CountedPtr.
 
typedef CountedPtr< OStream > Mezzanine::Resource::OStreamPtr
 Convenience type for a standard output stream in a CountedPtr.
 
typedef std::istream Mezzanine::Resource::StdInputStream
 Convenience type for a standard input stream.
 
typedef CountedPtr< StdInputStream > Mezzanine::Resource::StdInputStreamPtr
 Convenience type for a standard input stream in a CountedPtr.
 
typedef std::ostream Mezzanine::Resource::StdOutputStream
 Convenience type for a standard output stream.
 
typedef CountedPtr< StdOutputStream > Mezzanine::Resource::StdOutputStreamPtr
 Convenience type for a standard output stream in a CountedPtr.
 
typedef std::iostream Mezzanine::Resource::StdStream
 Convenience type for a standard input/output stream.
 
typedef CountedPtr< StdStream > Mezzanine::Resource::StdStreamPtr
 Convenience type for a standard input/output stream in a CountedPtr.
 
typedef std::streamoff Mezzanine::Resource::StreamOff
 Convenience define for the stream offset datatype.
 
typedef std::streampos Mezzanine::Resource::StreamPos
 Convenience define for the stream position datatype.
 
typedef std::streamsize Mezzanine::Resource::StreamSize
 Convenience define for the stream size datatype.
 

Enumerations

enum  Mezzanine::Resource::SeekOrigin { Mezzanine::Resource::SO_Beginning = std::ios_base::beg, Mezzanine::Resource::SO_Current = std::ios_base::cur, Mezzanine::Resource::SO_End = std::ios_base::end }
 An enum describing which position should be considered the origin for changing the current position in a stream. More...
 
enum  Mezzanine::Resource::StreamFlags {
  Mezzanine::Resource::SF_None = 0, Mezzanine::Resource::SF_Read = std::ios_base::in, Mezzanine::Resource::SF_Write = std::ios_base::out, Mezzanine::Resource::SF_Append = std::ios_base::app,
  Mezzanine::Resource::SF_AtEnd = std::ios_base::ate, Mezzanine::Resource::SF_Binary = std::ios_base::binary, Mezzanine::Resource::SF_Truncate = std::ios_base::trunc
}
 This enum describes the flags that control certain behaviors of a stream. More...
 

Detailed Description

Declaration of DataStream.

Todo:
Investigate how required these stream implementations are

Definition in file datastream.h.