Mapper  0.9.0
API documentation
Public Member Functions | Public Attributes | List of all members
Ocd::PascalString< N > Struct Template Reference

A string of max. More...

#include <ocd_types.h>

Public Member Functions

PascalStringoperator= (const QByteArray &value) noexcept
 

Public Attributes

unsigned char length
 
char data [N]
 

Detailed Description

template<unsigned char N>
struct Ocd::PascalString< N >

A string of max.

N characters with a pascal-style binary representation.

The first byte indicates the length, the following N bytes contain the actual character data. Unused bytes are filled with zero.

Member Function Documentation

◆ operator=()

template<unsigned char N>
PascalString& Ocd::PascalString< N >::operator= ( const QByteArray value)
inlinenoexcept

Member Data Documentation

◆ data

template<unsigned char N>
char Ocd::PascalString< N >::data[N]

◆ length

template<unsigned char N>
unsigned char Ocd::PascalString< N >::length

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