5 #ifndef BPP_SEQ_CONTAINER_POSITIONEDNAMEDCONTAINER_H
6 #define BPP_SEQ_CONTAINER_POSITIONEDNAMEDCONTAINER_H
43 virtual void addObject(std::shared_ptr<T>
object,
size_t objectIndex,
const std::string& name,
bool check =
false) = 0;
45 virtual void insertObject(std::shared_ptr<T>
object,
size_t objectIndex,
const std::string& name) = 0;
A Container template for objects that are accessible through names.
The PositionedContainer interface.
The template PositionedNamedContainer interface, that links position & name containers.
virtual ~PositionedNamedContainerInterface()
virtual size_t getObjectPosition(const std::string &name) const =0
Link between position & name.
virtual PositionedNamedContainerInterface< T > * clone() const =0
virtual const std::string & getObjectName(size_t objectIndex) const =0
virtual void insertObject(std::shared_ptr< T > object, size_t objectIndex, const std::string &name)=0
virtual void addObject(std::shared_ptr< T > object, size_t objectIndex, const std::string &name, bool check=false)=0
This alphabet is used to deal NumericAlphabet.