KiCad PCB EDA Suite
Loading...
Searching...
No Matches
lib_table_base.cpp File Reference
#include <wx/filename.h>
#include <set>
#include <common.h>
#include <kiface_base.h>
#include <lib_table_base.h>
#include <lib_table_lexer.h>
#include <macros.h>
#include <string_utils.h>

Go to the source code of this file.

Macros

#define OPT_SEP   '|'
 options separator character More...
 

Functions

LIB_TABLE_ROWnew_clone (const LIB_TABLE_ROW &aRow)
 Allows boost pointer containers to make clones of the data stored in them. More...
 

Macro Definition Documentation

◆ OPT_SEP

#define OPT_SEP   '|'

options separator character

Definition at line 36 of file lib_table_base.cpp.

Function Documentation

◆ new_clone()

LIB_TABLE_ROW * new_clone ( const LIB_TABLE_ROW aRow)

Allows boost pointer containers to make clones of the data stored in them.

Since they store pointers the data is cloned. Copying and assigning pointers would cause ownership issues if the standard C++ containers were used.

Definition at line 42 of file lib_table_base.cpp.

References LIB_TABLE_ROW::clone().