escript  Revision_Unversioneddirectory
TagMap.h
Go to the documentation of this file.
1 
2 /*****************************************************************************
3 *
4 * Copyright (c) 2003-2016 by The University of Queensland
5 * http://www.uq.edu.au
6 *
7 * Primary Business: Queensland, Australia
8 * Licensed under the Apache License, version 2.0
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 * Development 2012-2013 by School of Earth Sciences
13 * Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 *
15 *****************************************************************************/
16 
17 /************************************************************************************/
18 
19 /* Dudley: simple link list to privide clear names for a tag keys */
20 
21 /************************************************************************************/
22 
23 #ifndef INC_DUDLEY_TAGMAP
24 #define INC_DUDLEY_TAGMAP
25 
26 #include "Dudley.h"
27 
28 typedef struct Dudley_TagMap {
29  char *name;
33 
38 #endif /* #ifndef INC_DUDLEY_TAGMAP */
struct Dudley_TagMap * next
Definition: TagMap.h:31
void Dudley_TagMap_insert(Dudley_TagMap **, const char *name, index_t tag_key)
Definition: TagMap.cpp:29
index_t tag_key
Definition: TagMap.h:30
bool Dudley_TagMap_isValidTagName(Dudley_TagMap *, const char *name)
Definition: TagMap.cpp:95
struct Dudley_TagMap Dudley_TagMap
char * name
Definition: TagMap.h:29
index_t Dudley_TagMap_getTag(Dudley_TagMap *, const char *name)
Definition: TagMap.cpp:73
void Dudley_TagMap_free(Dudley_TagMap *)
Definition: TagMap.cpp:116
int index_t
Definition: types.h:24
Definition: TagMap.h:28