KiCad PCB EDA Suite
Loading...
Searching...
No Matches
LIBRARY_TABLE_ROW Class Reference

#include <library_table.h>

Public Member Functions

 LIBRARY_TABLE_ROW ()=default
 
bool operator== (const LIBRARY_TABLE_ROW &aOther) const
 
void SetNickname (const wxString &aNickname)
 
const wxString & Nickname () const
 
void SetURI (const wxString &aUri)
 
const wxString & URI () const
 
void SetType (const wxString &aType)
 
const wxString & Type () const
 
void SetOptions (const wxString &aOptions)
 
const wxString & Options () const
 
void SetDescription (const wxString &aDescription)
 
const wxString & Description () const
 
void SetScope (LIBRARY_TABLE_SCOPE aScope)
 
LIBRARY_TABLE_SCOPE Scope () const
 
void SetDisabled (bool aDisabled=true)
 
bool Disabled () const
 
void SetHidden (bool aHidden=true)
 
bool Hidden () const
 
std::map< std::string, UTF8GetOptionsMap () const
 
void SetOk (bool aOk=true)
 
bool IsOk () const
 
void SetErrorDescription (const wxString &aDescription)
 
const wxString & ErrorDescription () const
 

Static Public Attributes

static const wxString TABLE_TYPE_NAME = wxT( "Table" )
 

Private Attributes

wxString m_nickname
 
wxString m_uri
 
wxString m_type
 
wxString m_options
 
wxString m_description
 
bool m_disabled = false
 
bool m_hidden = false
 
bool m_ok = false
 
wxString m_errorDescription
 
LIBRARY_TABLE_SCOPE m_scope = LIBRARY_TABLE_SCOPE::UNINITIALIZED
 

Friends

class LIBRARY_TABLE
 

Detailed Description

Definition at line 55 of file library_table.h.

Constructor & Destructor Documentation

◆ LIBRARY_TABLE_ROW()

LIBRARY_TABLE_ROW::LIBRARY_TABLE_ROW ( )
default

References LIBRARY_TABLE_ROW().

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

Member Function Documentation

◆ Description()

const wxString & LIBRARY_TABLE_ROW::Description ( ) const
inline

Definition at line 79 of file library_table.h.

References m_description.

Referenced by LIB_TABLE_GRID::GetValue(), and SCH_EDIT_FRAME::LoadSheetFromFile().

◆ Disabled()

bool LIBRARY_TABLE_ROW::Disabled ( ) const
inline

Definition at line 85 of file library_table.h.

References m_disabled.

Referenced by LIB_TABLE_GRID::GetValue(), and LIB_TABLE_GRID::GetValueAsBool().

◆ ErrorDescription()

const wxString & LIBRARY_TABLE_ROW::ErrorDescription ( ) const
inline

◆ GetOptionsMap()

◆ Hidden()

bool LIBRARY_TABLE_ROW::Hidden ( ) const
inline

◆ IsOk()

bool LIBRARY_TABLE_ROW::IsOk ( ) const
inline

Definition at line 93 of file library_table.h.

References m_ok.

Referenced by SYMBOL_GRID_TRICKS::onGridCellLeftClick(), and PANEL_SYM_LIB_TABLE::setupGrid().

◆ Nickname()

◆ operator==()

bool LIBRARY_TABLE_ROW::operator== ( const LIBRARY_TABLE_ROW & aOther) const

◆ Options()

const wxString & LIBRARY_TABLE_ROW::Options ( ) const
inline

◆ Scope()

LIBRARY_TABLE_SCOPE LIBRARY_TABLE_ROW::Scope ( ) const
inline

◆ SetDescription()

void LIBRARY_TABLE_ROW::SetDescription ( const wxString & aDescription)
inline

◆ SetDisabled()

void LIBRARY_TABLE_ROW::SetDisabled ( bool aDisabled = true)
inline

Definition at line 84 of file library_table.h.

References m_disabled.

