mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-07 22:44:25 +08:00
35 lines
620 B
C++
Executable File
35 lines
620 B
C++
Executable File
//
|
|
// Copyright (C) 2001-2006 Greg Landrum and Rational Discovery LLC
|
|
//
|
|
// @@ All Rights Reserved @@
|
|
//
|
|
/*! \file AtomProps.h
|
|
|
|
\brief No user-serviceable parts inside.
|
|
|
|
Contains internals for using Atoms with the BGL
|
|
|
|
*/
|
|
#ifndef _RD_ATOM_PROPS_H
|
|
#define _RD_ATOM_PROPS_H
|
|
|
|
// boost stuff
|
|
#include <boost/property_map.hpp>
|
|
#include <boost/smart_ptr.hpp>
|
|
|
|
namespace RDKit{
|
|
class Atom;
|
|
typedef boost::shared_ptr<Atom> ATOM_SPTR;
|
|
|
|
struct vertex_atom_t {
|
|
enum { num=1001 };
|
|
typedef boost::vertex_property_tag kind;
|
|
};
|
|
|
|
typedef boost::property<vertex_atom_t,Atom *> AtomProperty;
|
|
|
|
};
|
|
|
|
|
|
#endif
|