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

static const char * typeName ()
static 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

SFNode & operator= ( Node n  )  [inline]

SFNode & operator= ( const SFNode  n  )  [inline]

operator Node * (  )  const [inline]

Node * node (  )  const [inline]

Node * operator-> (  )  const [inline]

const char * typeName (  )  [inline, static]

FieldTypeId typeId (  )  [inline, static]


Friends And Related Function Documentation

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


Generated on 5 Jan 2007 with doxygen version 1.5.1. Valid HTML 4.0! Valid CSS!