KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ODB_ARC Class Reference

#include <odb_feature.h>

Inheritance diagram for ODB_ARC:
ODB_FEATURE ATTR_RECORD_WRITER

Public Member Functions

virtual FEATURE_TYPE GetFeatureType () override
 
 ODB_ARC (uint32_t aIndex, const std::pair< wxString, wxString > &aStart, const std::pair< wxString, wxString > &aEnd, const std::pair< wxString, wxString > &aCenter, uint32_t aSym, ODB_DIRECTION aDirection)
 
virtual void WriteFeatures (std::ostream &ost)
 
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 void WriteRecordContent (std::ostream &ost) override
 

Protected Attributes

const uint32_t m_index
 

Private Attributes

std::pair< wxString, wxString > m_start
 
std::pair< wxString, wxString > m_end
 
std::pair< wxString, wxString > m_center
 
uint32_t m_symIndex
 
ODB_DIRECTION m_direction
 

Detailed Description

Definition at line 246 of file odb_feature.h.

Member Enumeration Documentation

◆ FEATURE_TYPE

enum class ODB_FEATURE::FEATURE_TYPE
strongprotectedinherited
Enumerator
LINE 
ARC 
PAD 
SURFACE 

Definition at line 210 of file odb_feature.h.

Constructor & Destructor Documentation

◆ ODB_ARC()

ODB_ARC::ODB_ARC ( uint32_t  aIndex,
const std::pair< wxString, wxString > &  aStart,
const std::pair< wxString, wxString > &  aEnd,
const std::pair< wxString, wxString > &  aCenter,
uint32_t  aSym,
ODB_DIRECTION  aDirection 
)
inline

Definition at line 252 of file odb_feature.h.

Member Function Documentation

◆ GetFeatureType()

virtual FEATURE_TYPE ODB_ARC::GetFeatureType ( )
inlineoverridevirtual

Implements ODB_FEATURE.

Definition at line 249 of file odb_feature.h.

References ODB_FEATURE::ARC.

◆ WriteAttributes()

void ATTR_RECORD_WRITER::WriteAttributes ( std::ostream &  ost) const
inherited

◆ WriteFeatures()

void ODB_FEATURE::WriteFeatures ( std::ostream &  ost)
virtualinherited

◆ WriteRecordContent()

void ODB_ARC::WriteRecordContent ( std::ostream &  ost)
overrideprotectedvirtual

Member Data Documentation

◆ attributes

std::map<unsigned int, std::string> ATTR_RECORD_WRITER::attributes
inherited

Definition at line 348 of file odb_attribute.h.

Referenced by ATTR_RECORD_WRITER::WriteAttributes().

◆ m_center

std::pair<wxString, wxString> ODB_ARC::m_center
private

Definition at line 267 of file odb_feature.h.

Referenced by WriteRecordContent().

◆ m_direction

ODB_DIRECTION ODB_ARC::m_direction
private

Definition at line 269 of file odb_feature.h.

Referenced by WriteRecordContent().

◆ m_end

std::pair<wxString, wxString> ODB_ARC::m_end
private

Definition at line 266 of file odb_feature.h.

Referenced by WriteRecordContent().

◆ m_index

const uint32_t ODB_FEATURE::m_index
protectedinherited

Definition at line 222 of file odb_feature.h.

◆ m_start

std::pair<wxString, wxString> ODB_ARC::m_start
private

Definition at line 265 of file odb_feature.h.

Referenced by WriteRecordContent().

◆ m_symIndex

uint32_t ODB_ARC::m_symIndex
private

Definition at line 268 of file odb_feature.h.

Referenced by WriteRecordContent().


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