base_misc.hh

Go to the documentation of this file.
00001 /*
00008  * LEGAL:   COPYRIGHT (C) 2004 JIM E. BROOKS
00009  *          THIS SOURCE CODE IS RELEASED UNDER THE TERMS
00010  *          OF THE GNU GENERAL PUBLIC LICENSE VERSION 2 (GPL 2).
00011  *****************************************************************************/
00012 
00013 #ifndef BASE_MISC_HH
00014 #define BASE_MISC_HH 1
00015 
00016 #include "base_common.hh"
00017 
00018 namespace base {
00019 
00020 int
00021 Argi( int idx, int argc_, char** argv_ );
00022 
00023 float
00024 Argf( int idx, int argc_, char** argv_ );
00025 
00026 string
00027 Argstr( int idx, int argc_, char** argv_ );
00028 
00029 void
00030 CmdargDone( int i, int n = 1 );
00031 
00032 bool
00033 IfCmdargDone( int i );
00034 
00035 #if OS_CYGWIN
00036 char* STRCASESTR( const char *s, const char* find );
00037 #else
00038 #define STRCASESTR strcasestr
00039 #endif
00040 
00041 } // namespace base
00042 
00043 #endif // BASE_MISC_HH
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:06 2007