foobar2000 SDK  2015-01-14
Data Structures | Namespaces | Typedefs | Functions | Variables
int_types.h File Reference

Go to the source code of this file.

Data Structures

class  pfc::int_specs_signed_t< T >
 
class  pfc::int_specs_t< T >
 
class  pfc::int_specs_t< char >
 
class  pfc::int_specs_t< int >
 
class  pfc::int_specs_t< long >
 
class  pfc::int_specs_t< long long >
 
class  pfc::int_specs_t< short >
 
class  pfc::int_specs_t< unsigned char >
 
class  pfc::int_specs_t< unsigned int >
 
class  pfc::int_specs_t< unsigned long >
 
class  pfc::int_specs_t< unsigned long long >
 
class  pfc::int_specs_t< unsigned short >
 
class  pfc::int_specs_t< wchar_t >
 
class  pfc::int_specs_unsigned_t< T >
 
class  pfc::sized_int_t< t_bytes >
 
class  pfc::sized_int_t< 1 >
 
class  pfc::sized_int_t< 2 >
 
class  pfc::sized_int_t< 4 >
 
class  pfc::sized_int_t< 8 >
 

Namespaces

 pfc
 

Typedefs

typedef float t_float32
 
typedef double t_float64
 
typedef int t_int
 
typedef int16_t t_int16
 
typedef int32_t t_int32
 
typedef int64_t t_int64
 
typedef int8_t t_int8
 
typedef size_t t_size
 
typedef pfc::sized_int_t< sizeof(size_t) >::t_signed t_ssize
 
typedef unsigned int t_uint
 
typedef uint16_t t_uint16
 
typedef uint32_t t_uint32
 
typedef uint64_t t_uint64
 
typedef uint8_t t_uint8
 

Functions

t_size MulDiv_Size (t_size x, t_size y, t_size z)
 

Variables

const t_uint16 pfc::infinite16 = (t_uint16)(~0)
 
const t_uint32 pfc::infinite32 = (t_uint32)(~0)
 
const t_uint64 pfc::infinite64 = (t_uint64)(~0)
 
const t_size pfc::infinite_size = (t_size)(~0)
 

Data Structure Documentation

class pfc::int_specs_t

template<typename T>
class pfc::int_specs_t< T >

Definition at line 62 of file int_types.h.

class pfc::sized_int_t

template<unsigned t_bytes>
class pfc::sized_int_t< t_bytes >

Definition at line 21 of file int_types.h.

class pfc::sized_int_t< 1 >

template<>
class pfc::sized_int_t< 1 >

Definition at line 23 of file int_types.h.

Data Fields
typedef t_int8 t_signed
typedef t_uint8 t_unsigned
class pfc::sized_int_t< 2 >

template<>
class pfc::sized_int_t< 2 >

Definition at line 29 of file int_types.h.

Data Fields
typedef t_int16 t_signed
typedef t_uint16 t_unsigned
class pfc::sized_int_t< 4 >

template<>
class pfc::sized_int_t< 4 >

Definition at line 35 of file int_types.h.

Data Fields
typedef t_int32 t_signed
typedef t_uint32 t_unsigned
class pfc::sized_int_t< 8 >

template<>
class pfc::sized_int_t< 8 >

Definition at line 41 of file int_types.h.

Data Fields
typedef t_int64 t_signed
typedef t_uint64 t_unsigned

Typedef Documentation

typedef float t_float32

Definition at line 14 of file int_types.h.

typedef double t_float64

Definition at line 15 of file int_types.h.

typedef int t_int

Definition at line 11 of file int_types.h.

typedef int16_t t_int16

Definition at line 6 of file int_types.h.

typedef int32_t t_int32

Definition at line 4 of file int_types.h.

typedef int64_t t_int64

Definition at line 2 of file int_types.h.

typedef int8_t t_int8

Definition at line 8 of file int_types.h.

typedef size_t t_size

Definition at line 48 of file int_types.h.

typedef pfc::sized_int_t< sizeof(size_t) >::t_signed t_ssize

Definition at line 49 of file int_types.h.

typedef unsigned int t_uint

Definition at line 12 of file int_types.h.

typedef uint16_t t_uint16

Definition at line 7 of file int_types.h.

typedef uint32_t t_uint32

Definition at line 5 of file int_types.h.

typedef uint64_t t_uint64

Definition at line 3 of file int_types.h.

typedef uint8_t t_uint8

Definition at line 9 of file int_types.h.

Function Documentation

t_size MulDiv_Size ( t_size  x,
t_size  y,
t_size  z 
)
inline

Definition at line 52 of file int_types.h.

52 {return (t_size) ( ((t_uint64)x * (t_uint64)y) / (t_uint64)z );}
uint64_t t_uint64
Definition: int_types.h:3
size_t t_size
Definition: int_types.h:48