Changeset 4243 for trunk/psLib/src/collections/psMetadata.h
- Timestamp:
- Jun 13, 2005, 4:54:15 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psMetadata.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psMetadata.h
r4162 r4243 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.4 7$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-06- 08 23:40:45$13 * @version $Revision: 1.48 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-06-14 02:54:06 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 287 287 */ 288 288 psBool psMetadataAddV( 289 psMetadata* md, ///< Metadata collection to insert metadat item.289 psMetadata* md, ///< Metadata collection to insert metadata item. 290 290 psS32 location, ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL 291 291 const char *name, ///< Name of metadata item. … … 296 296 #endif // #ifndef SWIG 297 297 298 psBool psMetadataAddS32(psMetadata* md, psS32 location, const char* name, 299 const char* comment, psS32 value); 300 psBool psMetadataAddF32(psMetadata* md, psS32 location, const char* name, 301 const char* comment, psF32 value); 302 psBool psMetadataAddF64(psMetadata* md, psS32 location, const char* name, 303 const char* comment, psF64 value); 304 psBool psMetadataAddList(psMetadata* md, psS32 location, const char* name, 305 const char* comment, psList* value); 306 psBool psMetadataAddStr(psMetadata* md, psS32 location, const char* name, 307 const char* comment, const char* value); 308 psBool psMetadataAddVector(psMetadata* md, psS32 location, const char* name, 309 const char* comment, psVector* value); 310 psBool psMetadataAddImage(psMetadata* md, psS32 location, const char* name, 311 const char* comment, psImage* value); 312 psBool psMetadataAddHash(psMetadata* md, psS32 location, const char* name, 313 const char* comment, psHash* value); 314 psBool psMetadataAddLookupTable(psMetadata* md, psS32 location, const char* name, 315 const char* comment, psLookupTable* value); 316 psBool psMetadataAddUnknown(psMetadata* md, psS32 location, const char* name, 317 const char* comment, psPtr value); 318 psBool psMetadataAddMetadata(psMetadata* md, psS32 location, const char* name, 319 const char* comment, psMetadata* value); 298 /** Add a psS32 value to metadata collection. 299 * 300 * @return psBool: True for success, False for failure. 301 */ 302 psBool psMetadataAddS32( 303 psMetadata* md, ///< Metadata collection to insert metadata item 304 psS32 location, ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL 305 const char* name, ///< Name of metadata item 306 const char* comment, ///< Comment for metadata item 307 psS32 value ///< Value for metadata item data 308 ); 309 310 /** Add a psF32 value to metadata collection. 311 * 312 * @return psBool: True for success, False for failure. 313 */ 314 psBool psMetadataAddF32( 315 psMetadata* md, ///< Metadata collection to insert metadata item 316 psS32 location, ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL 317 const char* name, ///< Name of metadata item 318 const char* comment, ///< Comment for metadata item 319 psF32 value ///< Value for metadata item data 320 ); 321 322 /** Add a psF64 value to metadata collection. 323 * 324 * @return psBool: True for success, False for failure. 325 */ 326 psBool psMetadataAddF64( 327 psMetadata* md, ///< Metadata collection to insert metadata item 328 psS32 location, ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL 329 const char* name, ///< Name of metadata item 330 const char* comment, ///< Comment for metadata item 331 psF64 value ///< Value for metadata item data 332 ); 333 334 /** Add a psList to metadata collection. 335 * 336 * @return psBool: True for success, False for failure. 337 */ 338 psBool psMetadataAddList( 339 psMetadata* md, ///< Metadata collection to insert metadata item 340 psS32 location, ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL 341 const char* name, ///< Name of metadata item 342 const char* comment, ///< Comment for metadata item 343 psList* value ///< psList for metadata item data 344 ); 345 346 /** Add a string to metadata collection. 347 * 348 * @return psBool: True for success, False for failure. 349 */ 350 psBool psMetadataAddStr( 351 psMetadata* md, ///< Metadata collection to insert metadata item 352 psS32 location, ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL 353 const char* name, ///< Name of metadata item 354 const char* comment, ///< Comment for metadata item 355 const char* value ///< String for metadata item data 356 ); 357 358 /** Add a vector to metadata collection. 359 * 360 * @return psBool: True for success, False for failure. 361 */ 362 psBool psMetadataAddVector( 363 psMetadata* md, ///< Metadata collection to insert metadata item 364 psS32 location, ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL 365 const char* name, ///< Name of metadata item 366 const char* comment, ///< Comment for metadata item 367 psVector* value ///< Vector for metadata item data 368 ); 369 370 /** Add an Image to metadata collection. 371 * 372 * @return psBool: True for success, False for failure. 373 */ 374 psBool psMetadataAddImage( 375 psMetadata* md, ///< Metadata collection to insert metadata item 376 psS32 location, ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL 377 const char* name, ///< Name of metadata item 378 const char* comment, ///< Comment for metadata item 379 psImage* value ///< Image for metadata item data 380 ); 381 382 /** Add a Hash to metadata collection. 383 * 384 * @return psBool: True for success, False for failure. 385 */ 386 psBool psMetadataAddHash( 387 psMetadata* md, ///< Metadata collection to insert metadata item 388 psS32 location, ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL 389 const char* name, ///< Name of metadata item 390 const char* comment, ///< Comment for metadata item 391 psHash* value ///< Hash for metadata item data 392 ); 393 394 /** Add a LookupTable to metadata collection. 395 * 396 * @return psBool: True for success, False for failure. 397 */ 398 psBool psMetadataAddLookupTable( 399 psMetadata* md, ///< Metadata collection to insert metadata item 400 psS32 location, ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL 401 const char* name, ///< Name of metadata item 402 const char* comment, ///< Comment for metadata item 403 psLookupTable* value ///< LookupTable for metadata item data 404 ); 405 406 /** Add an Unknown (psPtr) to metadata collection. 407 * 408 * @return psBool: True for success, False for failure. 409 */ 410 psBool psMetadataAddUnknown( 411 psMetadata* md, ///< Metadata collection to insert metadata item 412 psS32 location, ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL 413 const char* name, ///< Name of metadata item 414 const char* comment, ///< Comment for metadata item 415 psPtr value ///< Unknown for metadata item data 416 ); 417 418 /** Add Metadata to metadata collection. 419 * 420 * @return psBool: True for success, False for failure. 421 */ 422 psBool psMetadataAddMetadata( 423 psMetadata* md, ///< Metadata collection to insert metadata item 424 psS32 location, ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL 425 const char* name, ///< Name of metadata item 426 const char* comment, ///< Comment for metadata item 427 psMetadata* value ///< Metadata for metadata item data 428 ); 320 429 321 430 /** Remove an item from metadata collection.
Note:
See TracChangeset
for help on using the changeset viewer.
