Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
TraceEntry Class Reference

#include <trace.h>

Collaboration diagram for TraceEntry:

Public Types

enum  EAction { Load = 'L' , Store = 'S' }
 

Public Member Functions

 TraceEntry (EAction action, const Path &pathname, size_t size)
 
 TraceEntry (const std::wstring &text)
 
EAction Action () const
 
const PathPathname () const
 
size_t Size () const
 
std::wstring EncodeAsText () const
 

Private Attributes

float m_timestamp
 
EAction m_action
 
Path m_pathname
 
size_t m_size
 

Member Enumeration Documentation

◆ EAction

Enumerator
Load 
Store 

Constructor & Destructor Documentation

◆ TraceEntry() [1/2]

TraceEntry::TraceEntry ( EAction  action,
const Path pathname,
size_t  size 
)

◆ TraceEntry() [2/2]

TraceEntry::TraceEntry ( const std::wstring &  text)

Member Function Documentation

◆ Action()

EAction TraceEntry::Action ( ) const
inline

◆ EncodeAsText()

std::wstring TraceEntry::EncodeAsText ( ) const

◆ Pathname()

const Path & TraceEntry::Pathname ( ) const
inline

◆ Size()

size_t TraceEntry::Size ( ) const
inline

Member Data Documentation

◆ m_action

EAction TraceEntry::m_action
private

◆ m_pathname

Path TraceEntry::m_pathname
private

◆ m_size

size_t TraceEntry::m_size
private

◆ m_timestamp

float TraceEntry::m_timestamp
private

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