Loading...
Searching...
No Matches
TraceEventContainer Class Reference

Holds TraceEvent instances. More...

#include <eventContainer.h>

Classes

class  const_iterator
 Bidirectional iterator of TraceEvents. More...
 

Public Types

using const_reverse_iterator = std::reverse_iterator< const_iterator >
 

Public Member Functions

 TraceEventContainer ()
 Constructor.
 
 TraceEventContainer (TraceEventContainer &&)
 Move Constructor.
 
TraceEventContaineroperator= (TraceEventContainer &&)
 Move Assignment.
 
 TraceEventContainer (const TraceEventContainer &)=delete
 
TraceEventContaineroperator= (const TraceEventContainer &)=delete
 
TRACE_API void Append (TraceEventContainer &&other)
 Append the events in other to the end of this container.
 
Subset of stl container interface.
template<class... Args>
TraceEventemplace_back (Args &&... args)
 
const_iterator begin () const
 
const_iterator end () const
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator rend () const
 
bool empty () const
 

Detailed Description

Holds TraceEvent instances.

This container only allows appending events at the end and supports both forward and reverse iteration.

Definition at line 45 of file eventContainer.h.

Member Typedef Documentation

◆ const_reverse_iterator

using const_reverse_iterator = std::reverse_iterator<const_iterator>

Definition at line 197 of file eventContainer.h.

Constructor & Destructor Documentation

◆ TraceEventContainer() [1/2]

Constructor.

◆ TraceEventContainer() [2/2]

Move Constructor.

Member Function Documentation

◆ Append()

TRACE_API void Append ( TraceEventContainer &&  other)

Append the events in other to the end of this container.

This takes ownership of the events that were in other.

◆ begin()

const_iterator begin ( ) const
inline

Definition at line 228 of file eventContainer.h.

◆ emplace_back()

TraceEvent & emplace_back ( Args &&...  args)
inline

Definition at line 218 of file eventContainer.h.

◆ empty()

bool empty ( ) const
inline

Definition at line 244 of file eventContainer.h.

◆ end()

const_iterator end ( ) const
inline

Definition at line 232 of file eventContainer.h.

◆ operator=()

Move Assignment.

◆ rbegin()

const_reverse_iterator rbegin ( ) const
inline

Definition at line 236 of file eventContainer.h.

◆ rend()

const_reverse_iterator rend ( ) const
inline

Definition at line 240 of file eventContainer.h.


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