/*
//
//   ADOBE SYSTEMS INCORPORATED
//   Copyright (C) 2000-2003 Adobe Systems Incorporated
//   All rights reserved.
//
//   NOTICE: Adobe permits you to use, modify, and distribute this file
//   in accordance with the terms of the Adobe license agreement
//   accompanying it. If you have received this file from a source other
//   than Adobe, then your use, modification, or distribution of it
//   requires the prior written permission of Adobe.
//
*/

#ifndef _keyList_h_
#define _keyList_h_

#include <iostream>
#include <string>


using namespace  std;

class  keyList  {
public :
                keyList();
                keyList( const   string  &fileName);
                virtual   ~keyList();
               
                void   importFile( const   string  &fileName);
                void   insertElement( const   string  &key,  const   string  &value);
                void   dumpAll();
                string   lookupElement( const   string  &key);
private :
                struct  Element{
                                string  key;
                                string  value;
                                Element  *next;
               };

                Element  *head;
                string  fileName;
};

#endif // _keyList_h_