Changeset 3025 for trunk/psLib/src/collections
- Timestamp:
- Jan 17, 2005, 10:58:22 AM (22 years ago)
- Location:
- trunk/psLib/src/collections
- Files:
-
- 3 edited
-
psMetadata.c (modified) (2 diffs)
-
psMetadata.h (modified) (2 diffs)
-
psVector.h (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psMetadata.c
r2985 r3025 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1.4 8$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-01-1 3 23:27:06$14 * @version $Revision: 1.49 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-01-17 20:58:20 $ 16 16 * 17 17 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 495 495 psMetadataLookupNumTYPE(F64) 496 496 psMetadataLookupNumTYPE(S32) 497 psMetadataLookupNumTYPE(Bool) 497 498 498 499 psMetadataItem* psMetadataGet(psMetadata *md, psS32 where) -
trunk/psLib/src/collections/psMetadata.h
r2975 r3025 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.3 3$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-01-1 3 21:09:39$13 * @version $Revision: 1.34 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-01-17 20:58:20 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 240 240 ); 241 241 242 /** Find an item in the metadata collection based on key name and return its boolean value. 243 * 244 * Items may be found in the metadata by providing a key. If the key is 245 * non-unique, the value of the first item is returned. If the item is not found, zero is 246 * returned. 247 * 248 * @return psBool : Value of metadata item. 249 */ 250 psBool psMetadataLookupBool( 251 psMetadata *md, ///< Metadata collection to lookup metadata item. 252 const char *key, ///< Name of metadata key. 253 psBool *status ///< Status of lookup. 254 ); 255 242 256 /** Find an item in the metadata collection based on key name and return its integer value. 243 257 * -
trunk/psLib/src/collections/psVector.h
r2204 r3025 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.2 5$ $Name: not supported by cvs2svn $14 * @date $Date: 200 4-10-27 00:57:31 $13 * @version $Revision: 1.26 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-01-17 20:58:21 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 37 37 38 38 union { 39 psBool B; ///< Boolean data. 39 40 psU8* U8; ///< Unsigned 8-bit integer data. 40 41 psU16* U16; ///< Unsigned 16-bit integer data. … … 63 64 /** Allocate a vector. 64 65 * 65 * Uses psLib memory allocation functions to create a vector collection of 66 * Uses psLib memory allocation functions to create a vector collection of 66 67 * data as defined by the psType type. 67 68 * … … 75 76 /** Reallocate a vector. 76 77 * 77 * Uses psLib memory allocation functions to reallocate a vector collection 78 * of data. The vector is reallocated according to the psType type member 78 * Uses psLib memory allocation functions to reallocate a vector collection 79 * of data. The vector is reallocated according to the psType type member 79 80 * contained within the vector. 80 81 * … … 89 90 /** Recycle a vector. 90 91 * 91 * Uses psLib memory allocation functions to reallocate a vector collection 92 * of data. The vector is reallocated according to the psElemType type 92 * Uses psLib memory allocation functions to reallocate a vector collection 93 * of data. The vector is reallocated according to the psElemType type 93 94 * parameter. 94 95 * … … 107 108 /** Copy a vector, converting types. 108 109 * 109 * Performs a deep copy of the elements of one psVector to a new psVector, 110 * Performs a deep copy of the elements of one psVector to a new psVector, 110 111 * converting numeric types to a specified type. 111 112 * … … 133 134 /** Creates an array of indices based on sort ordered of array. 134 135 * 135 * Sorts a vector and creates an integer array holding indices of 136 * sorted float values based on pre-sort index positions. 136 * Sorts a vector and creates an integer array holding indices of 137 * sorted float values based on pre-sort index positions. 137 138 * 138 139 * @return psVector* vector of the indices of sort.
Note:
See TracChangeset
for help on using the changeset viewer.
