OpenMS
IMSAlphabetTextParser.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, The OpenMS Team -- EKU Tuebingen, ETH Zurich, and FU Berlin
2 // SPDX-License-Identifier: BSD-3-Clause
3 //
4 // --------------------------------------------------------------------------
5 // $Maintainer: Timo Sachsenberg $
6 // $Authors: Anton Pervukhin <Anton.Pervukhin@CeBiTec.Uni-Bielefeld.DE> $
7 // --------------------------------------------------------------------------
8 //
9 
10 #pragma once
11 
13 
14 namespace OpenMS
15 {
16 
17  namespace ims
18  {
19 
26  class OPENMS_DLLAPI IMSAlphabetTextParser :
27  public IMSAlphabetParser<>
28  {
29 private:
34 public:
40  ContainerType & getElements() override { return elements_; }
41 
47  void parse(std::istream & is) override;
48  };
49 
50  } // namespace ims
51 } // namespace OpenMS
52 
An abstract templatized parser to load the data that is used to initialize Alphabet objects.
Definition: IMSAlphabetParser.h:38
Container ContainerType
Definition: IMSAlphabetParser.h:43
Implements abstract AlphabetParser to read data from the plain text format.
Definition: IMSAlphabetTextParser.h:28
ContainerType elements_
Definition: IMSAlphabetTextParser.h:33
ContainerType & getElements() override
Definition: IMSAlphabetTextParser.h:40
void parse(std::istream &is) override
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19