|
KiCad PCB EDA Suite
|
#include <allegro_pcb_structs.h>
Public Types | |
| using | value_type = T |
Public Member Functions | |
| virtual bool | exists (FMT_VER ver) const =0 |
| Define this function in the derived class to determine if the field exists in the given version of the file. | |
| T & | value () |
| const T & | value () const |
| bool | has_value () const |
| const T & | value_or (const T &aDefault) const |
| T & | operator* () |
| const T & | operator* () const |
| T * | operator-> () |
| const T * | operator-> () const |
| COND_FIELD_BASE & | operator= (const T &value) |
| COND_FIELD_BASE & | operator= (T &&value) |
Private Attributes | |
| std::optional< T > | m_Value |
Definition at line 128 of file allegro_pcb_structs.h.
| using ALLEGRO::COND_FIELD_BASE< T >::value_type = T |
Definition at line 130 of file allegro_pcb_structs.h.
|
pure virtual |
Define this function in the derived class to determine if the field exists in the given version of the file.
Implemented in ALLEGRO::COND_GE< MinVersion, T >, ALLEGRO::COND_GE< FMT_VER::V_164, std::array< uint32_t, 3 > >, ALLEGRO::COND_GE< FMT_VER::V_164, std::array< uint32_t, 4 > >, ALLEGRO::COND_GE< FMT_VER::V_164, uint16_t >, ALLEGRO::COND_GE< FMT_VER::V_164, uint32_t >, ALLEGRO::COND_GE< FMT_VER::V_165, std::vector< ALLEGRO::BLK_0x2A_LAYER_LIST::REF_ENTRY > >, ALLEGRO::COND_GE< FMT_VER::V_165, uint32_t >, ALLEGRO::COND_GE< FMT_VER::V_166, uint32_t >, ALLEGRO::COND_GE< FMT_VER::V_172, ALLEGRO::BLK_0x30_STR_WRAPPER::TEXT_PROPERTIES >, ALLEGRO::COND_GE< FMT_VER::V_172, int16_t >, ALLEGRO::COND_GE< FMT_VER::V_172, std::array< uint32_t, 2 > >, ALLEGRO::COND_GE< FMT_VER::V_172, std::array< uint32_t, 28 > >, ALLEGRO::COND_GE< FMT_VER::V_172, std::array< uint32_t, 8 > >, ALLEGRO::COND_GE< FMT_VER::V_172, std::string >, ALLEGRO::COND_GE< FMT_VER::V_172, uint16_t >, ALLEGRO::COND_GE< FMT_VER::V_172, uint32_t >, ALLEGRO::COND_GE< FMT_VER::V_174, std::array< uint32_t, 10 > >, ALLEGRO::COND_GE< FMT_VER::V_174, uint32_t >, ALLEGRO::COND_GE< FMT_VER::V_180, ALLEGRO::FILE_HEADER::LINKED_LIST >, ALLEGRO::COND_GE< FMT_VER::V_180, std::array< uint32_t, 8 > >, ALLEGRO::COND_GE< FMT_VER::V_180, std::array< uint32_t, 9 > >, ALLEGRO::COND_GE< FMT_VER::V_180, uint32_t >, ALLEGRO::COND_GE_LT< GEVersion, LTVersion, T >, ALLEGRO::COND_GE_LT< FMT_VER::V_165, FMT_VER::V_172, std::array< uint32_t, 8 > >, ALLEGRO::COND_LT< MaxVersion, T >, ALLEGRO::COND_LT< FMT_VER::V_165, std::vector< ALLEGRO::BLK_0x2A_LAYER_LIST::NONREF_ENTRY > >, ALLEGRO::COND_LT< FMT_VER::V_166, std::string >, ALLEGRO::COND_LT< FMT_VER::V_172, ALLEGRO::BLK_0x30_STR_WRAPPER::TEXT_PROPERTIES >, ALLEGRO::COND_LT< FMT_VER::V_172, std::array< uint32_t, 50 > >, ALLEGRO::COND_LT< FMT_VER::V_172, std::string >, ALLEGRO::COND_LT< FMT_VER::V_172, uint16_t >, ALLEGRO::COND_LT< FMT_VER::V_172, uint32_t >, ALLEGRO::COND_LT< FMT_VER::V_172, uint8_t >, ALLEGRO::COND_LT< FMT_VER::V_180, ALLEGRO::FILE_HEADER::LINKED_LIST >, ALLEGRO::COND_LT< FMT_VER::V_180, std::array< uint32_t, 17 > >, ALLEGRO::COND_LT< FMT_VER::V_180, std::array< uint32_t, 7 > >, and ALLEGRO::COND_LT< FMT_VER::V_180, uint32_t >.
|
inline |
Definition at line 141 of file allegro_pcb_structs.h.
References m_Value.
Referenced by ALLEGRO::BOARD_BUILDER::buildPadItems(), ALLEGRO::BOARD_BUILDER::getFpInstRef(), ALLEGRO::PIN_NUMBER::PIN_NUMBER(), ALLEGRO::BOARD_BUILDER::resolveShapeNet(), and value_or().
|
inline |
Definition at line 145 of file allegro_pcb_structs.h.
|
inline |
Definition at line 146 of file allegro_pcb_structs.h.
|
inline |
Definition at line 148 of file allegro_pcb_structs.h.
|
inline |
Definition at line 149 of file allegro_pcb_structs.h.
|
inline |
Definition at line 152 of file allegro_pcb_structs.h.
|
inline |
Definition at line 157 of file allegro_pcb_structs.h.
|
inline |
Definition at line 139 of file allegro_pcb_structs.h.
Referenced by ALLEGRO::BOARD_BUILDER::buildPadItems(), ALLEGRO::BOARD_BUILDER::getFpInstRef(), operator=(), operator=(), ALLEGRO::PIN_NUMBER::PIN_NUMBER(), ALLEGRO::BOARD_BUILDER::resolveShapeNet(), and value_or().
|
inline |
Definition at line 140 of file allegro_pcb_structs.h.
|
inline |
Definition at line 143 of file allegro_pcb_structs.h.
References has_value(), T, and value().
Referenced by ALLEGRO::BOARD_BUILDER::applyZoneFills(), and ALLEGRO::FOOTPRINT_INSTANCE::FOOTPRINT_INSTANCE().
|
private |
Definition at line 164 of file allegro_pcb_structs.h.
Referenced by has_value(), operator*(), operator*(), operator->(), operator->(), operator=(), operator=(), value(), and value().