mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
22 lines
701 B
C++
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;
|
|
}
|