Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
cetlib
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)
Definition:
canonical_number.cc:20
result
static QCString result
Definition:
fortranscanner.cpp:56614
string
std::string string
Definition:
nybbler.cc:12
cet
Definition:
PluginSymbolResolvers.h:8
submit_mcc.value
value
Definition:
submit_mcc.py:159
Generated by
1.8.11