60 lines
1.3 KiB
C++
60 lines
1.3 KiB
C++
|
|
|
|
//
|
|
|
|
|
|
|
|
//
|
|
// $Id: Str.h,v 1.3 1999/12/15 14:50:15 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-01-01 $
|
|
//
|
|
|
|
#ifndef STR_H
|
|
#define STR_H
|
|
|
|
/*
|
|
* NIST Utils Class Library
|
|
* clutils/Str.h
|
|
* May 1995
|
|
* K. C. Morris
|
|
* David Sauder
|
|
|
|
* Development of this software was funded by the United States Government,
|
|
* and is not subject to copyright.
|
|
*/
|
|
|
|
/* */
|
|
|
|
#ifdef __O3DB__
|
|
#include <OpenOODB.h>
|
|
#endif
|
|
|
|
#include <ctype.h>
|
|
|
|
//#include <std.h> // not found in CenterLine C++
|
|
// the two includes stdio.h and stdlib.h below are replacing std.h since
|
|
// CenterLine doesn't have std.h
|
|
|
|
#include <stdio.h> // added to have the definition for BUFSIZE
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <scl_string.h>
|
|
#include <errordesc.h>
|
|
|
|
char ToLower (const char c);
|
|
char ToUpper (const char c);
|
|
const char * StrToLower (const char * word, SCLstring &s);
|
|
const char * StrToUpper (const char * word, SCLstring &s);
|
|
const char * StrToConstant (const char * word, SCLstring &s);
|
|
const char * PrettyTmpName (const char * oldname);
|
|
char * PrettyNewName (const char * oldname);
|
|
char * EntityClassName ( char * oldname);
|
|
|
|
extern Severity CheckRemainingInput
|
|
(G4std::istream &in, ErrorDescriptor *err,
|
|
const char *typeName, // used in error message
|
|
const char *tokenList); // e.g. ",)"
|
|
|
|
|
|
#endif
|