gala_clients/DIS_group/src/GroupApp.cxx
//
// Check to see if the specified character is legal:
//
Check to see if the specified character is legal.
Check to see if the specified character is legal .
bool GroupApp::ValidChar(const char c)
{
  Initialize(GroupApp::ValidChar);
  bool ret = false;
  if (isalnum(c))
    ret = true;
  else {
    static char *vc = "-_=+,";
    static int len = OSapi_strlen(vc);
    for (int i = 0; i < len; i++) {
      if (c == vc[i]) {
        ret = true;
	break;
      }
    }
  }
  return ret;
}
bool GroupApp :: ValidChar ( const char c ) { Initialize ( GroupApp :: ValidChar ) ; bool ret = false ; if ( isalnum ( c ) ) ret = true ; else { static char * vc = " " ; static int len = OSapi_strlen ( vc ) ; for ( int i = 0 ; i < len ; i ++ ) { if ( c == vc [ i ] ) { ret = true ; break ; } } } return ret ; }
Check to see if the specified character is legal:
Check to see if the specified character is legal :