Home Hierarchy Members Alphabetical Related Pages

SFNode Class Reference
[Field Types]

#include <sfnode.h>

List of all members.

Public Member Functions

 SFNode ()
 SFNode (Node *n)
SFNodeoperator= (Node *n)
SFNodeoperator= (const SFNode n)
 operator Node * () const
Nodenode () const
Nodeoperator-> () const

Static Public Member Functions

const char * typeName ()
FieldTypeId typeId ()

Friends

std::ostream & operator<< (std::ostream &s, const SFNode &f)


Detailed Description

Represents a pointer to a Node. Below is included the documentation for this field type from the ISO standard.

+ 5.7 SFNode and MFNode

The SFNode field and event specifies a VRML node. The MFNode field and event specifies zero or more nodes. The following example illustrates valid syntax for an MFNode field, fooNode, defining four nodes:

    fooNode [ Transform { translation 1 0 0 }
              DEF CUBE Box { }
              USE CUBE
              USE SOME_OTHER_NODE  ]

The SFNode field and event may contain the keyword NULL to indicate that it is empty.

The initial value of an SFNode eventOut is NULL. The initial value of an MFNode eventOut is [ ].

--- VRML separator bar ---


Constructor & Destructor Documentation

SFNode  )  [inline]
 

SFNode Node n  )  [inline]
 


Member Function Documentation

Node * node  )  const [inline]
 

operator Node *  )  const [inline]
 

Node * operator->  )  const [inline]
 

SFNode & operator= const SFNode  n  )  [inline]
 

SFNode & operator= Node n  )  [inline]
 

FieldTypeId typeId  )  [inline, static]
 

const char * typeName  )  [inline, static]
 


Friends And Related Function Documentation

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


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