Arcane  v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
IFilter.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* IDataWriter.h (C) 2000-2007 */
9/* */
10/* Interface d'écriture des données d'une variable. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_IDATAWRITER_H
13#define ARCANE_IDATAWRITER_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/ArcaneTypes.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22ARCANE_BEGIN_NAMESPACE
23
24/*---------------------------------------------------------------------------*/
25/*---------------------------------------------------------------------------*/
26
27class IVariable;
28class IData;
29
30/*---------------------------------------------------------------------------*/
31/*---------------------------------------------------------------------------*/
32/*!
33 * \ingroup IO
34 */
36{
37 public:
38
39 //! Libère les ressources
40 virtual ~IFilter() {}
41
42 public:
43
44 virtual void encode(ByteConstArrayView input,ByteUniqueArray output) =0;
45 virtual void decode(ByteConstArrayView input,ByteUniqueArray output) =0;
46
47 private:
48};
49
50/*---------------------------------------------------------------------------*/
51/*---------------------------------------------------------------------------*/
52
53ARCANE_END_NAMESPACE
54
55/*---------------------------------------------------------------------------*/
56/*---------------------------------------------------------------------------*/
57
58#endif
59
virtual ~IFilter()
Libère les ressources.
Definition IFilter.h:40
Vue constante d'un tableau de type T.
Vecteur 1D de données avec sémantique par valeur (style STL).