RDCode: ChemicalFeature.h Source File

- Main Page
- Namespaces
- Classes
- Files
- Directories

# ChemicalFeature.h

Go to the documentation of this file.

    00001 //
    00002 //  Copyright (C) 2004-2006 Rational Discovery LLC
    00003 //
    00004 //  @@ All Rights Reserved @@
    00005 //
    00006 #ifndef __CHEMICALFEATURE_H_11012005_1310__
    00007 #define __CHEMICALFEATURE_H_11012005_1310__
    00008
    00009 #include <Geometry/point.h>
    00010 namespace ChemicalFeatures {
    00011
    00012   //------------------------------------------------------------------
    00013   //! abstract base class for chemical feature
    00014   class ChemicalFeature {
    00015   public:
    00016     ChemicalFeature() {};
    00017     virtual ~ChemicalFeature() {};
    00018
    00019     // returns the type of the feature
    00020     virtual const std::string& getType() const = 0;
    00021
    00022     // returns the family of the feature
    00023     virtual const std::string& getFamily() const = 0;
    00024
    00025     // returns the position of the feature
    00026     virtual RDGeom::Point3D getPos() const = 0;
    00027   };
    00028 }
    00029
    00030 #endif
    00031