Scalars

Scalars represent single values, such as a floating point number (arbb::f32, arbb::f64), a signed integer (arbb::i8, arbb::i16, arbb::i32, arbb::i64), an unsigned integer (arbb::u8, arbb::u16, arbb::u32, arbb::u64), a boolean (arbb::boolean), or a platform-dependent size (arbb::usize, arbb::isize).

Classes

class  arbb::scalar< scalar_type >
 Template representing any scalar types (such as arbb::f32). More...

Modules

 Scalar Type Traits
 

Specializations of traits such as arbb::captured and arbb::uncaptured.


Typedefs

typedef scalar< arbb_f32 > arbb::f32
 A 32-bit floating point number.
typedef scalar< arbb_f64 > arbb::f64
 A 64-bit floating point number.
typedef scalar< arbb_i8 > arbb::i8
 An 8-bit signed integer.
typedef scalar< arbb_i16 > arbb::i16
 A 16-bit signed integer.
typedef scalar< arbb_i32 > arbb::i32
 A 32-bit signed integer.
typedef scalar< arbb_i64 > arbb::i64
 A 64-bit signed integer.
typedef scalar< arbb_u8 > arbb::u8
 An 8-bit unsigned integer.
typedef scalar< arbb_u16 > arbb::u16
 A 16-bit unsigned integer.
typedef scalar< arbb_u32 > arbb::u32
 A 32-bit unsigned integer.
typedef scalar< arbb_u64 > arbb::u64
 A 64-bit unsigned integer.
typedef scalar< arbb_boolean > arbb::boolean
 A boolean value which is either true or false.
typedef scalar< arbb_isize > arbb::isize
 A signed integer of platform-dependent size.
typedef scalar< arbb_usize > arbb::usize
 An unsigned integer of platform-dependent size.

Functions

template<arbb_scalar_type_t scalar_type>
uncaptured< scalar
< scalar_type > >::type 
arbb::value (const scalar< scalar_type > &variable)
 Returns the value stored in a scalar that has been declared outside of a closure capture.

Typedef Documentation

typedef scalar<arbb_f32> arbb::f32

A 32-bit floating point number.

Definition at line 109 of file scalar.hpp.

typedef scalar<arbb_f64> arbb::f64

A 64-bit floating point number.

Definition at line 111 of file scalar.hpp.

typedef scalar<arbb_i8> arbb::i8

An 8-bit signed integer.

Definition at line 113 of file scalar.hpp.

typedef scalar<arbb_i16> arbb::i16

A 16-bit signed integer.

Definition at line 115 of file scalar.hpp.

typedef scalar<arbb_i32> arbb::i32

A 32-bit signed integer.

Definition at line 117 of file scalar.hpp.

typedef scalar<arbb_i64> arbb::i64

A 64-bit signed integer.

Definition at line 119 of file scalar.hpp.

typedef scalar<arbb_u8> arbb::u8

An 8-bit unsigned integer.

Definition at line 121 of file scalar.hpp.

typedef scalar<arbb_u16> arbb::u16

A 16-bit unsigned integer.

Definition at line 123 of file scalar.hpp.

typedef scalar<arbb_u32> arbb::u32

A 32-bit unsigned integer.

Definition at line 125 of file scalar.hpp.

typedef scalar<arbb_u64> arbb::u64

A 64-bit unsigned integer.

Definition at line 127 of file scalar.hpp.

typedef scalar<arbb_boolean> arbb::boolean

A boolean value which is either true or false.

Definition at line 129 of file scalar.hpp.

typedef scalar<arbb_isize> arbb::isize

A signed integer of platform-dependent size.

Definition at line 131 of file scalar.hpp.

typedef scalar<arbb_usize> arbb::usize

An unsigned integer of platform-dependent size.

Definition at line 133 of file scalar.hpp.


Function Documentation

template<arbb_scalar_type_t scalar_type>
uncaptured<scalar<scalar_type> >::type arbb::value ( const scalar< scalar_type > &  variable  )  [inline]

Returns the value stored in a scalar that has been declared outside of a closure capture.

Exceptions:

arbb::exception if variable was not declared outside of a closure capture.

Submit feedback on this help topic

Copyright © 2010, Intel Corporation. All rights reserved.