MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / IsAlphaNum

Method IsAlphaNum

cpp/tinyxml/tinyxmlparser.cpp:151–169  ·  view source on GitHub ↗

static*/

Source from the content-addressed store, hash-verified

149
150
151/*static*/ int TiXmlBase::IsAlphaNum( unsigned char anyByte, TiXmlEncoding /*encoding*/ )
152{
153 // This will only work for low-ascii, everything else is assumed to be a valid
154 // letter. I'm not sure this is the best approach, but it is quite tricky trying
155 // to figure out alhabetical vs. not across encoding. So take a very
156 // conservative approach.
157
158// if ( encoding == TIXML_ENCODING_UTF8 )
159// {
160 if ( anyByte < 127 )
161 return isalnum( anyByte );
162 else
163 return 1; // What else to do? The unicode set is huge...get the english ones right.
164// }
165// else
166// {
167// return isalnum( anyByte );
168// }
169}
170
171
172class TiXmlParsingData

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected