/** * \file ListCLASSNAMEContainer.cpp \brief A list of PLURALVARIABLETYPE. * * This file is generated by a script (core/tools/make-container). * Do not edit directly. * * Copyright 2007-2010 IMP Inventors. All rights reserved. * */ #include "IMP/container/ListCLASSNAMEContainer.h" #include "IMP/CLASSNAMEModifier.h" #include "IMP/CLASSNAMEScore.h" #include #include IMPCONTAINER_BEGIN_NAMESPACE ListCLASSNAMEContainer ::ListCLASSNAMEContainer(): P(){} ListCLASSNAMEContainer ::ListCLASSNAMEContainer(const PLURALVARIABLETYPE &ps, std::string name): P(P::get_model(ps.begin(), ps.end()), name) { IMP_USAGE_CHECK(is_ok(ps.begin(), ps.end()), "All particles must belong to the same model."); set_FUNCTIONNAMEs(ps); } ListCLASSNAMEContainer ::ListCLASSNAMEContainer(Model *m, std::string name): P(m, name){ } ListCLASSNAMEContainer ::ListCLASSNAMEContainer(Model *m, const char *name): P(m, name){ } void ListCLASSNAMEContainer::do_show(std::ostream &out) const { IMP_CHECK_OBJECT(this); out << get_number_of_FUNCTIONNAMEs() << " CLASSNAMEs" << std::endl; } IMPCONTAINER_END_NAMESPACE