64    wxString GetValue( 
int aRow, 
int aCol ) 
override;
 
   66    bool CanGetValueAs( 
int aRow, 
int aCol, 
const wxString& aTypeName ) 
override;
 
   68    bool GetValueAsBool( 
int aRow, 
int aCol ) 
override;
 
   70    void SetValue( 
int aRow, 
int aCol, 
const wxString& aValue ) 
override;
 
   72    void SetValueAsBool( 
int aRow, 
int aCol, 
bool aValue ) 
override;
 
   79    bool InsertRows( 
size_t aPos = 0, 
size_t aNumRows = 1 ) 
override;
 
   81    bool AppendRows( 
size_t aNumRows = 1 ) 
override;
 
   83    bool DeleteRows( 
size_t aPos, 
size_t aNumRows ) 
override;
 
   85    wxString GetColLabelValue( 
int aCol ) 
override;
 
   87    bool ContainsNickname( 
const wxString& aNickname );
 
  101    virtual size_t size() 
const;
 
 
The interface used by the classes that actually can load IO plugins for the different parts of KiCad ...
 
LIBRARY_TABLE m_table
Working copy of a table.
 
LIB_TABLE_GRID(const LIBRARY_TABLE &aTableToEdit, LIBRARY_MANAGER_ADAPTER *aAdapter=nullptr)
 
bool IsEmptyCell(int aRow, int aCol) override
 
friend class LIB_TABLE_GRID_TRICKS
 
wxString GetValue(int aRow, int aCol) override
 
LIBRARY_MANAGER_ADAPTER * m_adapter
Handle to the adapter for the type of table this grid represents (may be null)
 
LIBRARY_MANAGER_ADAPTER * Adapter() const
 
virtual size_t size() const
 
LIBRARY_TABLE_ROW & At(size_t aIndex)
 
int GetNumberCols() override
 
int GetNumberRows() override
 
virtual LIBRARY_TABLE_ROW & at(size_t aIndex)
 
std::vector< LIBRARY_TABLE_ROW >::iterator LIBRARY_TABLE_ROWS_ITER