MySQL 8.3.0
Source Code Documentation
net::impl::Callstack< Key, Value >::Context Class Reference

#include <callstack.h>

Public Member Functions

 Context (const Key *k)
 construct a stackframe. More...
 
 Context (const Key *k, Value &v)
 
 ~Context ()
 destruct a stackframe. More...
 
 Context (const Context &)=delete
 
Contextoperator= (const Context &)=delete
 
const Key * key () const
 
Valuevalue () const
 

Private Attributes

const Key * key_
 
Valuevalue_
 
Contextnext_
 

Friends

class Callstack< Key, Value >
 
class Callstack< Key, Value >::Iterator
 

Constructor & Destructor Documentation

◆ Context() [1/3]

template<class Key , class Value = unsigned char>
net::impl::Callstack< Key, Value >::Context::Context ( const Key *  k)
inlineexplicit

construct a stackframe.

sets top of stack to this frame.

◆ Context() [2/3]

template<class Key , class Value = unsigned char>
net::impl::Callstack< Key, Value >::Context::Context ( const Key *  k,
Value v 
)
inline

◆ ~Context()

template<class Key , class Value = unsigned char>
net::impl::Callstack< Key, Value >::Context::~Context ( )
inline

destruct a stackframe.

sets top of stack to the previous stackframe.

◆ Context() [3/3]

template<class Key , class Value = unsigned char>
net::impl::Callstack< Key, Value >::Context::Context ( const Context )
delete

Member Function Documentation

◆ key()

template<class Key , class Value = unsigned char>
const Key * net::impl::Callstack< Key, Value >::Context::key ( ) const
inline

◆ operator=()

template<class Key , class Value = unsigned char>
Context & net::impl::Callstack< Key, Value >::Context::operator= ( const Context )
delete

◆ value()

template<class Key , class Value = unsigned char>
Value * net::impl::Callstack< Key, Value >::Context::value ( ) const
inline

Friends And Related Function Documentation

◆ Callstack< Key, Value >

template<class Key , class Value = unsigned char>
friend class Callstack< Key, Value >
friend

◆ Callstack< Key, Value >::Iterator

template<class Key , class Value = unsigned char>
friend class Callstack< Key, Value >::Iterator
friend

Member Data Documentation

◆ key_

template<class Key , class Value = unsigned char>
const Key* net::impl::Callstack< Key, Value >::Context::key_
private

◆ next_

template<class Key , class Value = unsigned char>
Context* net::impl::Callstack< Key, Value >::Context::next_
private

◆ value_

template<class Key , class Value = unsigned char>
Value* net::impl::Callstack< Key, Value >::Context::value_
private

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