00001 //************************************************************************************// 00002 // Module : gfieldgroup.hpp 00003 // Date : 6/25/05 (DLR) 00004 // Copyright : 2005-2006 Copyright University Corporation for Atmospheric 00005 // Research 00006 // Description : Encapsulates the access methods and data associated with 00007 // defining a field group class. This associates an element with a 00008 // list of fields that are associated with the elements. 00009 // Derived From : none. 00010 // Modifications: 00011 //************************************************************************************// 00012 #if !defined(GFIELDGROUP_HPP) 00013 #define GFIELDGROUP_HPP 00014 00015 #include "gtypes.h" 00016 #include <iostream.h> 00017 #include <stdlib.h> 00018 #include "gelemlist.hpp" 00019 #include "gfieldlist.hpp" 00020 00021 00022 class GFieldGroup 00023 { 00024 public: 00025 GFieldGroup(); 00026 ~GFieldGroup(); 00027 friend ostream &operator<<(ostream &str, GFieldGroup &a); 00028 00029 00030 GINT nfields; 00031 char name[CMD_STR_MAX]; 00032 GBASIS_TYPE basis_type; 00033 GElemList *pelems; 00034 GFieldList **pfields; 00035 00036 }; 00037 00038 #endif 00039