5 #ifndef BPP_SEQ_CORESEQUENCE_H
6 #define BPP_SEQ_CORESEQUENCE_H
50 virtual const std::string&
getName()
const = 0;
57 virtual void setName(
const std::string& name) = 0;
A partial implementation of the CoreSequence interface.
const std::string & getName() const override
Get the name of this sequence.
void setName(const std::string &name) override
Set the name of this sequence.
AbstractCoreSequence & operator=(const AbstractCoreSequence &s)
AbstractCoreSequence(const AbstractCoreSequence &s)
AbstractCoreSequence & operator=(const CoreSequenceInterface &s)
std::string name_
The sequence name.
AbstractCoreSequence(const CoreSequenceInterface &s)
AbstractCoreSequence(const std::string &name, const Comments &comments)
Constructor of the AbstractCoreSequence object.
virtual ~AbstractCoreSequence()
AbstractCoreSequence(const std::string &name)
Constructor of the AbstractCoreSequence object.
virtual AbstractCoreSequence * clone() const override=0
The core sequence interface.
virtual void setName(const std::string &name)=0
Set the name of this sequence.
virtual void setToSizeL(size_t newSize)=0
Set up the size of a sequence from the left side.
virtual const std::string & getName() const =0
Get the name of this sequence.
CoreSequenceInterface * clone() const override=0
virtual void setToSizeR(size_t newSize)=0
Set up the size of a sequence from the right side.
virtual ~CoreSequenceInterface()
The CruxSymbolList interface.
This alphabet is used to deal NumericAlphabet.
std::vector< std::string > Comments
Declaration of Comments type.