Scroom 0.14-48-ga0fee447
Loading...
Searching...
No Matches
Scroom::Utils::RecursiveContext Class Referenceabstract

#include <context.hh>

Inheritance diagram for Scroom::Utils::RecursiveContext:
Inheritance graph
Collaboration diagram for Scroom::Utils::RecursiveContext:
Collaboration graph

Public Types

using Ptr = std::shared_ptr< RecursiveContext >
 
- Public Types inherited from Scroom::Utils::Context
using Ptr = std::shared_ptr< Context >
 
using ConstPtr = std::shared_ptr< const Context >
 

Public Member Functions

virtual void add (const Context::ConstPtr &child)=0
 
- Public Member Functions inherited from Scroom::Utils::Context
virtual void set (std::string name, std::any value)=0
 
virtual const std::any & get (std::string name) const =0
 
virtual std::any try_get (std::string name) const =0
 
- Public Member Functions inherited from Interface
 Interface ()=default
 
 Interface (const Interface &)=delete
 
Interfaceoperator= (const Interface &)=delete
 
 Interface (Interface &&)=delete
 
Interfaceoperator= (Interface &&)=delete
 
virtual ~Interface ()=default
 

Static Public Member Functions

static Ptr create ()
 
- Static Public Member Functions inherited from Scroom::Utils::Context
static Ptr create ()
 

Member Typedef Documentation

◆ Ptr

Member Function Documentation

◆ add()

virtual void Scroom::Utils::RecursiveContext::add ( const Context::ConstPtr child)
pure virtual

◆ create()

RecursiveContext::Ptr Scroom::Utils::RecursiveContext::create ( )
static
16{ return std::make_shared<ParentContext>(Context::create()); }
static Ptr create()
Definition context.cc:15
Here is the call graph for this function:

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