KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SCH_CONNECTIVITY::INPUT_TEXT_SCOPE Class Reference

Excludes derived graph text and shares dynamic source values through nested resolvers. More...

#include <conn_text.h>

Public Member Functions

 INPUT_TEXT_SCOPE ()
 
 INPUT_TEXT_SCOPE (TEXT_ENVIRONMENT &aEnvironment)
 
 ~INPUT_TEXT_SCOPE ()
 
 INPUT_TEXT_SCOPE (const INPUT_TEXT_SCOPE &)=delete
 
INPUT_TEXT_SCOPEoperator= (const INPUT_TEXT_SCOPE &)=delete
 

Static Public Member Functions

static bool Active ()
 

Private Attributes

bool m_previous
 
std::optional< TEXT_ENVIRONMENTm_owned
 
std::optional< TEXT_EVAL::ENVIRONMENT_SCOPEm_scope
 

Static Private Attributes

static thread_local bool s_active = false
 

Detailed Description

Excludes derived graph text and shares dynamic source values through nested resolvers.

Model reads made while the scope is active must not depend on published connectivity.

Definition at line 33 of file conn_text.h.

Constructor & Destructor Documentation

◆ INPUT_TEXT_SCOPE() [1/3]

SCH_CONNECTIVITY::INPUT_TEXT_SCOPE::INPUT_TEXT_SCOPE ( )

Definition at line 24 of file conn_text.cpp.

References TEXT_EVAL::ENVIRONMENT::Current(), m_owned, m_previous, m_scope, and s_active.

Referenced by INPUT_TEXT_SCOPE(), and operator=().

◆ INPUT_TEXT_SCOPE() [2/3]

SCH_CONNECTIVITY::INPUT_TEXT_SCOPE::INPUT_TEXT_SCOPE ( TEXT_ENVIRONMENT & aEnvironment)
explicit

Definition at line 36 of file conn_text.cpp.

References m_previous, m_scope, and s_active.

◆ ~INPUT_TEXT_SCOPE()

SCH_CONNECTIVITY::INPUT_TEXT_SCOPE::~INPUT_TEXT_SCOPE ( )

Definition at line 43 of file conn_text.cpp.

References m_previous, and s_active.

◆ INPUT_TEXT_SCOPE() [3/3]

SCH_CONNECTIVITY::INPUT_TEXT_SCOPE::INPUT_TEXT_SCOPE ( const INPUT_TEXT_SCOPE & )
delete

References INPUT_TEXT_SCOPE().

Member Function Documentation

◆ Active()

◆ operator=()

INPUT_TEXT_SCOPE & SCH_CONNECTIVITY::INPUT_TEXT_SCOPE::operator= ( const INPUT_TEXT_SCOPE & )
delete

References INPUT_TEXT_SCOPE().

Member Data Documentation

◆ m_owned

std::optional<TEXT_ENVIRONMENT> SCH_CONNECTIVITY::INPUT_TEXT_SCOPE::m_owned
private

Definition at line 46 of file conn_text.h.

Referenced by INPUT_TEXT_SCOPE().

◆ m_previous

bool SCH_CONNECTIVITY::INPUT_TEXT_SCOPE::m_previous
private

Definition at line 45 of file conn_text.h.

Referenced by INPUT_TEXT_SCOPE(), INPUT_TEXT_SCOPE(), and ~INPUT_TEXT_SCOPE().

◆ m_scope

std::optional<TEXT_EVAL::ENVIRONMENT_SCOPE> SCH_CONNECTIVITY::INPUT_TEXT_SCOPE::m_scope
private

Definition at line 47 of file conn_text.h.

Referenced by INPUT_TEXT_SCOPE(), and INPUT_TEXT_SCOPE().

◆ s_active

thread_local bool SCH_CONNECTIVITY::INPUT_TEXT_SCOPE::s_active = false
inlinestaticprivate

Definition at line 48 of file conn_text.h.

Referenced by Active(), INPUT_TEXT_SCOPE(), INPUT_TEXT_SCOPE(), and ~INPUT_TEXT_SCOPE().


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