PDI 1.10.0-alpha.2026-01-16

the PDI data interface

pdi_fwd.h
1/*******************************************************************************
2 * Copyright (C) 2015-2025 Commissariat a l'energie atomique et aux energies alternatives (CEA)
3 * Copyright (C) 2021 Institute of Bioorganic Chemistry Polish Academy of Science (PSNC)
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are met:
8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 * * Neither the name of CEA nor the names of its contributors may be used to
14 * endorse or promote products derived from this software without specific
15 * prior written permission.
16 *
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23 * THE SOFTWARE.
24 ******************************************************************************/
25
29
30#ifndef PDI_PDI_FWD_H_
31#define PDI_PDI_FWD_H_
32
33#include <cstdint>
34#include <memory>
35
36#include <pdi.h>
37
38namespace PDI {
39
43class Context;
44
49class Datatype;
50
53class Array_datatype;
54
58
61class Record_datatype;
62
65class Scalar_datatype;
66
69class Tuple_datatype;
70
76
77using Datatype_template_ptr [[deprecated]] = std::shared_ptr<const Datatype_template>;
78using Datatype_template_sptr = std::shared_ptr<const Datatype_template>;
79
80using Datatype_sptr = std::shared_ptr<const Datatype>;
81
85class Data_descriptor;
86
89class Plugin;
90
91template <bool, bool>
92class Ref_any;
93
95
97
99
101
110
115class Expression;
116
117} // namespace PDI
118
119#endif // PDI_PDI_FWD_H_
an Array_datatype is a Datatype that represents an array: i.e storage of multiple elements of the sam...
Definition array_datatype.h:45
Definition context.h:44
Definition data_descriptor.h:39
Definition datatype_template.h:43
A Datatype is a Datatype_template that accepts no argument.
Definition datatype.h:47
The class PDI plugins should implement.
Definition plugin.h:43
Definition pointer_datatype.h:38
A Record_datatype is a Datatype that represents a fixed number of elements of potentially different t...
Definition record_datatype.h:42
A dynamically typed reference to data with automatic memory management and read/write locking semanti...
Definition ref_any.h:242
Definition scalar_datatype.h:39
A Tuple_datatype is a Datatype that represents a fixed number of elements of potentially different ty...
Definition tuple_datatype.h:42
Definition array_datatype.h:38
Ref_any< true, true > Ref_rw
Definition pdi_fwd.h:100
Ref_any< false, true > Ref_w
Definition pdi_fwd.h:98
std::shared_ptr< const Datatype_template > Datatype_template_sptr
Definition pdi_fwd.h:78
Ref_any< true, false > Ref_r
Definition pdi_fwd.h:96
std::shared_ptr< const Datatype > Datatype_sptr
Definition pdi_fwd.h:80
Scalar_kind
Different possible interpretations for a scalar.
Definition pdi_fwd.h:104
@ SIGNED
Definition pdi_fwd.h:106
@ UNKNOWN
Definition pdi_fwd.h:105
@ UNSIGNED
Definition pdi_fwd.h:107
@ FLOAT
Definition pdi_fwd.h:108
Ref_any< false, false > Ref
Definition pdi_fwd.h:94