DirectZ
Loading...
Searching...
No Matches
dz::D7Stream Struct Reference

#include <D7Stream.hpp>

Public Member Functions

size_t * addStreamPoint (const StreamPoint &point)
 adds a stream point to the History
bool removeStreamPoint (size_t *index_ptr)
 removes a streampoint from the history at a specified index pointer Has a O(N-I) time complexity where N = stream_points.size & I = index ( this is due to updating the stream pointers )
bool rewindNPoints (size_t N=1, D7Type filter=D7Type::Count, const StreamString &a_buff="", StreamInteger uid=0, StreamIdentifier Uid=0)
 calling this function with just the first argument defined results in rewinding history in the stream at a global level You can filter by D7Type, a_buff, uid & Uid
bool forwardNPoints (size_t N=1, D7Type filter=D7Type::Count, const StreamString &a_buff="", StreamInteger uid=0, StreamIdentifier Uid=0)
 calling this function with just the first argument defined results in fastforwarding history in the stream at a global level You can filter by D7Type, a_buff, uid & Uid
void printStreamPoints (D7Type filter=D7Type::Unset, const StreamString &a_buff="", StreamInteger uid=0, StreamIdentifier Uid=0)
D7Streamoperator<< (const StreamPoint &point)

Public Attributes

std::vector< size_t * > stream_indexes
std::vector< StreamPointstream_points

Member Function Documentation

◆ addStreamPoint()

size_t * dz::D7Stream::addStreamPoint ( const StreamPoint & point)

adds a stream point to the History

◆ forwardNPoints()

bool dz::D7Stream::forwardNPoints ( size_t N = 1,
D7Type filter = D7Type::Count,
const StreamString & a_buff = "",
StreamInteger uid = 0,
StreamIdentifier Uid = 0 )

calling this function with just the first argument defined results in fastforwarding history in the stream at a global level You can filter by D7Type, a_buff, uid & Uid

◆ operator<<()

D7Stream & dz::D7Stream::operator<< ( const StreamPoint & point)

◆ printStreamPoints()

void dz::D7Stream::printStreamPoints ( D7Type filter = D7Type::Unset,
const StreamString & a_buff = "",
StreamInteger uid = 0,
StreamIdentifier Uid = 0 )

◆ removeStreamPoint()

bool dz::D7Stream::removeStreamPoint ( size_t * index_ptr)

removes a streampoint from the history at a specified index pointer Has a O(N-I) time complexity where N = stream_points.size & I = index ( this is due to updating the stream pointers )

◆ rewindNPoints()

bool dz::D7Stream::rewindNPoints ( size_t N = 1,
D7Type filter = D7Type::Count,
const StreamString & a_buff = "",
StreamInteger uid = 0,
StreamIdentifier Uid = 0 )

calling this function with just the first argument defined results in rewinding history in the stream at a global level You can filter by D7Type, a_buff, uid & Uid

Member Data Documentation

◆ stream_indexes

std::vector<size_t*> dz::D7Stream::stream_indexes

◆ stream_points

std::vector<StreamPoint> dz::D7Stream::stream_points

The documentation for this struct was generated from the following file: