KiCad PCB EDA Suite
Loading...
Searching...
No Matches
sch_field.h File Reference
#include <eda_text.h>
#include <sch_item.h>
#include <template_fieldnames.h>
#include <general.h>
#include <string_utils.h>
#include "scintilla_tricks.h"
#include <algorithm>

Go to the source code of this file.

Classes

class  SCH_FIELD
 

Functions

int NextFieldOrdinal (const std::vector< SCH_FIELD > &aFields)
 
const SCH_FIELDFindField (const std::vector< SCH_FIELD > &aFields, FIELD_T aFieldId)
 
SCH_FIELDFindField (std::vector< SCH_FIELD > &aFields, FIELD_T aFieldId)
 
const SCH_FIELDFindField (const std::vector< SCH_FIELD > &aFields, const wxString &aFieldName)
 
SCH_FIELDFindField (std::vector< SCH_FIELD > &aFields, const wxString &aFieldName)
 
wxString GetFieldValue (const std::vector< SCH_FIELD > *aFields, FIELD_T aFieldType)
 
std::string GetFieldValue (const std::vector< SCH_FIELD > *aFields, const wxString &aFieldName, bool aResolve, int aDepth)
 
void SetFieldValue (std::vector< SCH_FIELD > &aFields, const wxString &aFieldName, const std::string &aValue, bool aIsVisible=true)
 

Function Documentation

◆ FindField() [1/4]

const SCH_FIELD * FindField ( const std::vector< SCH_FIELD > & aFields,
const wxString & aFieldName )
inline

Definition at line 379 of file sch_field.h.

◆ FindField() [2/4]

◆ FindField() [3/4]

SCH_FIELD * FindField ( std::vector< SCH_FIELD > & aFields,
const wxString & aFieldName )
inline

Definition at line 392 of file sch_field.h.

References FindField().

◆ FindField() [4/4]

SCH_FIELD * FindField ( std::vector< SCH_FIELD > & aFields,
FIELD_T aFieldId )
inline

Definition at line 372 of file sch_field.h.

References FindField().

◆ GetFieldValue() [1/2]

std::string GetFieldValue ( const std::vector< SCH_FIELD > * aFields,
const wxString & aFieldName,
bool aResolve,
int aDepth )
inline

Definition at line 411 of file sch_field.h.

References FindField().

◆ GetFieldValue() [2/2]

◆ NextFieldOrdinal()

int NextFieldOrdinal ( const std::vector< SCH_FIELD > & aFields)
inline

◆ SetFieldValue()

void SetFieldValue ( std::vector< SCH_FIELD > & aFields,
const wxString & aFieldName,
const std::string & aValue,
bool aIsVisible = true )
inline