Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
cetlib
canonical_number.h
Go to the documentation of this file.
1
#ifndef cetlib_canonical_number_h
2
#define cetlib_canonical_number_h
3
4
// ======================================================================
5
//
6
// canonical_number: Transform a number string into a canonical form
7
//
8
// "Number string" is defined by the following regular expression:
9
// ^[-+]?([0-9]*\.?[0-9]+|[0-9]+\.?[0-9]*)([eE][-+]?[0-9]+)?$
10
//
11
// ======================================================================
12
13
#include <string>
14
15
namespace
cet
{
16
17
bool
canonical_number
(
std::string
const
&
value
,
std::string
&
result
);
18
}
19
20
// ======================================================================
21
22
#endif
/* cetlib_canonical_number_h */
23
24
// Local Variables:
25
// mode: c++
26
// End:
cet::canonical_number
bool canonical_number(std::string const &value, std::string &result)
fillBadChanDBTables.result
result
Definition:
fillBadChanDBTables.py:77
value
const XML_Char int const XML_Char * value
Definition:
expat.h:331
cet
Definition:
get_LibraryInfoCollection.h:10
string
enum BeamMode string
Generated on Thu Feb 25 2021 14:14:46 for NOvA by
1.8.11