KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ODB_ENTITY_BASE Class Referenceabstract

#include <odb_entity.h>

Inheritance diagram for ODB_ENTITY_BASE:
ODB_FONTS_ENTITY ODB_INPUT_ENTITY ODB_LAYER_ENTITY ODB_MATRIX_ENTITY ODB_MISC_ENTITY ODB_STEP_ENTITY ODB_SYMBOLS_ENTITY ODB_USER_ENTITY ODB_WHEELS_ENTITY

Public Member Functions

 ODB_ENTITY_BASE (BOARD *aBoard, PCB_IO_ODBPP *aPlugin)
 
 ODB_ENTITY_BASE ()
 
virtual ~ODB_ENTITY_BASE ()=default
 
virtual void GenerateFiles (ODB_TREE_WRITER &writer)
 
virtual bool CreateDirectoryTree (ODB_TREE_WRITER &writer)
 
virtual std::string GetEntityName ()=0
 
virtual void InitEntityData ()
 

Protected Attributes

BOARDm_board
 
std::vector< std::string > m_fileName
 
PCB_IO_ODBPPm_plugin
 

Detailed Description

Definition at line 42 of file odb_entity.h.

Constructor & Destructor Documentation

◆ ODB_ENTITY_BASE() [1/2]

ODB_ENTITY_BASE::ODB_ENTITY_BASE ( BOARD aBoard,
PCB_IO_ODBPP aPlugin 
)
inline

Definition at line 45 of file odb_entity.h.

◆ ODB_ENTITY_BASE() [2/2]

ODB_ENTITY_BASE::ODB_ENTITY_BASE ( )
inline

Definition at line 49 of file odb_entity.h.

◆ ~ODB_ENTITY_BASE()

virtual ODB_ENTITY_BASE::~ODB_ENTITY_BASE ( )
virtualdefault

Member Function Documentation

◆ CreateDirectoryTree()

bool ODB_ENTITY_BASE::CreateDirectoryTree ( ODB_TREE_WRITER writer)
virtual

◆ GenerateFiles()

virtual void ODB_ENTITY_BASE::GenerateFiles ( ODB_TREE_WRITER writer)
inlinevirtual

Reimplemented in ODB_MATRIX_ENTITY, ODB_MISC_ENTITY, ODB_STEP_ENTITY, ODB_LAYER_ENTITY, and ODB_FONTS_ENTITY.

Definition at line 52 of file odb_entity.h.

◆ GetEntityName()

virtual std::string ODB_ENTITY_BASE::GetEntityName ( )
pure virtual

◆ InitEntityData()

virtual void ODB_ENTITY_BASE::InitEntityData ( )
inlinevirtual

Reimplemented in ODB_MATRIX_ENTITY, ODB_STEP_ENTITY, and ODB_LAYER_ENTITY.

Definition at line 55 of file odb_entity.h.

Member Data Documentation

◆ m_board

◆ m_fileName

std::vector<std::string> ODB_ENTITY_BASE::m_fileName
protected

Definition at line 60 of file odb_entity.h.

◆ m_plugin


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