Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: itemcontainer.makeconst - Function Up: itemcontainer - Tool Previous: itemcontainer.has_item - Function


itemcontainer.names - Function



Package utility
Module misc
Tool itemcontainer


Returns list of item names


Synopsis
names()


Returns
Vector of strings


Description

This tool function returns the list of item names. Note that any items added with the add will have a field name like ``*n'' where ``n'' is a number.



Example
- const fish := itemcontainer();
- fish.set('types', "salmon trout gold");
T
- fish.set('fish1', 'trout');
T
- fish.add('salmon');
3
- print 'names=', fish.names();
names=types fish1 *1





next up previous contents index
Next: itemcontainer.makeconst - Function Up: itemcontainer - Tool Previous: itemcontainer.has_item - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15