Search for usage in LXR

KItinerary::KnowledgeDb::UnalignedNumber< N > Class Template Reference

#include <knowledgedb.h>

Inheritance diagram for KItinerary::KnowledgeDb::UnalignedNumber< N >:

Public Member Functions

constexpr UnalignedNumber (uint32_t num)
constexpr bool operator!= (UnalignedNumber< N > other) const
constexpr bool operator< (UnalignedNumber< N > other) const
constexpr bool operator== (UnalignedNumber< N > other) const
constexpr uint32_t value () const

Protected Member Functions

void setValue (uint32_t num)

Detailed Description

template<int N>
class KItinerary::KnowledgeDb::UnalignedNumber< N >

Unalinged storage of a numerical value.

This is optimized for a compact memory layout, at the expense of slightly more expensive comparison operations.

Template Parameters
Nthe size in byte, at this point limited to at most 4

Definition at line 59 of file knowledgedb.h.

The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Nov 30 2021 23:06:14 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.