Files
rdkit/Code/GraphMol/MonomerInfo.cpp
Ricardo Rodriguez e3f2e4651e Refactor iostreams includes (#8846)
* refactor iostreams includes

* restore ostream to MonomerInfo.cpp
2025-10-31 13:42:16 +01:00

22 lines
701 B
C++

//
// Copyright (C) 2021 Greg Landrum and other RDKit contributors
//
// @@ All Rights Reserved @@
// This file is part of the RDKit.
// The contents are covered by the terms of the BSD license
// which is included in the file license.txt, found at the root
// of the RDKit source tree.
//
#include <ostream>
#include "MonomerInfo.h"
using namespace RDKit;
//! allows AtomPDBResidueInfo objects to be dumped to streams
std::ostream &operator<<(std::ostream &target, const AtomPDBResidueInfo &apri) {
target << apri.getSerialNumber() << " " << apri.getName() << " "
<< apri.getResidueName() << " " << apri.getChainId() << " "
<< apri.getResidueNumber();
return target;
}