src/string_type.h
author frosch
Thu, 11 Sep 2008 19:44:30 +0000
changeset 10108 0f63f81e09f0
parent 8214 971f861d5543
permissions -rw-r--r--
(svn r14292) -Cleanup (r11128): Move an 'if' out of a loop as it does not need to be iterated. (spotted by smatz)
8214
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
     1
/* $Id$ */
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
     2
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
     3
/** @file string_type.h Types for strings. */
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
     4
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
     5
#ifndef STRING_TYPE_H
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
     6
#define STRING_TYPE_H
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
     7
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
     8
/**
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
     9
 * Valid filter types for IsValidChar.
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
    10
 */
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
    11
enum CharSetFilter {
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
    12
	CS_ALPHANUMERAL,      ///< Both numeric and alphabetic and spaces and stuff
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
    13
	CS_NUMERAL,           ///< Only numeric ones
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
    14
	CS_ALPHA,             ///< Only alphabetic values
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
    15
};
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
    16
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
    17
typedef uint32 WChar;
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
    18
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
    19
#endif /* STRING_TYPE_H */