Changeset 2648 for trunk/psLib/src/collections/psMetadata.h
- Timestamp:
- Dec 7, 2004, 9:09:18 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psMetadata.h (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psMetadata.h
r2607 r2648 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.2 7$ $Name: not supported by cvs2svn $14 * @date $Date: 2004-12-0 3 23:14:34$13 * @version $Revision: 1.28 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-12-07 19:08:58 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 56 56 typedef struct psMetadata 57 57 { 58 psList* restrict list; ///< the metadata in linked-list59 psHash* restrict table; ///< the metadata in a hash table58 psList* list; ///< Metadata in linked-list 59 psHash* table; ///< Metadata in a hash table 60 60 } 61 61 psMetadata; … … 148 148 */ 149 149 psBool psMetadataAddItem( 150 psMetadata* restrict md,///< Metadata collection to insert metadat item.151 psMetadataItem* restrict item,///< Metadata item to be added.152 psS32 location ///< Location to be added.150 psMetadata* md, ///< Metadata collection to insert metadat item. 151 psMetadataItem* item, ///< Metadata item to be added. 152 psS32 location ///< Location to be added. 153 153 ); 154 154 … … 160 160 */ 161 161 psBool psMetadataAdd( 162 psMetadata* restrictmd, ///< Metadata collection to insert metadat item.163 psS32 where, ///< Location to be added.164 const char *name, ///< Name of metadata item.165 psElemType pType, ///< Primitive type.166 psMetadataType type, ///< Type of metadata item.167 const char *comment, ///< Comment for metadata item.168 ... ///< Arguments for name formatting and metadata item data.162 psMetadata* md, ///< Metadata collection to insert metadat item. 163 psS32 where, ///< Location to be added. 164 const char *name, ///< Name of metadata item. 165 psElemType pType, ///< Primitive type. 166 psMetadataType type, ///< Type of metadata item. 167 const char *comment, ///< Comment for metadata item. 168 ... ///< Arguments for name formatting and metadata item data. 169 169 ); 170 170 … … 180 180 */ 181 181 psBool psMetadataRemove( 182 psMetadata* restrict md, ///< Metadata collection to insert metadatitem.183 psS32 where, ///< Location to be removed.184 const char * restrictkey ///< Name of metadata key.182 psMetadata* md, ///< Metadata collection to remove metadata item. 183 psS32 where, ///< Location to be removed. 184 const char * key ///< Name of metadata key. 185 185 ); 186 186 … … 194 194 */ 195 195 psMetadataItem* psMetadataLookup( 196 psMetadata* restrict md, ///< Metadata collection to insert metadata item. 197 const char *restrict key ///< Name of metadata key. 196 psMetadata * md, ///< Metadata collection to lookup metadata item. 197 const char * key ///< Name of metadata key. 198 ); 199 200 /** Find an item in the metadata collection based on key name and return its double precision value. 201 * 202 * Items may be found in the metadata by providing a key. If the key is 203 * non-unique, the value of the first item is returned. If the item is not found, zero is 204 * returned. 205 * 206 * @return psF64 : Value of metadata item. 207 */ 208 psF64 psMetadataLookupF64( 209 psMetadata *md, ///< Metadata collection to lookup metadata item. 210 const char *key ///< Name of metadata key. 211 ); 212 213 /** Find an item in the metadata collection based on key name and return its integer value. 214 * 215 * Items may be found in the metadata by providing a key. If the key is 216 * non-unique, the value of the first item is returned. If the item is not found, zero is 217 * returned. 218 * 219 * @return psS32 : Value of metadata item. 220 */ 221 psS32 psMetadataLookupS32( 222 psMetadata *md, ///< Metadata collection to lookup metadata item. 223 const char *key ///< Name of metadata key. 224 ); 225 226 /** Find an item in the metadata collection based on key name and return its integer value. 227 * 228 * Items may be found in the metadata by providing a key. If the key is 229 * non-unique, the value of the first item is returned. If the item is not found, zero is 230 * returned. 231 * 232 * @return void* : Value of metadata item. 233 */ 234 void* psMetadataLookupPtr( 235 psMetadata* md, ///< Metadata collection to lookup metadata item. 236 const char *key ///< Name of metadata key. 198 237 ); 199 238 … … 206 245 */ 207 246 psMetadataItem* psMetadataGet( 208 psMetadata* restrictmd, ///< Metadata collection to insert metadat item.209 psS32 where ///< Location to be retrieved.247 psMetadata* md, ///< Metadata collection to insert metadat item. 248 psS32 where ///< Location to be retrieved. 210 249 ); 211 250 … … 218 257 */ 219 258 psBool psMetadataSetIterator( 220 psMetadata* restrictmd, ///< Metadata collection to iterate.221 psS32 where ///< Location of iterator.259 psMetadata* md, ///< Metadata collection to iterate. 260 psS32 where ///< Location of iterator. 222 261 ); 223 262 … … 229 268 */ 230 269 psMetadataItem* psMetadataGetNext( 231 psMetadata* restrictmd, ///< Metadata collection to iterate.232 const char * restrictmatch, ///< Beginning of key name.233 psS32 which ///< Iterator to be used.270 psMetadata* md, ///< Metadata collection to iterate. 271 const char * match, ///< Beginning of key name. 272 psS32 which ///< Iterator to be used. 234 273 ); 235 274 … … 241 280 */ 242 281 psMetadataItem* psMetadataGetPrevious( 243 psMetadata * restrict md,///< Metadata collection to iterate.244 const char * restrict match,///< Beginning of key name.245 psS32 which ///< Iterator to be used.282 psMetadata *md, ///< Metadata collection to iterate. 283 const char *match, ///< Beginning of key name. 284 psS32 which ///< Iterator to be used. 246 285 ); 247 286
Note:
See TracChangeset
for help on using the changeset viewer.
