next up previous contents
Next: Assumed Scopes Up: 2.4 Attributes Previous: 2.4.2 Numbering

2.4.3 Attribute Scopes

     

Attribute scopes declare the intended purpose of an attribute. Global   scope attributes (gAttributes)   describe some aspect of the entire CDF. Variable   scope attributes (vAttributes)   describe some property of each variable.

An attribute's scope exists   to assist in the interpretation of its entries by CDF toolkit programs and user applications (e.g., entries of a vAttribute should correspond to variables). The CDF library also places some restrictions   on the operations that may be performed on an attribute of a particular scope.gif These restrictions consist of the following:

  1. A gEntry operation may not be performed on a vAttribute.
  2. A zEntry or rEntry operation may not be performed on a gAttribute.
  3. While in zMode, only zEntry operations may be performed on vAttributes (see Section 2.1.2).

All other operations involving attributes and their entries remain available.





cdfsupport@nssdca.gsfc.nasa.gov