Logo Search packages:      
Sourcecode: cdk version File versions  Download package

static List<IAtomContainer> org::openscience::cdk::tools::manipulator::ChemFileManipulator::getAllAtomContainers ( IChemFile  file ) [inline, static]

Returns all the AtomContainer's of a ChemFile.

Definition at line 115 of file ChemFileManipulator.java.

References org::openscience::cdk::tools::manipulator::ChemSequenceManipulator::getAllAtomContainers().

Referenced by org::openscience::cdk::templates::AminoAcids::createAAs(), and org::openscience::cdk::layout::TemplateHandler::loadTemplates().

                                                                            {
        List<IAtomContainer> acList = new ArrayList<IAtomContainer>();
        for (IChemSequence sequence : file.chemSequences()) {
            acList.addAll(ChemSequenceManipulator.getAllAtomContainers(sequence));
        }
        return acList;
    }

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index