24 #ifndef _PROTEINLISTWRAPPER_HPP_ 25 #define _PROTEINLISTWRAPPER_HPP_ 44 if (!inner.get())
throw std::runtime_error(
"[ProteinListWrapper] Null ProteinListPtr.");
61 #endif // _PROTEINLISTWRAPPER_HPP_ Inheritable pass-through implementation for wrapping a ProteinList.
virtual size_t size() const
ProteinListWrapper(const ProteinListPtr &inner)
virtual ProteinPtr protein(size_t index, bool getSequence=true) const
boost::shared_ptr< ProteinList > ProteinListPtr
boost::shared_ptr< Protein > ProteinPtr