libs/gen/src/Args.cxx
// Args method to get the value following the given arg.
// Note - Uses firstArg/nextArg/findArg.
// Note - Does no checking of what the value is.
Args method to get the value following the given arg.
Note - Uses firstArg/nextArg/findArg.
Note - Does no checking of what the value is.
Args method to get the value following the given arg . Note - Uses firstArg / nextArg / findArg . Note - Does no checking of what the value is .
int Args::findValue(const char * arg, char * value) {
   if (findArg(arg)) {   
      char * myValue = nextArg();
      if (myValue) {
         strcpy(value, myValue);
         return(1);
      }
   }
   *value = 0;
   return(0);
}
int Args :: findValue ( const char * arg , char * value ) { if ( findArg ( arg ) ) { char * myValue = nextArg ( ) ; if ( myValue ) { strcpy ( value , myValue ) ; return ( 1 ) ; } } * value = 0 ; return ( 0 ) ; }
Args method to get the value following the given arg.
Args method to get the value following the given arg .
// Found the arg.