Home | Hierarchy | Members | Alphabetical | Related Pages |
#include <mfint32.h>
Public Member Functions | |
MFInt32 () | |
template<class T> | |
MFInt32 (T first, T last) | |
Static Public Member Functions | |
const char * | typeName () |
FieldTypeId | typeId () |
Friends | |
std::ostream & | operator<< (std::ostream &s, const MFInt32 &f) |
MFInt32 mf; mf.push_back(SFInt32(1)); // push_back (1); would fail since mf.push_front(SFInt32(2)); // constructor SFInt32(int) is explicit mf[0] = 3; // Valid since SFInt32 has operator=(int)
Below is included the documentation for this field type from the ISO standard.
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 [ ].
|
|
|
|
|
|
|
|
|
|
Generated on 24 Feb 2005 with version 1.3.9.1. |