GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
scoped_restore_interp Class Reference

#include "interps.h"

Public Member Functions

 scoped_restore_interp (const char *name)
 
 ~scoped_restore_interp ()
 
 scoped_restore_interp (const scoped_restore_interp &)=delete
 
scoped_restore_interpoperator= (const scoped_restore_interp &)=delete
 

Private Member Functions

struct interpset_interp (const char *name)
 

Private Attributes

struct interpm_interp
 

Detailed Description

Definition at line 209 of file interps.h.

Constructor & Destructor Documentation

◆ scoped_restore_interp() [1/2]

scoped_restore_interp::scoped_restore_interp ( const char * name)
inline

Definition at line 213 of file interps.h.

◆ ~scoped_restore_interp()

scoped_restore_interp::~scoped_restore_interp ( )
inline

Definition at line 218 of file interps.h.

References m_interp, interp::name(), and set_interp().

◆ scoped_restore_interp() [2/2]

scoped_restore_interp::scoped_restore_interp ( const scoped_restore_interp & )
delete

Member Function Documentation

◆ operator=()

scoped_restore_interp & scoped_restore_interp::operator= ( const scoped_restore_interp & )
delete

◆ set_interp()

struct interp * scoped_restore_interp::set_interp ( const char * name)
private

Definition at line 213 of file interps.c.

References ui::current_interpreter, current_ui, interp_lookup(), and name.

Referenced by ~scoped_restore_interp().

Member Data Documentation

◆ m_interp

struct interp* scoped_restore_interp::m_interp
private

Definition at line 230 of file interps.h.

Referenced by ~scoped_restore_interp().


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