Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATString::GetWChar
CATWChar CATString::GetWChar ( CATUInt32  offset  )  const

GetWChar() retrieves the wide character at the specified offset in the string.

GetWChar is preferred to GetChar().

Parameters:
offset - 0-based offset of character.
Returns:
CATWChar - character at offset or 0 if the offset is out of bounds (will also assert in debug in this case)
See also:
SetWChar()

Definition at line 1520 of file CATString.cpp.

References CATASSERT, fAsciiLocked, fBufferLength, fUnicodeBuffer, fUnicodeLocked, and GetLength().

Referenced by CATFileSystem::BuildPath(), CATFileSystem::CATFileSystem(), CATFileSystem_Win32::CreateDir(), DecodeURL(), EncodeURL(), CATFileSystem::EnsureTerminator(), Escape(), CATControl::FilterGUIString(), CATApp::OpenFileDialog(), operator bool(), CATSlider::ParseAttributes(), CATProgress::ParseAttributes(), CATAppButton::ParseAttributes(), PullNextToken(), CATFileSystem::SanitizeFilename(), CATApp::SaveFileDialog(), SplitPath(), and CATFileSystem::SplitPath().


Generated on Mon Feb 11 04:11:03 2008 for Game Accessibility Suite by doxygen 1.5.4