Command: cva_t

NEST HelpDesk Command Index NEST Quick Reference

Name:
 cva_t - Converts a type trie to an equivalent array

Synopsis:
 trie cva_t -> /name array

Description:
   cva_t maps the tree structure of the trie-object to an array.
   The first return value is the name of the trie object. 
   The second value is an array, representing the trie.

   The layout of a trie node is represented as:
   [/type [next] [alt]] for non-leaf nodes and
   [object]            for leaf nodes.

   /type is  a literal, representing the expected type.
   [next] is an array, representig the next parameter levels.
   [alt] is an array, representig parameter alternatives
         at the current level.

   This definitions recursively define the type-trie.

Examples:
   /pop load cva_t -> /pop [/anytype [-pop-]]

Diagnostics:
   This operation is rather low level and does not raise
   errors
Bugs:

Author:
   Marc-Oliver Gewaltig

FirstVersion:
   May 20 1999

Remarks:
   cva_t is the inverse function to cvt_a. 
   If cva_t is applied to the result of cvt_a, it yields
   the original argument:
   aTrie cva_t cvt_a -> aTrie
   
SeeAlso:cvt_a trie addtotrie type cva
Source:
 /home/abuild/rpmbuild/BUILD/nest-2.4.1/sli/slitypecheck.cc

NEST HelpDesk Command Index NEST Quick Reference

© 2000-2010 The NEST Initiative