40 #ifndef BPP_SEQ_CONTAINER_ABSTRACTVALUESCONTAINER_H
41 #define BPP_SEQ_CONTAINER_ABSTRACTVALUESCONTAINER_H
45 #include "../Alphabet/Alphabet.h"
46 #include "../Commentable.h"
Partial implementation of the OrderedSequenceContainer interface.
AbstractValuesContainer(const Comments &comments, const Alphabet *alpha)
void setGeneralComments(const Comments &comments)
Set the comments of this container.
void setComments(const std::string &name, const Comments &comments)
Set the comments of a particular sequence.
AbstractValuesContainer(const AbstractValuesContainer &sc)
AbstractValuesContainer(const Alphabet *alpha)
This constructor initialize the alphabet pointer.
const Alphabet * getAlphabet() const
Get container's alphabet.
void deleteGeneralComments()
Delete the comments associated to this container.
const Alphabet * alphabet_
The container's alphabet.
virtual const Comments & getComments(size_t sequenceIndex) const =0
virtual ~AbstractValuesContainer()
AbstractValuesContainer & operator=(const AbstractValuesContainer &sc)
const Comments & getGeneralComments() const
Get the comments of this container.
virtual void setComments(size_t sequenceIndex, const Comments &comments)=0
The Container of Ordered Values interface.
virtual size_t getSequencePosition(const std::string &name) const =0
Get the position of a sequence in sequence container from its name.
virtual void setComments(const std::string &name, const Comments &comments)=0
Set the comments of a particular sequence.
This alphabet is used to deal NumericAlphabet.
std::vector< std::string > Comments
Declaration of Comments type.