54 const size_t chromatogramCount = 10;
55 for (
size_t i=0; i<chromatogramCount; i++)
64 shared_ptr<MyWrapper> wrapper(
new MyWrapper(simple));
68 wrapper->verifySize(10);
70 for (
size_t i=0; i<chromatogramCount; i++)
89 int main(
int argc,
char* argv[])
std::string id
a unique identifier for this chromatogram. It should be expected that external files may use this ide...
boost::shared_ptr< ChromatogramList > ChromatogramListPtr
void verifySize(size_t size)
boost::shared_ptr< ChromatogramListSimple > ChromatogramListSimplePtr
size_t index
the zero-based, consecutive index of the chromatogram in the ChromatogramList.
toType lexical_cast(const std::string &str, bool &success)
Simple writeable in-memory implementation of ChromatogramList.
MyWrapper(const ChromatogramListPtr &inner)
int main(int argc, char *argv[])
Inheritable pass-through implementation for wrapping a ChromatogramList.
#define TEST_PROLOG(argc, argv)
Identifying information for a chromatogram.
boost::shared_ptr< Chromatogram > ChromatogramPtr