addName void InternalNameCollection::add_name(InternalName *name); Description: Adds a new InternalName to the collection. |
addNamesFrom void InternalNameCollection::add_names_from(InternalNameCollection const &other); Description: Adds all the InternalNames indicated in the other collection to this name. The other names are simply appended to the end of the names in this list; duplicates are not automatically removed. |
clear void InternalNameCollection::clear(void); Description: Removes all InternalNames from the collection. |
getName InternalName *InternalNameCollection::get_name(int index) const; Description: Returns the nth InternalName in the collection. |
getNumNames int InternalNameCollection::get_num_names(void) const; Description: Returns the number of InternalNames in the collection. |
hasName bool InternalNameCollection::has_name(InternalName *name) const; Description: Returns true if the indicated InternalName appears in this collection, false otherwise. |
operator = void InternalNameCollection::operator =(InternalNameCollection const ©); Description: |
operator [] InternalName *InternalNameCollection::operator [](int index) const; Description: Returns the nth InternalName in the collection. This is the same as get_name(), but it may be a more convenient way to access it. |
output void InternalNameCollection::output(ostream &out) const; Description: Writes a brief one-line description of the InternalNameCollection to the indicated output stream. |
removeDuplicateNames void InternalNameCollection::remove_duplicate_names(void); Description: Removes any duplicate entries of the same InternalNames on this collection. If a InternalName appears multiple times, the first appearance is retained; subsequent appearances are removed. |
removeName bool InternalNameCollection::remove_name(InternalName *name); Description: Removes the indicated InternalName from the collection. Returns true if the name was removed, false if it was not a member of the collection. |
removeNamesFrom void InternalNameCollection::remove_names_from(InternalNameCollection const &other); Description: Removes from this collection all of the InternalNames listed in the other collection. |
write void InternalNameCollection::write(ostream &out, int indent_level = (0)) const; Description: Writes a complete multi-line description of the InternalNameCollection to the indicated output stream. |