Basic HTML version of Foils prepared March 4 1998

Foil 29 Naming Conventions for Fields/Events

From VRML 2 Basic Concepts and Definitions CPS616 -- Information Track of CPS -- Spring Semester 98. by Zeynep Ozdemir, Rob Baker, Meryem Ispirli, Geoffrey C. Fox

Definition of Fields and Events
1 The rules for naming fields, exposedFields, eventOuts and eventIns for the built-in nodes are as follows:
  • All names containing multiple words start with a lower case letter and the first letter of all subsequent words are capitalized (e.g. bboxCenter), with the exception of get_ and _changed described below.
  • All eventIns have the prefix set_ - with the exception of the addChildren and removeChildren eventIns.
  • All eventOuts have the suffix _changed appended - with the exception of eventOuts of type SFBool. Boolean eventOuts begin with the word is (e.g. isFoo) for better readability.
  • All eventIns and eventOuts of type SFTime do not use the set_ prefix or _changed suffix

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Nov 29 1998