• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

okteta

Public Attributes | List of all members
EndianIndependentBase< T, padCount > Struct Template Reference

#include <allprimitivetypes.h>

Inheritance diagram for EndianIndependentBase< T, padCount >:
Inheritance graph
[legend]

Public Attributes

char padding [padCount]
 
T value
 

Detailed Description

template<typename T, int padCount>
struct EndianIndependentBase< T, padCount >

Ensures that when used in a union the uint8 value will be equal to the lowest bits of the uint32 value This means we need to add padding equal to 8-sizeof(T) before the value in the big endian case.

On little endian padding gets added at the end (not strictly necessary)

Definition at line 50 of file allprimitivetypes.h.

Member Data Documentation

template<typename T, int padCount>
char EndianIndependentBase< T, padCount >::padding

Definition at line 52 of file allprimitivetypes.h.

template<typename T, int padCount>
T EndianIndependentBase< T, padCount >::value

Definition at line 54 of file allprimitivetypes.h.


The documentation for this struct was generated from the following file:
  • allprimitivetypes.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okteta

Skip menu "okteta"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal