KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ALLEGRO::BLOCK< T > Class Template Reference

#include <allegro_pcb_structs.h>

Inheritance diagram for ALLEGRO::BLOCK< T >:
ALLEGRO::BLOCK_BASE

Public Member Functions

 BLOCK (uint8_t aBlockType, size_t aOffset)
 
const TGetData () const
 
TGetData ()
 
uint8_t GetBlockType () const
 
size_t GetOffset () const
 
uint32_t GetKey () const
 

Private Attributes

T m_data
 
uint8_t m_blockType
 
size_t m_offset
 

Detailed Description

template<typename T>
class ALLEGRO::BLOCK< T >

Definition at line 75 of file allegro_pcb_structs.h.

Constructor & Destructor Documentation

◆ BLOCK()

template<typename T>
ALLEGRO::BLOCK< T >::BLOCK ( uint8_t aBlockType,
size_t aOffset )
inline

Definition at line 78 of file allegro_pcb_structs.h.

References ALLEGRO::BLOCK_BASE::BLOCK_BASE().

Member Function Documentation

◆ GetBlockType()

◆ GetData() [1/2]

template<typename T>
T & ALLEGRO::BLOCK< T >::GetData ( )
inline

Definition at line 83 of file allegro_pcb_structs.h.

References m_data, and T.

◆ GetData() [2/2]

◆ GetKey()

uint32_t BLOCK_BASE::GetKey ( ) const
inherited

Definition at line 101 of file allegro_db.cpp.

References GetBlockKey().

Referenced by PadGetNextInFootprint().

◆ GetOffset()

size_t ALLEGRO::BLOCK_BASE::GetOffset ( ) const
inlineinherited

Member Data Documentation

◆ m_blockType

uint8_t ALLEGRO::BLOCK_BASE::m_blockType
privateinherited

Definition at line 69 of file allegro_pcb_structs.h.

Referenced by BLOCK_BASE(), and GetBlockType().

◆ m_data

template<typename T>
T ALLEGRO::BLOCK< T >::m_data
private

Definition at line 86 of file allegro_pcb_structs.h.

Referenced by GetData(), and GetData().

◆ m_offset

size_t ALLEGRO::BLOCK_BASE::m_offset
privateinherited

Definition at line 70 of file allegro_pcb_structs.h.

Referenced by BLOCK_BASE(), and GetOffset().


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