KiCad PCB EDA Suite
|
#include <odb_feature.h>
Public Member Functions | |
ODB_FEATURE (uint32_t aIndex) | |
virtual void | WriteFeatures (std::ostream &ost) |
virtual | ~ODB_FEATURE ()=default |
void | WriteAttributes (std::ostream &ost) const |
Public Attributes | |
std::map< unsigned int, std::string > | attributes |
Protected Types | |
enum class | FEATURE_TYPE { LINE , ARC , PAD , SURFACE } |
Protected Member Functions | |
virtual FEATURE_TYPE | GetFeatureType ()=0 |
virtual void | WriteRecordContent (std::ostream &ost)=0 |
Protected Attributes | |
const uint32_t | m_index |
Definition at line 200 of file odb_feature.h.
|
strongprotected |
Enumerator | |
---|---|
LINE | |
ARC | |
PAD | |
SURFACE |
Definition at line 210 of file odb_feature.h.
|
inline |
Definition at line 204 of file odb_feature.h.
|
virtualdefault |
|
protectedpure virtual |
Implemented in ODB_LINE, ODB_ARC, ODB_PAD, and ODB_SURFACE.
Referenced by WriteFeatures().
|
inherited |
Definition at line 57 of file odb_attribute.cpp.
References ATTR_RECORD_WRITER::attributes, and ODB::CHECK_ONCE::first.
Referenced by ODB_COMPONENT::Write(), EDA_DATA::NET::Write(), ODB_LINE::WriteRecordContent(), ODB_ARC::WriteRecordContent(), ODB_PAD::WriteRecordContent(), and ODB_SURFACE::WriteRecordContent().
|
virtual |
Definition at line 838 of file odb_feature.cpp.
References ARC, GetFeatureType(), LINE, PAD, SURFACE, and WriteRecordContent().
|
protectedpure virtual |
Implemented in ODB_LINE, ODB_ARC, ODB_PAD, and ODB_SURFACE.
Referenced by WriteFeatures().
|
inherited |
Definition at line 348 of file odb_attribute.h.
Referenced by ATTR_RECORD_WRITER::WriteAttributes().
|
protected |
Definition at line 222 of file odb_feature.h.