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)
SFInt32operator= (const int b)
SFInt32operator= (const SFInt32 b)
 operator int () const
int operator== (const SFInt32 &b)

Static Public Member Functions

const char * typeName ()
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 [ ].

--- VRML separator bar ---


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

operator int  )  const [inline]
 

SFInt32 & operator= const SFInt32  b  )  [inline]
 

SFInt32 & operator= const int  b  )  [inline]
 

int operator== const SFInt32 b  )  [inline]
 

FieldTypeId typeId  )  [inline, static]
 

const char * typeName  )  [inline, static]
 


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &  s,
const SFInt32 f
[friend]
 


Generated on 24 Feb 2005 with doxygen version 1.3.9.1. Valid HTML 4.0! Valid CSS!