bpp-seq3  3.0.0
NexusTools.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: The Bio++ Development Group
2 //
3 // SPDX-License-Identifier: CECILL-2.1
4 
5 #ifndef BPP_SEQ_IO_NEXUSTOOLS_H
6 #define BPP_SEQ_IO_NEXUSTOOLS_H
7 
8 
9 // From the STL:
10 #include <iostream>
11 #include <Bpp/Exceptions.h>
12 
13 namespace bpp
14 {
24 {
25 public:
30  static std::string getNextNonCommentLine(std::istream& input);
31 
42  static bool getNextCommand(std::istream& input, std::string& name, std::string& arguments, bool lineBrk = true);
43 };
44 } // end of namespace bpp.
45 #endif // BPP_SEQ_IO_NEXUSTOOLS_H
Tools for parsing Nexus files.
Definition: NexusTools.h:24
static bool getNextCommand(std::istream &input, std::string &name, std::string &arguments, bool lineBrk=true)
parse the next command name within a block.
Definition: NexusTools.cpp:38
static std::string getNextNonCommentLine(std::istream &input)
Definition: NexusTools.cpp:13
This alphabet is used to deal NumericAlphabet.