ESScript
Revision_
Main Page
Namespaces
Classes
Files
File List
File Members
dudley
src
TagMap.h
Go to the documentation of this file.
1
2
/*****************************************************************************
3
*
4
* Copyright (c) 2003-2013 by University of Queensland
5
* http://www.uq.edu.au
6
*
7
* Primary Business: Queensland, Australia
8
* Licensed under the Open Software License version 3.0
9
* http://www.opensource.org/licenses/osl-3.0.php
10
*
11
* Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12
* Development since 2012 by School of Earth Sciences
13
*
14
*****************************************************************************/
15
16
/************************************************************************************/
17
18
/* Dudley: simple link list to privide clear names for a tag keys */
19
20
/************************************************************************************/
21
22
#ifndef INC_DUDLEY_TAGMAP
23
#define INC_DUDLEY_TAGMAP
24
25
#include "
Dudley.h
"
26
27
typedef
struct
Dudley_TagMap
{
28
char
*
name
;
29
index_t
tag_key
;
30
struct
Dudley_TagMap
*
next
;
31
}
Dudley_TagMap
;
32
33
void
Dudley_TagMap_insert
(
Dudley_TagMap
**,
const
char
*
name
,
index_t
tag_key
);
34
index_t
Dudley_TagMap_getTag
(
Dudley_TagMap
*,
const
char
*
name
);
35
bool
Dudley_TagMap_isValidTagName
(
Dudley_TagMap
*,
const
char
*
name
);
36
void
Dudley_TagMap_free
(
Dudley_TagMap
*);
37
#endif
/* #ifndef INC_DUDLEY_TAGMAP */
Generated on Thu Dec 12 2013 03:47:18 for ESScript by
1.8.1.2