KiCad PCB EDA Suite
|
#include <odb_feature.h>
Public Member Functions | |
ODB_SURFACE (uint32_t aIndex, const SHAPE_POLY_SET::POLYGON &aPolygon, FILL_T aFillType=FILL_T::FILLED_SHAPE) | |
virtual | ~ODB_SURFACE ()=default |
virtual FEATURE_TYPE | GetFeatureType () override |
virtual void | WriteFeatures (std::ostream &ost) |
void | WriteAttributes (std::ostream &ost) const |
Public Attributes | |
std::unique_ptr< ODB_SURFACE_DATA > | m_surfaces |
std::map< unsigned int, std::string > | m_ODBattributes |
Protected Types | |
enum class | FEATURE_TYPE { LINE , ARC , PAD , SURFACE } |
Protected Member Functions | |
virtual void | WriteRecordContent (std::ostream &ost) override |
Protected Attributes | |
const uint32_t | m_index |
Definition at line 298 of file odb_feature.h.
|
strongprotectedinherited |
Enumerator | |
---|---|
LINE | |
ARC | |
PAD | |
SURFACE |
Definition at line 212 of file odb_feature.h.
ODB_SURFACE::ODB_SURFACE | ( | uint32_t | aIndex, |
const SHAPE_POLY_SET::POLYGON & | aPolygon, | ||
FILL_T | aFillType = FILL_T::FILLED_SHAPE ) |
Definition at line 922 of file odb_feature.cpp.
References ODB_FEATURE::ODB_FEATURE().
|
virtualdefault |
|
inlineoverridevirtual |
Implements ODB_FEATURE.
Definition at line 306 of file odb_feature.h.
References ODB_FEATURE::SURFACE.
|
inherited |
Definition at line 57 of file odb_attribute.cpp.
References m_ODBattributes.
Referenced by EDA_DATA::NET::Write(), ODB_COMPONENT::Write(), ODB_ARC::WriteRecordContent(), ODB_LINE::WriteRecordContent(), ODB_PAD::WriteRecordContent(), and ODB_SURFACE::WriteRecordContent().
|
virtualinherited |
Definition at line 865 of file odb_feature.cpp.
References ARC, GetFeatureType(), LINE, PAD, SURFACE, and WriteRecordContent().
|
overrideprotectedvirtual |
Implements ODB_FEATURE.
Definition at line 940 of file odb_feature.cpp.
References m_surfaces, and ATTR_RECORD_WRITER::WriteAttributes().
|
protectedinherited |
Definition at line 224 of file odb_feature.h.
Referenced by ODB_FEATURE().
|
inherited |
Definition at line 378 of file odb_attribute.h.
Referenced by WriteAttributes().
std::unique_ptr<ODB_SURFACE_DATA> ODB_SURFACE::m_surfaces |
Definition at line 308 of file odb_feature.h.
Referenced by WriteRecordContent().