KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ODB::VARIANT_NAMES Struct Reference

#include <odb_util.h>

Public Member Functions

wxString LegalName (const wxString &aName) const
 
wxString SelectedName (const wxString &aName) const
 
wxString Join (const std::vector< wxString > &aNames) const
 

Static Public Member Functions

static VARIANT_NAMES Build (const std::vector< wxString > &aNames)
 

Public Attributes

std::vector< std::pair< wxString, wxString > > m_names
 
std::vector< wxString > m_renamed
 
bool m_listsFit = true
 

Detailed Description

Definition at line 34 of file odb_util.h.

Member Function Documentation

◆ Build()

VARIANT_NAMES ODB::VARIANT_NAMES::Build ( const std::vector< wxString > & aNames)
static

◆ Join()

wxString ODB::VARIANT_NAMES::Join ( const std::vector< wxString > & aNames) const

Definition at line 358 of file odb_util.cpp.

References LegalName(), name, and result.

◆ LegalName()

wxString ODB::VARIANT_NAMES::LegalName ( const wxString & aName) const

Definition at line 331 of file odb_util.cpp.

References ODB::GenLegalEntityName(), m_names, and source.

Referenced by GenerateODBPPFiles(), and Join().

◆ SelectedName()

wxString ODB::VARIANT_NAMES::SelectedName ( const wxString & aName) const

Definition at line 343 of file odb_util.cpp.

References m_listsFit, m_names, and source.

Referenced by ODB_STEP_ENTITY::GenerateAttrListFile().

Member Data Documentation

◆ m_listsFit

bool ODB::VARIANT_NAMES::m_listsFit = true

Definition at line 44 of file odb_util.h.

Referenced by GenerateODBPPFiles(), and SelectedName().

◆ m_names

std::vector<std::pair<wxString, wxString> > ODB::VARIANT_NAMES::m_names

Definition at line 42 of file odb_util.h.

Referenced by LegalName(), and SelectedName().

◆ m_renamed

std::vector<wxString> ODB::VARIANT_NAMES::m_renamed

Definition at line 43 of file odb_util.h.

Referenced by GenerateODBPPFiles().


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