Mapper  0.9.0
API documentation
Namespaces | Functions
ocd_types.cpp File Reference

(00b23e7 on 24 May 2019)

#include "ocd_types.h"
#include <algorithm>
#include <cstring>
#include <limits>
#include <stdexcept>
#include <vector>
#include "ocd_types_v8.h"
#include "ocd_types_v9.h"
#include "ocd_types_v10.h"
#include "ocd_types_v11.h"
#include "ocd_types_v12.h"
#include "ocd_types_v2018.h"
Include dependency graph for ocd_types.cpp:

Namespaces

 Ocd
 
 Ocd::string
 Private OCD string implementation details.
 

Functions

 Ocd::Q_STATIC_ASSERT (sizeof(double)==8)
 
 Ocd::Q_STATIC_ASSERT (sizeof(FileHeaderGeneric)==8)
 
 Ocd::Q_STATIC_ASSERT (sizeof(FormatV8::FileHeader) - sizeof(SymbolHeaderV8)==48)
 
 Ocd::Q_STATIC_ASSERT (sizeof(FormatV9::FileHeader)==48)
 
 Ocd::Q_STATIC_ASSERT (sizeof(FormatV12::FileHeader)==60)
 
 Ocd::Q_STATIC_ASSERT (std::extent< decltype(IconV8::bits)>::value==IconV8::length())
 
 Ocd::Q_STATIC_ASSERT (std::extent< decltype(IconV9::bits)>::value==IconV9::length())
 
unsigned char Ocd::string::assign (const QByteArray &value, unsigned char max_length, char *first, char *last) noexcept
 
unsigned char Ocd::string::assignUtf8 (const QString &value, unsigned char max_length, char *first, char *last)
 
std::size_t Ocd::string::assignUtf16 (const QString &value, std::size_t max_length, QChar *first, QChar *last)
 
bool Ocd::operator== (const IconV8 &lhs, const IconV8 &rhs)
 
bool Ocd::operator== (const IconV9 &lhs, const IconV9 &rhs)
 
const void * Ocd::getBlockCheckedRaw (const QByteArray &byte_array, quint32 pos, quint32 block_size)
 
QByteArrayOcd::addPadding (QByteArray &byte_array)
 Adds padding so that the next data is appended at a multiple of 8. More...
 
 Q_STATIC_ASSERT ((std::is_same< Ocd::FormatV10, Ocd::FormatV9 >::value))
 
 Q_STATIC_ASSERT ((std::is_same< Ocd::FormatV2018, Ocd::FormatV12 >::value))
 

Function Documentation

◆ Q_STATIC_ASSERT() [1/2]

Q_STATIC_ASSERT ( (std::is_same< Ocd::FormatV10, Ocd::FormatV9 >::value )

◆ Q_STATIC_ASSERT() [2/2]

Q_STATIC_ASSERT ( (std::is_same< Ocd::FormatV2018, Ocd::FormatV12 >::value )

Variable Documentation

◆ count

unsigned int count

◆ start

const quint8* start