KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ALTIUM_COMPRESSED_READER Class Reference

#include <altium_binary_parser.h>

Inheritance diagram for ALTIUM_COMPRESSED_READER:
ALTIUM_BINARY_READER

Public Member Functions

 ALTIUM_COMPRESSED_READER (const std::string &aData)
 
std::pair< int, std::string * > ReadCompressedString ()
 
int32_t ReadInt32 ()
 
int16_t ReadInt16 ()
 
uint8_t ReadByte ()
 
std::string ReadShortPascalString ()
 
std::string ReadFullPascalString ()
 

Private Member Functions

std::string * decompressData (std::string &aData)
 

Private Attributes

std::string decompressedData
 
const std::string & m_data
 
size_t m_position
 

Detailed Description

Definition at line 413 of file altium_binary_parser.h.

Constructor & Destructor Documentation

◆ ALTIUM_COMPRESSED_READER()

ALTIUM_COMPRESSED_READER::ALTIUM_COMPRESSED_READER ( const std::string & aData)
inline

Member Function Documentation

◆ decompressData()

std::string * ALTIUM_COMPRESSED_READER::decompressData ( std::string & aData)
inlineprivate

Definition at line 441 of file altium_binary_parser.h.

References decompressedData.

Referenced by ReadCompressedString().

◆ ReadByte()

uint8_t ALTIUM_BINARY_READER::ReadByte ( )
inlineinherited

◆ ReadCompressedString()

std::pair< int, std::string * > ALTIUM_COMPRESSED_READER::ReadCompressedString ( )
inline

◆ ReadFullPascalString()

std::string ALTIUM_BINARY_READER::ReadFullPascalString ( )
inlineinherited

Definition at line 396 of file altium_binary_parser.h.

References m_data, m_position, and ReadInt32().

Referenced by ALTIUM_COMPRESSED_READER::ReadCompressedString().

◆ ReadInt16()

int16_t ALTIUM_BINARY_READER::ReadInt16 ( )
inlineinherited

Definition at line 364 of file altium_binary_parser.h.

References m_data, and m_position.

Referenced by SCH_IO_ALTIUM::ParseLibFile().

◆ ReadInt32()

int32_t ALTIUM_BINARY_READER::ReadInt32 ( )
inlineinherited

Definition at line 354 of file altium_binary_parser.h.

References m_data, and m_position.

Referenced by SCH_IO_ALTIUM::ParseLibFile(), and ReadFullPascalString().

◆ ReadShortPascalString()

std::string ALTIUM_BINARY_READER::ReadShortPascalString ( )
inlineinherited

Member Data Documentation

◆ decompressedData

std::string ALTIUM_COMPRESSED_READER::decompressedData
private

Definition at line 439 of file altium_binary_parser.h.

Referenced by decompressData().

◆ m_data

const std::string& ALTIUM_BINARY_READER::m_data
privateinherited

◆ m_position

size_t ALTIUM_BINARY_READER::m_position
privateinherited

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