Changeset 4316 for trunk/psLib/src/collections/psList.h
- Timestamp:
- Jun 17, 2005, 5:13:02 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psList.h (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psList.h
r4312 r4316 7 7 * @ingroup LinkedList 8 8 * 9 * @version $Revision: 1.2 5$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-06-18 0 0:53:32 $9 * @version $Revision: 1.26 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-06-18 03:13:02 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 99 99 psListIterator* psListIteratorAlloc( 100 100 psList* list, ///< the psList to iterate with 101 intlocation, ///< the initial starting point.101 long location, ///< the initial starting point. 102 102 ///< This can be a numeric index, PS_LIST_HEAD, or PS_LIST_TAIL. 103 103 bool mutable ///< Is it permissible to modify list? … … 109 109 * @return psBool TRUE if iterator successfully set, otherwise FALSE. 110 110 */ 111 psBool psListIteratorSet(111 bool psListIteratorSet( 112 112 psListIterator* iterator, ///< list iterator 113 113 int location ///< index number, PS_LIST_HEAD, or PS_LIST_TAIL … … 118 118 * @return psBool TRUE if item was successfully added, otherwise FALSE. 119 119 */ 120 psBool psListAdd(120 bool psListAdd( 121 121 psList* list, ///< list to add item to 122 psS32location, ///< index, PS_LIST_HEAD, PS_LIST_TAIL, or numbered location.122 long location, ///< index, PS_LIST_HEAD, PS_LIST_TAIL, or numbered location. 123 123 psPtr data ///< data item to add. If NULL, list is not modified. 124 124 ); … … 128 128 * @return psBool TRUE if item was successfully added, otherwise FALSE. 129 129 */ 130 psBool psListAddAfter(131 psListIterator* list,///< list position to add item to130 bool psListAddAfter( 131 psListIterator* iterator, ///< list position to add item to 132 132 psPtr data ///< data item to add. If NULL, list is not modified. 133 133 ); … … 137 137 * @return psBool TRUE if item was successfully added, otherwise FALSE. 138 138 */ 139 psBool psListAddBefore(140 psListIterator* list, ///< list position to add item to139 bool psListAddBefore( 140 psListIterator* iterator, ///< list position to add item to 141 141 psPtr data ///< data item to add. If NULL, list is not modified. 142 142 ); … … 146 146 * @return psBool TRUE if element is successfully removed, otherwise FALSE. 147 147 */ 148 psBool psListRemove(148 bool psListRemove( 149 149 psList* list, ///< list to remove element from 150 psS32location ///< index of item150 long location ///< index of item 151 151 ); 152 152 … … 155 155 * @return psBool TRUE if element is successfully removed, otherwise FALSE. 156 156 */ 157 psBool psListRemoveData(157 bool psListRemoveData( 158 158 psList* list, ///< list to remove element from 159 159 psPtr data ///< data item to find and remove … … 169 169 psPtr psListGet( 170 170 psList* list, ///< list to retrieve element from 171 psS32location ///< index number, PS_LIST_HEAD, or PS_LIST_TAIL171 long location ///< index number, PS_LIST_HEAD, or PS_LIST_TAIL 172 172 ); 173 173 … … 196 196 */ 197 197 psArray* psListToArray( 198 psList* dlist ///< List to convert198 const psList* list ///< List to convert 199 199 ); 200 200
Note:
See TracChangeset
for help on using the changeset viewer.
