KiCad PCB EDA Suite
lib_table_base.h File Reference
#include <map>
#include <boost/interprocess/exceptions.hpp>
#include <boost/ptr_container/ptr_vector.hpp>
#include <boost/noncopyable.hpp>
#include <project.h>
#include <properties.h>
#include <richio.h>

Go to the source code of this file.


 Class LIB_TABLE_ROW. More...
class  LIB_TABLE
 Class LIB_TABLE. More...


#define FP_LATE_ENVVAR   1
 late=1/early=0 environment variable expansion More...


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

Macro Definition Documentation

#define FP_LATE_ENVVAR   1

late=1/early=0 environment variable expansion

Definition at line 40 of file lib_table_base.h.

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