/[escript]/branches/trilinos_from_5897/dudley/src/TagMap.h
ViewVC logotype

Contents of /branches/trilinos_from_5897/dudley/src/TagMap.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6009 - (show annotations)
Wed Mar 2 04:13:26 2016 UTC (2 years, 11 months ago) by caltinay
File MIME type: text/plain
File size: 1331 byte(s)
Much needed sync with trunk...

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 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 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 __DUDLEY_TAGMAP_H__
24 #define __DUDLEY_TAGMAP_H__
25
26 #include "Dudley.h"
27
28 namespace dudley {
29
30 struct Dudley_TagMap {
31 char *name;
32 index_t tag_key;
33 struct Dudley_TagMap *next;
34 };
35
36 void Dudley_TagMap_insert(Dudley_TagMap **, const char *name, index_t tag_key);
37 index_t Dudley_TagMap_getTag(Dudley_TagMap *, const char *name);
38 bool Dudley_TagMap_isValidTagName(Dudley_TagMap *, const char *name);
39 void Dudley_TagMap_free(Dudley_TagMap *);
40
41 } // namespace dudley
42
43 #endif // __DUDLEY_TAGMAP_H__
44

  ViewVC Help
Powered by ViewVC 1.1.26