00001 //************************************************************************************// 00002 // Module : gkeygen.cpp 00003 // Date : 8/25/03 (DLR) 00004 // Copyright : 2003-2006 Copyright University Corporation for Atmospheric 00005 // Research 00006 // Description : Encapsulates the access methods and data associated with 00007 // defining a key-generator, as used in GASpAR. This class is 00008 // intended to be a abstract base class for defined GKeyGen 00009 // objects 00010 // Derived From : none. 00011 // Modifications: 00012 //************************************************************************************// 00013 #if !defined(GKEYGEN_HPP) 00014 #define GKEYGEN_HPP 00015 00016 #include "gtypes.h" 00017 #include "point.hpp" 00018 #include <iostream.h> 00019 #include <stdlib.h> 00020 00021 class GKeyGen 00022 { 00023 public: 00024 00025 GKeyGen(); 00026 ~GKeyGen(); 00027 00028 virtual void key(void *id, GINT idsz, Point3D point[], GINT n=1)=0; // Get key/id data 00029 virtual void key(void *id, GINT idsz, GDOUBLE *x [], GINT n=1)=0; // Get key/id data 00030 00031 00032 00033 private: 00034 00035 // Member data: 00036 }; 00037 00038 #endif