Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
ByteSwapper.h File Reference

Classes

class  Assimp::ByteSwap
 Defines some useful byte order swap routines. More...
 
struct  Assimp::ByteSwap::_swapper< T, 2 >
 
struct  Assimp::ByteSwap::_swapper< T, 4 >
 
struct  Assimp::ByteSwap::_swapper< T, 8 >
 
struct  Assimp::Intern::ByteSwapper< T, doit >
 
struct  Assimp::Intern::ByteSwapper< T, false >
 
struct  Assimp::Intern::Getter< SwapEndianess, T, RuntimeSwitch >
 
struct  Assimp::Intern::Getter< SwapEndianess, T, false >
 

Namespaces

namespace  Assimp
 Some C++ utilities for inter- and extrapolation.
 
namespace  Assimp::Intern
 

Macros

#define AI_BE(t)   (t)
 
#define AI_BYTESWAPPER_H_INC
 
#define AI_LE(t)   Assimp::ByteSwap::Swapped(t)
 
#define AI_LSWAP2(p)   Assimp::ByteSwap::Swap2(&(p))
 
#define AI_LSWAP2P(p)   Assimp::ByteSwap::Swap2((p))
 
#define AI_LSWAP4(p)   Assimp::ByteSwap::Swap4(&(p))
 
#define AI_LSWAP4P(p)   Assimp::ByteSwap::Swap4((p))
 
#define AI_LSWAP8(p)   Assimp::ByteSwap::Swap8(&(p))
 
#define AI_LSWAP8P(p)   Assimp::ByteSwap::Swap8((p))
 
#define AI_SWAP2(p)
 
#define AI_SWAP2P(p)
 
#define AI_SWAP4(p)
 
#define AI_SWAP4P(p)
 
#define AI_SWAP8(p)
 
#define AI_SWAP8P(p)
 
#define BE_NCONST   const
 
#define LE_NCONST
 

Macro Definition Documentation

◆ AI_BE

#define AI_BE (   t)    (t)

◆ AI_BYTESWAPPER_H_INC

#define AI_BYTESWAPPER_H_INC

◆ AI_LE

#define AI_LE (   t)    Assimp::ByteSwap::Swapped(t)

◆ AI_LSWAP2

#define AI_LSWAP2 (   p)    Assimp::ByteSwap::Swap2(&(p))

◆ AI_LSWAP2P

#define AI_LSWAP2P (   p)    Assimp::ByteSwap::Swap2((p))

◆ AI_LSWAP4

#define AI_LSWAP4 (   p)    Assimp::ByteSwap::Swap4(&(p))

◆ AI_LSWAP4P

#define AI_LSWAP4P (   p)    Assimp::ByteSwap::Swap4((p))

◆ AI_LSWAP8

#define AI_LSWAP8 (   p)    Assimp::ByteSwap::Swap8(&(p))

◆ AI_LSWAP8P

#define AI_LSWAP8P (   p)    Assimp::ByteSwap::Swap8((p))

◆ AI_SWAP2

#define AI_SWAP2 (   p)

◆ AI_SWAP2P

#define AI_SWAP2P (   p)

◆ AI_SWAP4

#define AI_SWAP4 (   p)

◆ AI_SWAP4P

#define AI_SWAP4P (   p)

◆ AI_SWAP8

#define AI_SWAP8 (   p)

◆ AI_SWAP8P

#define AI_SWAP8P (   p)

◆ BE_NCONST

#define BE_NCONST   const

◆ LE_NCONST

#define LE_NCONST