KiCad PCB EDA Suite
|
#include <embedded_files.h>
Public Types | |
enum class | FILE_TYPE { FONT , MODEL , WORKSHEET , DATASHEET , OTHER } |
Public Member Functions | |
EMBEDDED_FILE () | |
bool | Validate () |
bool | Validate_SHA256 () |
wxString | GetLink () const |
Public Attributes | |
wxString | name |
FILE_TYPE | type |
bool | is_valid |
std::string | compressedEncodedData |
std::vector< char > | decompressedData |
std::string | data_hash |
Definition at line 36 of file embedded_files.h.
|
strong |
Enumerator | |
---|---|
FONT | |
MODEL | |
WORKSHEET | |
DATASHEET | |
OTHER |
Definition at line 38 of file embedded_files.h.
|
inline |
Definition at line 47 of file embedded_files.h.
|
inline |
Definition at line 72 of file embedded_files.h.
References FILEEXT::KiCadUriPrefix, and name.
Referenced by EMBEDDED_FILES::GetEmbeddedFileLink(), PANEL_FP_PROPERTIES_3D_MODEL::OnAdd3DModel(), PANEL_EMBEDDED_FILES::onAddEmbeddedFile(), TEXT_BUTTON_URL::OnButtonClick(), and DIALOG_PAGES_SETTINGS::OnWksFileSelection().
|
inline |
Definition at line 52 of file embedded_files.h.
References MMH3_HASH::add(), data_hash, decompressedData, MMH3_HASH::digest(), is_valid, EMBEDDED_FILES::Seed(), and HASH_128::ToString().
|
inline |
Definition at line 63 of file embedded_files.h.
References data_hash, decompressedData, and is_valid.
std::string EMBEDDED_FILES::EMBEDDED_FILE::compressedEncodedData |
Definition at line 80 of file embedded_files.h.
Referenced by EMBEDDED_FILES::CompressAndEncode(), EMBEDDED_FILES::DecompressAndDecode(), SCH_SCREEN::FixupEmbeddedData(), BOARD::FixupEmbeddedData(), and EMBEDDED_FILES::WriteEmbeddedFiles().
std::string EMBEDDED_FILES::EMBEDDED_FILE::data_hash |
Definition at line 82 of file embedded_files.h.
Referenced by BOOST_AUTO_TEST_CASE(), EMBEDDED_FILES::CompressAndEncode(), EMBEDDED_FILES::DecompressAndDecode(), SCH_SCREEN::FixupEmbeddedData(), BOARD::FixupEmbeddedData(), Validate(), Validate_SHA256(), and EMBEDDED_FILES::WriteEmbeddedFiles().
std::vector<char> EMBEDDED_FILES::EMBEDDED_FILE::decompressedData |
Definition at line 81 of file embedded_files.h.
Referenced by BOOST_AUTO_TEST_CASE(), EMBEDDED_FILES::CompressAndEncode(), ALTIUM_PCB::ConvertComponentBody6ToFootprintItem(), EMBEDDED_FILES::DecompressAndDecode(), SCH_SCREEN::FixupEmbeddedData(), BOARD::FixupEmbeddedData(), ALTIUM_PCB::ParseComponentsBodies6Data(), Validate(), and Validate_SHA256().
bool EMBEDDED_FILES::EMBEDDED_FILE::is_valid |
Definition at line 79 of file embedded_files.h.
Referenced by SCH_SCREEN::FixupEmbeddedData(), BOARD::FixupEmbeddedData(), Validate(), and Validate_SHA256().
wxString EMBEDDED_FILES::EMBEDDED_FILE::name |
Definition at line 77 of file embedded_files.h.
Referenced by EMBEDDED_FILES::AddFile(), BOOST_AUTO_TEST_CASE(), ALTIUM_PCB::ConvertComponentBody6ToFootprintItem(), EMBEDDED_FILES::DecompressAndDecode(), GetLink(), DIALOG_PAGES_SETTINGS::OnWksFileSelection(), ALTIUM_PCB::ParseComponentsBodies6Data(), and EMBEDDED_FILES::WriteEmbeddedFiles().
FILE_TYPE EMBEDDED_FILES::EMBEDDED_FILE::type |
Definition at line 78 of file embedded_files.h.
Referenced by ALTIUM_PCB::ConvertComponentBody6ToFootprintItem(), LIB_SYMBOL::EmbedFonts(), BOARD::EmbedFonts(), FOOTPRINT::EmbedFonts(), and EMBEDDED_FILES::WriteEmbeddedFiles().