RDCode: AtomProps.h Source File

- Main Page
- Namespaces
- Classes
- Files
- Directories

# AtomProps.h

Go to the documentation of this file.

    00001 //
    00002 //  Copyright (C) 2001-2006 Greg Landrum and Rational Discovery LLC
    00003 //
    00004 //   @@ All Rights Reserved  @@
    00005 //
    00006 /*! \file AtomProps.h
    00007
    00008   \brief No user-serviceable parts inside.
    00009
    00010   Contains internals for using Atoms with the BGL
    00011
    00012 */
    00013 #ifndef _RD_ATOM_PROPS_H
    00014 #define _RD_ATOM_PROPS_H
    00015
    00016 // boost stuff
    00017 #include <boost/property_map.hpp>
    00018 #include <boost/smart_ptr.hpp>
    00019
    00020 namespace RDKit{
    00021   class Atom;
    00022   typedef boost::shared_ptr<Atom>    ATOM_SPTR;
    00023
    00024   struct vertex_atom_t {
    00025     enum { num=1001 };
    00026     typedef boost::vertex_property_tag kind;
    00027   };
    00028
    00029   typedef boost::property<vertex_atom_t,Atom *> AtomProperty;
    00030
    00031 };
    00032
    00033
    00034 #endif