82 #ifndef NO_VIRTUAL_COV 97 virtual const std::string&
getName()
const = 0;
104 virtual void setName(
const std::string& name) = 0;
464 #endif // _SEQUENCE_H_ const Comments & getComments() const
Get the comments associated to this sequence.
An alphabet exception thrown when trying to specify a bad char to the alphabet.
std::vector< std::string > Comments
Declaration of Comments type.
The SymbolList interface.
void setContent(const std::vector< std::string > &list)
Set the whole content of the list.
Sequence * clone() const =0
This alphabet is used to deal NumericAlphabet.
virtual void setToSizeL(size_t newSize)
Set up the size of a sequence from the left side.
virtual void setComments(const Comments &comments)=0
Set the comments associated to this sequence.
virtual const std::string & getName() const =0
Get the name of this sequence.
virtual void setName(const std::string &name)=0
Set the name of this sequence.
virtual void setContent(const std::vector< int > &list)
Set the whole content of the list.
Comments comments_
The sequence comments.
std::string name_
The sequence name.
BasicSequence * clone() const
virtual void append(const std::vector< int > &content)=0
Append the specified content to the sequence.
A basic SymbolList object.
void setComments(const Comments &comments)
Set the comments associated to this sequence.
virtual void setContent(const std::string &sequence)
Set the whole content of the sequence.
virtual const Comments & getComments() const =0
Get the comments associated to this sequence.
BasicSequence & operator=(const Sequence &s)
The Sequence generic assignment operator. This does not perform a hard copy of the alphabet object...
BasicSequence(const Alphabet *alpha)
Empty constructor: build a void Sequence with just an Alphabet.
A basic implementation of the Sequence interface.
const std::string & getName() const
Get the name of this sequence.
virtual void append(const std::vector< int > &content)
Append the specified content to the sequence.
virtual void setContent(const std::string &sequence)=0
Set the whole content of the sequence.
virtual void setToSizeR(size_t newSize)=0
Set up the size of a sequence from the right side.
void setName(const std::string &name)
Set the name of this sequence.
An alphabet exception thrown when trying to specify a bad int to the alphabet.
void setContent(const std::vector< int > &list)
Set the whole content of the list.
virtual void setToSizeR(size_t newSize)
Set up the size of a sequence from the right side.
virtual void setToSizeL(size_t newSize)=0
Set up the size of a sequence from the left side.