UTypes.h
00001 #ifndef UTypes_H_
00002 #define UTypes_H_
00003
00004 #include <UniSetTypes.h>
00005
00006 namespace UTypes
00007 {
00008 const long DefaultID = UniSetTypes::DefaultObjectId;
00009
00010 struct Params
00011 {
00012 static const int max = 20;
00013
00014 Params():argc(0){ memset(argv,0,sizeof(argv)); }
00015
00016 bool add( char* s )
00017 {
00018 if( argc < Params::max )
00019 {
00020 argv[argc++] = s;
00021 return true;
00022 }
00023 return false;
00024 }
00025
00026 int argc;
00027 char* argv[max];
00028
00029 static Params inst(){ return Params(); }
00030 };
00031 }
00032
00033 #endif
00034