rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

macros.h File Reference

Defines

#define IlAbs(v)
 Returns the absolute value of a value.
#define IlFalse
 The constant false.
#define IlMax(v1, v2)
 Returns the maximum of two values.
#define IlMin(v1, v2)
 Returns the minimum of two values.
#define IlTrue
 The constant true.

Typedefs

typedef void * IlAny
 The type that can hold any pointer value.
typedef int IlBoolean
 The type that holds Boolean values.
typedef double IlDouble
 Double precision type.
typedef float IlFloat
 Single precision type.
typedef long IlInt
 The type that can hold all signed 32-bit integer values.
typedef short IlShort
 The type that can hold all signed 16-bit integer values.
typedef unsigned char IlUChar
 The type that can hold all unsigned 8-bit integer values.
typedef unsigned long IlUInt
 The type that can hold all unsigned 32-bit integer values.
typedef unsigned short IlUShort
 The type that can hold all unsigned 16-bit integer values.

Detailed Description

[library ilog ilog/macros.h] Common declarations for Rogue Wave Views products.


Define Documentation

#define IlAbs (  ) 

Returns the absolute value of a value.

This is defined as a macro for the types IlInt, IlUInt, IlShort, IlUShort, IlFloat and IlDouble.

Parameters:
v The input value.
Returns:
The absolute value of v that is, v if v is positive, and (-v) if v is negative.
const IlBoolean IlFalse

The constant false.

This constant represents the false value for an IlBoolean value.
It is equivalent to false for compilers that support the internal bool type.

#define IlMax ( v1,
v2   ) 

Returns the maximum of two values.

This is defined as a macro for the types int, long, short, float and double. v1 and v2 must have the same type (or be able to cast themselves to the type of the other).

Parameters:
v1 The first input value.
v2 The second input value.
Returns:
The maximum value of v1 and v2 that is, v1 if v1 is greater than v2, and v2 if v2 is greater than v1.
#define IlMin ( v1,
v2   ) 

Returns the minimum of two values.

This is defined as a macro for the types int, unsigned int, long, unsigned long, short, unsigned short, float and double.
v1 and v2 must have the same type (or be able to cast themselves to the type of the other).

Parameters:
v1 The first input value.
v2 The second input value.
Returns:
The minimum value of v1 and v2 that is, v1 if v2 is greater than v1, and v2 if v1 is greater than v2.
const IlBoolean IlTrue

The constant true.

This constant represents the true value for an IlBoolean value.
It is equivalent to true for compilers that support the internal bool type.


Typedef Documentation

The type that can hold any pointer value.

The IlAny type stores any pointer.

The type that holds Boolean values.

The type IlBoolean deals with Boolean entities. Boolean values within Rogue Wave Views are always handled by means of IlBoolean objects. A value is considered to be true when set to IlTrue, and false when set to IlFalse.
Note that this is equivalent to the internal bool type of compilers that support it.

Double precision type.

The IlDouble type is the Rogue Wave Views type used internally for the values that hold double precision numbers.

Single precision type.

The IlFloat type is the Rogue Wave Views type used internally for the values that hold single precision numbers.

The type that can hold all signed 32-bit integer values.

The IlInt type stores any signed integer value on 32 bits. This type provides a fixed size type that is supported by all the C++ compilers.

The type that can hold all signed 16-bit integer values.

The IlShort type stores any signed integer value on 16 bits. This type provides a fixed size type that is supported by all the C++ compilers.

The type that can hold all unsigned 8-bit integer values.

The IlUChar type stores any unsigned integer value on 8 bits. This type provides a fixed size type that is supported by all the C++ compilers.

The type that can hold all unsigned 32-bit integer values.

The IlUInt type stores any unsigned integer value on 32 bits. This type provides a fixed size type that is supported by all the C++ compilers.

The type that can hold all unsigned 16-bit integer values.

The IlUShort type stores any unsigned integer value on 16 bits. This type provides a fixed size type that is supported by all the C++ compilers.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.