Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
genstruct.h
1
/*
2
* $Id$
3
* Generic data structures documentation
4
*
5
* This file is part of OTAWA
6
* Copyright (c) 2005-07, IRIT UPS.
7
*
8
* OTAWA is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 2 of the License, or
11
* (at your option) any later version.
12
*
13
* OTAWA is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with OTAWA; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21
*/
22
23
namespace
elm
{
namespace
genstruct {
24
136
}
// genstruct
137
138
namespace
concept {
139
150
class
Adapter
{
151
public
:
152
156
typedef
void
key_t
;
157
161
typedef
void
val_t
;
162
166
typedef
void
data_t
;
167
173
const
key_t
&
key
(
const
data_t
& data);
174
180
const
val_t
&
value
(
const
data_t
& data);
181
187
val_t
&
ref
(
data_t
& data);
188
};
189
190
}
// concept
191
192
}
// elm
elm::concept::Adapter::data_t
void data_t
Definition:
genstruct.h:166
elm::concept::Adapter::value
const val_t & value(const data_t &data)
elm::concept::Adapter::val_t
void val_t
Definition:
genstruct.h:161
elm::concept::Adapter::key_t
void key_t
Definition:
genstruct.h:156
elm::concept::Adapter::key
const key_t & key(const data_t &data)
void
elm::concept::Adapter::ref
val_t & ref(data_t &data)
elm
Definition:
adapter.h:26
elm::concept::Adapter
Definition:
genstruct.h:150
src
genstruct.h
Generated on Fri Jul 23 2021 11:32:45 for Elm by
1.8.17