| 
    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 43 of file embedded_files.h.
      
  | 
  strong | 
| Enumerator | |
|---|---|
| FONT | |
| MODEL | |
| WORKSHEET | |
| DATASHEET | |
| OTHER | |
Definition at line 45 of file embedded_files.h.
      
  | 
  inline | 
Definition at line 54 of file embedded_files.h.
      
  | 
  inline | 
Definition at line 79 of file embedded_files.h.
References FILEEXT::KiCadUriPrefix, and name.
Referenced by EMBEDDED_FILES::GetEmbeddedFileLink(), and PANEL_EMBEDDED_FILES::PANEL_EMBEDDED_FILES().
      
  | 
  inline | 
Definition at line 59 of file embedded_files.h.
References MMH3_HASH::add(), data_hash, decompressedData, MMH3_HASH::digest(), is_valid, and EMBEDDED_FILES::Seed().
      
  | 
  inline | 
Definition at line 70 of file embedded_files.h.
References data_hash, decompressedData, and is_valid.
| std::string EMBEDDED_FILES::EMBEDDED_FILE::compressedEncodedData | 
Definition at line 87 of file embedded_files.h.
Referenced by EMBEDDED_FILES::CompressAndEncode(), EMBEDDED_FILES::DecompressAndDecode(), BOARD::FixupEmbeddedData(), SCH_SCREEN::FixupEmbeddedData(), and EMBEDDED_FILES::WriteEmbeddedFiles().
| std::string EMBEDDED_FILES::EMBEDDED_FILE::data_hash | 
Definition at line 89 of file embedded_files.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), EMBEDDED_FILES::CompressAndEncode(), EMBEDDED_FILES::DecompressAndDecode(), BOARD::FixupEmbeddedData(), SCH_SCREEN::FixupEmbeddedData(), Validate(), Validate_SHA256(), and EMBEDDED_FILES::WriteEmbeddedFiles().
| std::vector<char> EMBEDDED_FILES::EMBEDDED_FILE::decompressedData | 
Definition at line 88 of file embedded_files.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), EMBEDDED_FILES::CompressAndEncode(), ALTIUM_PCB::ConvertComponentBody6ToFootprintItem(), EMBEDDED_FILES::DecompressAndDecode(), BOARD::FixupEmbeddedData(), SCH_SCREEN::FixupEmbeddedData(), ALTIUM_PCB::ParseComponentsBodies6Data(), Validate(), and Validate_SHA256().
| bool EMBEDDED_FILES::EMBEDDED_FILE::is_valid | 
Definition at line 86 of file embedded_files.h.
Referenced by EMBEDDED_FILE(), BOARD::FixupEmbeddedData(), SCH_SCREEN::FixupEmbeddedData(), Validate(), and Validate_SHA256().
| wxString EMBEDDED_FILES::EMBEDDED_FILE::name | 
Definition at line 84 of file embedded_files.h.
Referenced by EMBEDDED_FILES::AddFile(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), ALTIUM_PCB::ConvertComponentBody6ToFootprintItem(), EMBEDDED_FILES::DecompressAndDecode(), GetLink(), PANEL_EMBEDDED_FILES::PANEL_EMBEDDED_FILES(), ALTIUM_PCB::ParseComponentsBodies6Data(), and EMBEDDED_FILES::WriteEmbeddedFiles().
| FILE_TYPE EMBEDDED_FILES::EMBEDDED_FILE::type | 
Definition at line 85 of file embedded_files.h.
Referenced by ALTIUM_PCB::ConvertComponentBody6ToFootprintItem(), EMBEDDED_FILE(), BOARD::EmbedFonts(), FOOTPRINT::EmbedFonts(), LIB_SYMBOL::EmbedFonts(), SCHEMATIC::EmbedFonts(), PANEL_EMBEDDED_FILES::onFontEmbedClick(), and EMBEDDED_FILES::WriteEmbeddedFiles().