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