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

#include <altium_binary_parser.h>

Inheritance diagram for ALTIUM_BINARY_READER:
ALTIUM_COMPRESSED_READER

Public Member Functions

 ALTIUM_BINARY_READER (const std::string &binaryData)
 
int32_t ReadInt32 ()
 
int16_t ReadInt16 ()
 
uint8_t ReadByte ()
 
std::string ReadShortPascalString ()
 
std::string ReadFullPascalString ()
 

Private Attributes

const std::string & m_data
 
size_t m_position
 

Detailed Description

Definition at line 332 of file altium_binary_parser.h.

Constructor & Destructor Documentation

◆ ALTIUM_BINARY_READER()

ALTIUM_BINARY_READER::ALTIUM_BINARY_READER ( const std::string &  binaryData)
inline

Definition at line 335 of file altium_binary_parser.h.

Member Function Documentation

◆ ReadByte()

uint8_t ALTIUM_BINARY_READER::ReadByte ( )
inline

◆ ReadFullPascalString()

std::string ALTIUM_BINARY_READER::ReadFullPascalString ( )
inline

Definition at line 379 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 ( )
inline

Definition at line 347 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 ( )
inline

Definition at line 337 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 ( )
inline

Member Data Documentation

◆ m_data

const std::string& ALTIUM_BINARY_READER::m_data
private

◆ m_position

size_t ALTIUM_BINARY_READER::m_position
private

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