Referenced by LIB_TABLE_GRID::SetValue(), and LIB_TABLE_GRID::SetValueAsBool().

◆ SetErrorDescription()

void LIBRARY_TABLE_ROW::SetErrorDescription ( const wxString & aDescription)
inline

Definition at line 95 of file library_table.h.

References m_errorDescription.

◆ SetHidden()

void LIBRARY_TABLE_ROW::SetHidden ( bool aHidden = true)
inline

Definition at line 87 of file library_table.h.

References m_hidden.

Referenced by LIB_TABLE_GRID::SetValue(), and LIB_TABLE_GRID::SetValueAsBool().

◆ SetNickname()

◆ SetOk()

void LIBRARY_TABLE_ROW::SetOk ( bool aOk = true)
inline

Definition at line 92 of file library_table.h.

References m_ok.

Referenced by LIBRARY_TABLE::MakeRow().

◆ SetOptions()

void LIBRARY_TABLE_ROW::SetOptions ( const wxString & aOptions)
inline

◆ SetScope()

void LIBRARY_TABLE_ROW::SetScope ( LIBRARY_TABLE_SCOPE aScope)
inline

Definition at line 81 of file library_table.h.

References m_scope.

Referenced by LIBRARY_TABLE::MakeRow().

◆ SetType()

◆ SetURI()

◆ Type()

◆ URI()

Friends And Related Symbol Documentation

◆ LIBRARY_TABLE

friend class LIBRARY_TABLE
friend

Definition at line 58 of file library_table.h.

References LIBRARY_TABLE.

Referenced by LIBRARY_TABLE.

Member Data Documentation

◆ m_description

wxString LIBRARY_TABLE_ROW::m_description
private

◆ m_disabled

bool LIBRARY_TABLE_ROW::m_disabled = false
private

Definition at line 104 of file library_table.h.

Referenced by LIBRARY_TABLE::addRowFromIR(), Disabled(), operator==(), and SetDisabled().

◆ m_errorDescription

wxString LIBRARY_TABLE_ROW::m_errorDescription
private

Definition at line 108 of file library_table.h.

Referenced by ErrorDescription(), and SetErrorDescription().

◆ m_hidden

bool LIBRARY_TABLE_ROW::m_hidden = false
private

Definition at line 105 of file library_table.h.

Referenced by LIBRARY_TABLE::addRowFromIR(), Hidden(), operator==(), and SetHidden().

◆ m_nickname

wxString LIBRARY_TABLE_ROW::m_nickname
private

Definition at line 99 of file library_table.h.

Referenced by LIBRARY_TABLE::addRowFromIR(), Nickname(), operator==(), and SetNickname().

◆ m_ok

bool LIBRARY_TABLE_ROW::m_ok = false
private

Definition at line 107 of file library_table.h.

Referenced by LIBRARY_TABLE::addRowFromIR(), IsOk(), and SetOk().

◆ m_options

wxString LIBRARY_TABLE_ROW::m_options
private

◆ m_scope

LIBRARY_TABLE_SCOPE LIBRARY_TABLE_ROW::m_scope = LIBRARY_TABLE_SCOPE::UNINITIALIZED
private

Definition at line 109 of file library_table.h.

Referenced by LIBRARY_TABLE::addRowFromIR(), operator==(), Scope(), and SetScope().

◆ m_type

wxString LIBRARY_TABLE_ROW::m_type
private

Definition at line 101 of file library_table.h.

Referenced by LIBRARY_TABLE::addRowFromIR(), operator==(), SetType(), and Type().

◆ m_uri

wxString LIBRARY_TABLE_ROW::m_uri
private

Definition at line 100 of file library_table.h.

Referenced by LIBRARY_TABLE::addRowFromIR(), operator==(), SetURI(), and URI().

◆ TABLE_TYPE_NAME

const wxString LIBRARY_TABLE_ROW::TABLE_TYPE_NAME = wxT( "Table" )
static

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