40 #ifndef _ABSTRACTISEQUENCE_H_ 41 #define _ABSTRACTISEQUENCE_H_ 44 #include "../Container/VectorSequenceContainer.h" 45 #include "../Alphabet/Alphabet.h" 100 #if defined(NO_VIRTUAL_COV) 111 #if defined(NO_VIRTUAL_COV) 144 std::ifstream input(path.c_str(), std::ios::in);
181 #endif //_ABSTRACTISEQUENCE_H_ virtual VectorSequenceContainer * readSequences(const std::string &path, const Alphabet *alpha) const
Create a new container from a file.
This alphabet is used to deal NumericAlphabet.
virtual VectorSequenceContainer * readSequencesFromFile(const std::string &path, const Alphabet *alpha) const
Append sequences to a container from a file.
The VectorSequenceContainer class.
virtual ~AbstractISequence()
virtual VectorSequenceContainer * readSequences(std::istream &input, const Alphabet *alpha) const
Create a new container from a stream.
virtual VectorSequenceContainer * readSequencesFromStream(std::istream &input, const Alphabet *alpha) const
Read sequences from a stream.
virtual void appendSequencesFromFile(const std::string &path, SequenceContainer &sc) const
Append sequences to a container from a file.
virtual void readSequences(std::istream &input, SequenceContainer &sc) const
Add sequences to a container from a stream.
virtual void readSequences(const std::string &path, SequenceContainer &sc) const
Add sequences to a container from a file.
Partial implementation of the ISequence interface.
The SequenceContainer interface.
virtual void appendSequencesFromStream(std::istream &input, SequenceContainer &sc) const =0
Append sequences to a container from a stream.