IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4590 for trunk/psLib/src/types


Ignore:
Timestamp:
Jul 20, 2005, 4:39:58 PM (21 years ago)
Author:
drobbin
Message:

made minor changes according to most recent api-delta report from IFA

Location:
trunk/psLib/src/types
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/types/psList.h

    r4556 r4590  
    77 *  @ingroup LinkedList
    88 *
    9  *  @version $Revision: 1.29 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-07-15 02:33:54 $
     9 *  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-07-21 02:39:57 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    7777psList* list;                      ///< List iterator to works on
    7878psListElem* cursor;                ///< current cursor position
    79 int index;                         ///< the index number in the list
    8079bool offEnd;                       ///< Iterator off the end?
     80long index;                         ///< the index number in the list
    8181bool mutable;                      ///< Is it permissible to modify the list?
    8282}
  • trunk/psLib/src/types/psMetadata.c

    r4589 r4590  
    1212*  @author Ross Harman, MHPCC
    1313*
    14 *  @version $Revision: 1.72 $ $Name: not supported by cvs2svn $
    15 *  @date $Date: 2005-07-21 01:40:10 $
     14*  @version $Revision: 1.73 $ $Name: not supported by cvs2svn $
     15*  @date $Date: 2005-07-21 02:39:57 $
    1616*
    1717*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    135135    }
    136136    psFree(metadata->list);
    137     psFree(metadata->table);
     137    psFree(metadata->hash);
    138138
    139139}
     
    256256{
    257257    psList* list = NULL;
    258     psHash* table = NULL;
     258    psHash* hash = NULL;
    259259    psMetadata* metadata = NULL;
    260260
     
    266266    // Allocate metadata's internal containers
    267267    list = (psList*) psListAlloc(NULL);
    268     table = (psHash*) psHashAlloc(10);
     268    hash = (psHash*) psHashAlloc(10);
    269269
    270270    metadata->list = list;
    271     metadata->table = table;
     271    metadata->hash = hash;
    272272
    273273    return metadata;
     
    285285
    286286    PS_ASSERT_PTR_NON_NULL(md,NULL);
    287     PS_ASSERT_PTR_NON_NULL(md->table,NULL);
     287    PS_ASSERT_PTR_NON_NULL(md->hash,NULL);
    288288    PS_ASSERT_PTR_NON_NULL(md->list,NULL);
    289289    PS_ASSERT_PTR_NON_NULL(item,NULL);
    290290    PS_ASSERT_PTR_NON_NULL(item->name,NULL);
    291291
    292     mdTable = md->table;
     292    mdTable = md->hash;
    293293    mdList = md->list;
    294294    key = item->name;
     
    435435    psList* mdList = md->list;
    436436
    437     PS_ASSERT_PTR_NON_NULL(md->table,NULL);
    438     psHash* mdTable = md->table;
     437    PS_ASSERT_PTR_NON_NULL(md->hash,NULL);
     438    psHash* mdTable = md->hash;
    439439
    440440    // Select removal by key or index
     
    504504
    505505    PS_ASSERT_PTR_NON_NULL(md,NULL);
    506     PS_ASSERT_PTR_NON_NULL(md->table,NULL);
     506    PS_ASSERT_PTR_NON_NULL(md->hash,NULL);
    507507    PS_ASSERT_PTR_NON_NULL(key,NULL);
    508508
    509     mdTable = md->table;
     509    mdTable = md->hash;
    510510    entry = (psMetadataItem*)psHashLookup(mdTable, key);
    511511
  • trunk/psLib/src/types/psMetadata.h

    r4589 r4590  
    1111*  @author Ross Harman, MHPCC
    1212*
    13 *  @version $Revision: 1.54 $ $Name: not supported by cvs2svn $
    14 *  @date $Date: 2005-07-21 01:40:10 $
     13*  @version $Revision: 1.55 $ $Name: not supported by cvs2svn $
     14*  @date $Date: 2005-07-21 02:39:57 $
    1515*
    1616*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    9393{
    9494    psList*  list;                     ///< Metadata in linked-list
    95     psHash*  table;                    ///< Metadata in a hash table
     95    psHash*  hash;                     ///< Metadata in a hash table
    9696    void *lock;                        ///< Optional lock for thread safety
    9797}
Note: See TracChangeset for help on using the changeset viewer.