XdkWrl: SFInt32 Class Reference

Home | Hierarchy | Members | Alphabetical | Related Pages

# SFInt32 Class Reference
[Field Types]

`#include <sfint32.h>`

List of all members.

## Public Member Functions
| SFInt32 ()
| SFInt32 (const int b)
SFInt32 & | operator= (const int b)
SFInt32 & | operator= (const SFInt32 b)
| operator int () const
int | operator== (const SFInt32 &b)
## Static Public Member Functions
static const char * | typeName ()
static FieldTypeId | typeId ()
## Friends
std::ostream & | operator<< (std::ostream &s, const SFInt32 &f)

## Detailed Description

Represents an integer value. Below is included the documentation for this field type from the ISO standard.

## 5.6 SFInt32 and MFInt32

The SFInt32 field and event specifies one 32-bit integer. The MFInt32 field and event specifies zero or more 32-bit integers. SFInt32 and MFInt32 fields and events are written to the VRML file as an integer in decimal or hexadecimal (beginning with '0x') format. For example:

        fooInt32 [ 17, -0xE20, -518820 ]

is an MFInt32 field containing three values.

The initial value of an SFInt32 eventOut is 0. The initial value of an MFInt32 eventOut is [ ].

## Constructor & Destructor Documentation

SFInt32 | ( |  | ) | `[inline]`

Creates a SFInt32 with default value 0.0f.

SFInt32 | ( | const int | b | ) | `[inline]`

Creates a SFInt32 with value `b`.

## Member Function Documentation

SFInt32 & operator= | ( | const int | b | ) | `[inline]`

SFInt32 & operator= | ( | const SFInt32 | b | ) | `[inline]`

operator int | ( |  | ) | const`[inline]`

int operator== | ( | const SFInt32 & | b | ) | `[inline]`

const char * typeName | ( |  | ) | `[inline, static]`

FieldTypeId typeId | ( |  | ) | `[inline, static]`

## Friends And Related Function Documentation

std::ostream& operator<< | ( | std::ostream & | s,
|  | const SFInt32 & | f |
| ) |  |  | `[friend]`

Generated on 5 Jan 2007 with version 1.5.1. |