KiCad PCB EDA Suite
PROJECT::_ELEM Class Referenceabstract

A PROJECT can hold stuff it knows nothing about, in the form of _ELEM derivatives. More...

#include <project.h>

Inheritance diagram for PROJECT::_ELEM:
LIB_TABLE PART_LIBS S3D_CACHE SEARCH_STACK FP_LIB_TABLE SYMBOL_LIB_TABLE TEST_LIB_TABLE FP_LIB_TABLE_GRID SYMBOL_LIB_TABLE_GRID

Public Member Functions

virtual ~_ELEM ()
 
virtual KICAD_T Type ()=0
 

Detailed Description

A PROJECT can hold stuff it knows nothing about, in the form of _ELEM derivatives.

Derive PROJECT elements from this, it has a virtual destructor, and Elem*() functions can work with it. Implementation is opaque in class PROJECT. If find you have to include derived class headers in this file, you are doing incompatible with the goal of this class. Keep knowledge of derived classes opaque to class PROJECT please.

Definition at line 68 of file project.h.

Constructor & Destructor Documentation

◆ ~_ELEM()

virtual PROJECT::_ELEM::~_ELEM ( )
inlinevirtual

Definition at line 71 of file project.h.

71 {}

Member Function Documentation

◆ Type()

virtual KICAD_T PROJECT::_ELEM::Type ( )
pure virtual

The documentation for this class was generated from the following file: