KiCad PCB EDA Suite
lib_table_base.cpp File Reference
#include <wx/filename.h>
#include <set>
#include <fctsys.h>
#include <common.h>
#include <macros.h>
#include <kiface_i.h>
#include <lib_table_lexer.h>
#include <lib_table_base.h>

Go to the source code of this file.


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


LIB_TABLE_ROWnew_clone (const LIB_TABLE_ROW &aRow)
 Function new_clone. More...

Macro Definition Documentation

#define OPT_SEP   '|'

options separator character

Definition at line 39 of file lib_table_base.cpp.

Referenced by LIB_TABLE::FormatOptions(), and LIB_TABLE::ParseOptions().

Function Documentation

LIB_TABLE_ROW* new_clone ( const LIB_TABLE_ROW aRow)

Function new_clone.

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 45 of file lib_table_base.cpp.

References LIB_TABLE_ROW::clone().

46 {
47  return aRow.clone();
48 }
LIB_TABLE_ROW * clone() const