00001 //************************************************************************************// 00002 // Module : gcutils.cpp 00003 // Date : 10/17/05 (DLR) 00004 // Copyright : 2005-2006 Copyright University Corporation for Atmospheric 00005 // Research 00006 // Copyright : 2005, Copyright University Corporation for Atmospheric 00007 // Research 00008 // Description : Encapsulates the methods and data associated with 00009 // the namespace providing C utility funtions. 00010 // Derived From : none 00011 // Modifications: 00012 //************************************************************************************// 00013 #if !defined(GCUTILS_HPP) 00014 #define GCUTILS_HPP 00015 00016 #include "gtypes.h" 00017 #include <stdarg.h> 00018 #include "gtlist.hpp" 00019 00020 00021 namespace GCUtils { 00022 00023 void swap(GBYTE *x, GINT size); 00024 void swapall(GBYTE *x, GINT n, GINT size); 00025 GBOOL CheckFormat(GStringList *sFormat, char *format_spec); 00026 GBOOL SetParams(GINT maxParams, GStringList *sparambuff, va_list ap); 00027 00028 00029 } 00030 #endif // !defined(GCUTILS_HPP)