PLearn 0.1
Namespaces | Functions | Variables
TypesNumeriques.cc File Reference
#include <cstdlib>
#include <cstring>
#include "TypesNumeriques.h"
Include dependency graph for TypesNumeriques.cc:

Go to the source code of this file.

Namespaces

namespace  PLearn
 

< for swap


Functions

const char * PLearn::eNumericTypeNames (int a)
 converts a code in corresponding string
bool PLearn::containsChar (const char *s, const char *symbols)
 true if string s contains any one of the characters in symbols.
char * PLearn::stringPos (const char *s, const char *strings[])
bool PLearn::looksNumeric (const char *s)
 tells wether this string looks like a numeric entity
bool PLearn::elementOf (const char *s, const char t)
void PLearn::compactRepresentationTranslate (char *t)
void PLearn::compactRepresentationShrinkNum (char *t)
void PLearn::compactRepresentationRangesAndOrdinals (char *t)
void PLearn::compactRepresentation (char *t)
 gives a (intermediate) code for a numeric string (starting with #)
int PLearn::numericType (const char *word)
 assigns a code to a "word"

Variables

const char PLearn::DIGITsymbols [] = "0123456789"
const char PLearn::ALPHAsymbols [] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
const char * PLearn::ORDINALS [] = {"d","nd","th","st",0}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines