gala_clients/DIS_group/src/GroupApp.cxx
//
// Returns a well-formed Tcl list (in string
// form) containing all of the valid queries:
//
Returns a well-formed Tcl list (in string
form) containing all of the valid queries.
Returns a well - formed Tcl list ( in string form ) containing all of the valid queries .
char *GroupApp::GetQueryList()
{
  Initialize(GroupApp::GetQueryList);
  if (!queryList) {
    queryList = new genString;
    *queryList = "";
    unsigned int sz = queries->size();
    for (int i = 0; i < sz; i++) {
      *queryList += "{";
      *queryList += queries->Reference(i).name;
      *queryList += "} ";
    }
  }
  return (char *)(*queryList);
}
char * GroupApp :: GetQueryList ( ) { Initialize ( GroupApp :: GetQueryList ) ; if ( ! queryList ) { queryList = new genString ; * queryList = " " ; unsigned int sz = queries -> size ( ) ; for ( int i = 0 ; i < sz ; i ++ ) { * queryList += " " ; * queryList += queries -> Reference ( i ) . name ; * queryList += " " ; } } return ( char * ) ( * queryList ) ; }
Returns a well-formed Tcl list (in string
form) containing all of the valid queries:
Returns a well - formed Tcl list ( in string form ) containing all of the valid queries :