Class Storage

Inheritance Relationships

Derived Type

Class Documentation

class Storage

Subclassed by gpa::stream::RandomAccessStorage

Public Functions

Storage(uint64_t id)
virtual ~Storage()
virtual bool IsRandomAccess() const = 0

Identifies this stream as random-access or sequential.

Returns

True if stream is random-access, false if sequential

virtual bool IsEmpty() const = 0

Query whether the storage has any size (and therefore any data)

Returns

True if stream has no data or is zero-sized, false otherwise

virtual void RegisterListener(StorageListener *listener)
virtual void UnregisterListener(StorageListener *listener)
virtual void Close()
uint64_t GetID()