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.

Classes

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

Macros

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

Typedefs

typedef boost::ptr_vector< LIB_TABLE_ROWLIB_TABLE_ROWS
 
typedef LIB_TABLE_ROWS::iterator LIB_TABLE_ROWS_ITER
 
typedef LIB_TABLE_ROWS::const_iterator LIB_TABLE_ROWS_CITER
 

Functions

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.

Typedef Documentation

typedef boost::ptr_vector< LIB_TABLE_ROW > LIB_TABLE_ROWS

Definition at line 47 of file lib_table_base.h.

typedef LIB_TABLE_ROWS::const_iterator LIB_TABLE_ROWS_CITER

Definition at line 52 of file lib_table_base.h.

typedef LIB_TABLE_ROWS::iterator LIB_TABLE_ROWS_ITER

Definition at line 51 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