DCMTK
Version 3.6.4
OFFIS DICOM Toolkit
|
Implements platform independent alignment, if possible similar to C++11's alignof / alignas functionality. More...
Macros | |
#define | OFalignof <unspecified> |
Determine the alignment of a type T. More... | |
#define | OFalignas <unspecified> |
Align object or class like another type or as specified by an integral expression. More... | |
#define | OFalign <unspecified> |
Align a variable or data member. More... | |
#define | OFalign_typename OFTypename <unspecified> |
Alternate version of OFalign to be used within templates. More... | |
Implements platform independent alignment, if possible similar to C++11's alignof / alignas functionality.
#define OFalign <unspecified> |
Align a variable or data member.
#ifdef OFalign
to query availability. OFalign(T,I)
evaluates to a type with a corresponding alignment modifier (either included in the type definition or as a modifier put next to it).OFalign(T,int)
. OFalign will then calculate the alignment using OFalignof (if available) or use sizeof() as approximation.OFalign(char[12],float)
to align an array containing 12 chars like a float.#define OFalign_typename OFTypename <unspecified> |
Alternate version of OFalign to be used within templates.
#ifdef OFalign
or #ifdef OFalign_typename
to query availability. #define OFalignas <unspecified> |
Align object or class like another type or as specified by an integral expression.
#ifdef OFalignas
to query availability. See OFalign for an alternative with limited functionality that supports more platforms in return. OFalignas behaves similar to C++11's alignas when it's supported. #define OFalignof <unspecified> |
Determine the alignment of a type T.
#ifdef OFalignof
to query availability. OFalignof behaves similar to C++11's alignof when it's supported.