Annwvyn::AnnDebug::AnnDebugBuff Class Reference

Nested buffer class. Write the stings to the engine log. More...

Inheritance diagram for Annwvyn::AnnDebug::AnnDebugBuff:
Collaboration diagram for Annwvyn::AnnDebug::AnnDebugBuff:

Public Member Functions

 AnnDebugBuff (Log importance)
 Construct an AnnDebug buffer. More...
 
 ~AnnDebugBuff ()
 Will sync the buffer. More...
 
int sync () override
 Sync the buffer by performing an AnnEngine::log, clear it and return success. More...
 
- Public Member Functions inherited from std::stringbuf
pptr (T... args)
 
epptr (T... args)
 
eback (T... args)
 
setp (T... args)
 
sputbackc (T... args)
 
sgetc (T... args)
 
stringbuf (T... args)
 
sungetc (T... args)
 
pubseekoff (T... args)
 
seekoff (T... args)
 
str (T... args)
 
sync (T... args)
 
xsputn (T... args)
 
pbase (T... args)
 
pubimbue (T... args)
 
showmanyc (T... args)
 
egptr (T... args)
 
seekpos (T... args)
 
underflow (T... args)
 
setbuf (T... args)
 
gbump (T... args)
 
in_avail (T... args)
 
swap (T... args)
 
pbackfail (T... args)
 
sputc (T... args)
 
xsgetn (T... args)
 
uflow (T... args)
 
gptr (T... args)
 
sputn (T... args)
 
sgetn (T... args)
 
sbumpc (T... args)
 
overflow (T... args)
 
operator= (T... args)
 
pbump (T... args)
 
pubsetbuf (T... args)
 
pubsync (T... args)
 
imbue (T... args)
 
setg (T... args)
 
snextc (T... args)
 
getloc (T... args)
 
pubseekpos (T... args)
 

Public Attributes

Log currentImportance
 

Detailed Description

Nested buffer class. Write the stings to the engine log.

Definition at line 38 of file AnnLogger.hpp.

Constructor & Destructor Documentation

◆ AnnDebugBuff()

Annwvyn::AnnDebug::AnnDebugBuff::AnnDebugBuff ( Log  importance)
inline

Construct an AnnDebug buffer.

Definition at line 42 of file AnnLogger.hpp.

◆ ~AnnDebugBuff()

AnnDebug::AnnDebugBuff::~AnnDebugBuff ( )

Will sync the buffer.

Definition at line 33 of file AnnLogger.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ sync()

int AnnDebug::AnnDebugBuff::sync ( )
override

Sync the buffer by performing an AnnEngine::log, clear it and return success.

Definition at line 38 of file AnnLogger.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ currentImportance

Log Annwvyn::AnnDebug::AnnDebugBuff::currentImportance

Definition at line 50 of file AnnLogger.hpp.


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