Polaris: String.h File Reference

String.h File Reference

Go to the source code of this file.

Functions

char * upcase_ch (const char *string)
int fortran_string_length (const char *string)
 Returns a copy of a string with all characters converted to upper case.
ostream & operator<< (ostream &o, const String &string)
 Without this, String may be destroyed before printing if created on fly.


Function Documentation

char* upcase_ch const char *  string  ) 
 

... Returns a copy of a string with all characters converted to upper case

Definition at line 48 of file String.cc.

int fortran_string_length const char *  string  ) 
 

Returns a copy of a string with all characters converted to upper case.

Returns the length a char *string would be given in a Fortran program ... (this strips the enclosing quotes and any doubled internal quotes)

Definition at line 64 of file String.cc.

Referenced by string_type(), and StringConstExpr::StringConstExpr().

ostream& operator<< ostream &  o,
const String string
[inline]
 

Without this, String may be destroyed before printing if created on fly.

Definition at line 341 of file String.h.

 © 1995-2005 University of Illinois, Urbana-Champaign. All rights reserved.  Fri Mar 25 23:06:31 2005