hash_node.hpp File Reference
#include <stdbool.h>
#include <stdint.h>
#include <ert/util/node_data.hpp>
Include dependency graph for hash_node.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct hash_node_struct hash_node_type
 
typedef uint32_t() hashf_type(const char *key, size_t len)
 

Enumerations

enum  hash_data_type { hash_ref_data , hash_int_data , hash_double_data , hash_string_data }
 

Functions

bool hash_node_key_eq (const hash_node_type *, uint32_t, const char *)
 
hash_node_typehash_node_get_next (const hash_node_type *)
 
uint32_t hash_node_get_insert_nr (const hash_node_type *)
 
void hash_node_set_next (hash_node_type *, const hash_node_type *)
 
hash_node_typehash_node_alloc_new (const char *, node_data_type *, hashf_type *, uint32_t)
 
void hash_node_set_insert_nr (hash_node_type *, uint32_t)
 
uint32_t hash_node_get_table_index (const hash_node_type *)
 
uint32_t hash_node_get_global_index (const hash_node_type *)
 
const char * hash_node_get_key (const hash_node_type *)
 
node_data_typehash_node_get_data (const hash_node_type *)
 
void hash_node_free (hash_node_type *)
 
uint32_t hash_node_set_table_index (hash_node_type *, uint32_t)
 

Typedef Documentation

◆ hash_node_type

typedef struct hash_node_struct hash_node_type

◆ hashf_type

typedef uint32_t() hashf_type(const char *key, size_t len)

Enumeration Type Documentation

◆ hash_data_type

Enumerator
hash_ref_data 
hash_int_data 
hash_double_data 
hash_string_data 

Function Documentation

◆ hash_node_alloc_new()

hash_node_type * hash_node_alloc_new ( const char *  ,
node_data_type ,
hashf_type ,
uint32_t   
)

◆ hash_node_free()

void hash_node_free ( hash_node_type )

◆ hash_node_get_data()

node_data_type * hash_node_get_data ( const hash_node_type )

◆ hash_node_get_global_index()

uint32_t hash_node_get_global_index ( const hash_node_type )

◆ hash_node_get_insert_nr()

uint32_t hash_node_get_insert_nr ( const hash_node_type )

◆ hash_node_get_key()

const char * hash_node_get_key ( const hash_node_type )

◆ hash_node_get_next()

hash_node_type * hash_node_get_next ( const hash_node_type )

◆ hash_node_get_table_index()

uint32_t hash_node_get_table_index ( const hash_node_type )

◆ hash_node_key_eq()

bool hash_node_key_eq ( const hash_node_type ,
uint32_t  ,
const char *   
)

◆ hash_node_set_insert_nr()

void hash_node_set_insert_nr ( hash_node_type ,
uint32_t   
)

◆ hash_node_set_next()

void hash_node_set_next ( hash_node_type ,
const hash_node_type  
)

◆ hash_node_set_table_index()

uint32_t hash_node_set_table_index ( hash_node_type ,
uint32_t   
)