wibble 1.1
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
wibble::exception::AddContext Struct Reference

#include <exception.h>

Public Member Functions

 AddContext (std::string s)
 
 ~AddContext ()
 

Static Public Member Functions

static std::vector< std::string > & context ()
 
template<typename O >
static void copyContext (O out)
 

Public Attributes

std::string m_context
 

Static Public Attributes

static std::vector< std::string > * s_context = 0
 

Constructor & Destructor Documentation

◆ AddContext()

wibble::exception::AddContext::AddContext ( std::string  s)
inline

References context().

◆ ~AddContext()

wibble::exception::AddContext::~AddContext ( )
inline

References assert_eq, context(), and m_context.

Member Function Documentation

◆ context()

static std::vector< std::string > & wibble::exception::AddContext::context ( )
inlinestatic

References s_context.

Referenced by AddContext(), copyContext(), and ~AddContext().

◆ copyContext()

template<typename O >
static void wibble::exception::AddContext::copyContext ( O  out)
inlinestatic

Member Data Documentation

◆ m_context

std::string wibble::exception::AddContext::m_context

Referenced by ~AddContext().

◆ s_context

std::vector< std::string > * wibble::exception::AddContext::s_context = 0
static

Referenced by context().


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