Changeset 38


Ignore:
Timestamp:
Aug 12, 2005, 5:39:09 PM (19 years ago)
Author:
dkearney
Message:

added inital data structures for rappture variable objects

Location:
trunk/include/core
Files:
7 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/core/RpDict.h

    r21 r38  
    3232
    3333        // send the search iterator to the beginning of the hash table
    34         virtual RpDictEntry<KeyType,ValType>* first();
     34        /*virtual*/ RpDictEntry<KeyType,ValType>* first();
    3535
    3636        // send the search iterator to the next element of the hash table
    37         virtual RpDictEntry<KeyType,ValType>* next();
     37        /*virtual*/ RpDictEntry<KeyType,ValType>* next();
    3838/*
    3939        RpDictIterator(RpDict* table_Ptr)
     
    195195       
    196196        // checks table size
    197         virtual const int size() const;
     197        /*virtual*/ const int size() const;
    198198
    199199        // insert new object into table
     
    201201        // returns !0 on failure (object cannot be inserted or dne)
    202202        //
    203         virtual RpDict<KeyType,ValType>&
     203        /*virtual*/ RpDict<KeyType,ValType>&
    204204                        set(    KeyType& key,
    205205                                ValType& value,
     
    208208        // find an RpUnits object that should exist in RpUnitsTable
    209209        //
    210         virtual RpDictEntry<KeyType,ValType>&
     210        /*virtual*/ RpDictEntry<KeyType,ValType>&
    211211                        find( KeyType& key );
    212212
    213         virtual RpDictEntry<KeyType,ValType>& operator[]( KeyType& key)
     213        /*virtual*/ RpDictEntry<KeyType,ValType>& operator[]( KeyType& key)
    214214        {
    215215            return find(key);
     
    218218        // clear the entire table
    219219        // iterate through the table and call erase on each element
    220         virtual RpDict<KeyType,ValType>& clear();
     220        /*virtual*/ RpDict<KeyType,ValType>& clear();
    221221
    222222        // get the nullEntry hash entry for initialization of references
    223         virtual RpDictEntry<KeyType,ValType>& getNullEntry();
     223        /*virtual*/ RpDictEntry<KeyType,ValType>& getNullEntry();
    224224
    225225        // template <KeyType, ValType> friend class RpDictEntry;
     
    258258
    259259        // destructor
    260         virtual ~RpDict()
     260        /*virtual*/ ~RpDict()
    261261        {
    262262            // probably need to delete all the entries as well
  • trunk/include/core/RpUnits.h

    r21 r38  
    55#include <errno.h>
    66
    7 #include "RpDict.h"
     7#ifndef _RpDICT_H
     8    #include "RpDict.h"
     9#endif
     10
    811#include "RpUnitsStd.h"
    912
Note: See TracChangeset for help on using the changeset viewer.