| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/stat/hash.h
Go to the documentation of this file.

    00001 /*
    00002 DO NOT USE!
    00003 This is a DEPRECATED file not used anymore in any part of the statics library
    00004 used by TerraLib. Its being kept for compatibility reasons and it will be removed
    00005 from further TerraLib distributions.
    00006 */
    00007
    00008 //---------------------------------------------------------------------------
    00009 #ifndef HashH
    00010 #define HashH
    00011 #define HASH_SIZE 1000
    00012 #include "erro.h"
    00013 class THash{
    00014
    00015 /*** Area Privada ***/
    00016 private:
    00017   typedef struct Hash_Type{
    00018      unsigned long Key;
    00019      unsigned int Indice;
    00020      struct Hash_Type *Next;
    00021   }Hash_t,*Hash_ptr;
    00022
    00023   Hash_ptr MyHash;
    00024   unsigned int  Hash_Function(unsigned long);
    00025
    00026 /*** Area Publica ***/
    00027 public:
    00028    THash();//Construtora
    00029    void  Insere(char *,unsigned int);
    00030    unsigned int  Pesquisa(const char *);
    00031 };
    00032 //---------------------------------------------------------------------------
    00033 #endif

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines