Escript
Revision_4320
Main Page
Namespaces
Classes
Files
File List
File Members
finley
src
finley/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
19
/* Finley: simple linked list to provide clear names for tag keys */
20
21
/************************************************************************************/
22
23
#ifndef INC_FINLEY_TAGMAP
24
#define INC_FINLEY_TAGMAP
25
26
#include "
Finley.h
"
27
28
29
typedef
struct
Finley_TagMap
{
30
char
*
name
;
31
index_t
tag_key
;
32
struct
Finley_TagMap
*
next
;
33
}
Finley_TagMap
;
34
35
void
Finley_TagMap_insert
(
Finley_TagMap
**,
const
char
*
name
,
index_t
tag_key
);
36
index_t
Finley_TagMap_getTag
(
Finley_TagMap
*,
const
char
*
name
);
37
bool_t
Finley_TagMap_isValidTagName
(
Finley_TagMap
*,
const
char
*
name
);
38
void
Finley_TagMap_free
(
Finley_TagMap
*);
39
#endif
/* #ifndef INC_FINLEY_TAGMAP */
40
Generated on Fri Mar 15 2013 14:07:51 for Escript by
1.8.1.2