bpp-seq
2.2.0
|
Tools for parsing Nexus files. More...
#include <Bpp/Seq/Io/NexusTools.h>
Static Public Member Functions | |
static std::string | getNextNonCommentLine (std::istream &input) |
static bool | getNextCommand (std::istream &input, std::string &name, std::string &arguments, bool lineBrk=true) throw (IOException) |
parse the next command name within a block. More... | |
Tools for parsing Nexus files.
The Nexus format is described in the following paper: Maddison D, Swofford D, and Maddison W (1997), Syst Biol 46(4):590-621
Definition at line 58 of file NexusTools.h.
|
static |
parse the next command name within a block.
input | [in] The input stream. |
name | [out] Will contain the name of the command. |
arguments | [out] Will contain the arguments of the commans, as raw data. The arguments will not be parsed. |
lineBrk | [in] Tell is the line break should be preserved in the arguments. |
IOException | In case of bad format. |
Definition at line 72 of file NexusTools.cpp.
Referenced by bpp::NexusIOSequence::appendAlignmentFromStream().
|
static |
input | The input stream. |
Definition at line 47 of file NexusTools.cpp.