STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
regex_traits< wchar_t > Class Template Reference
Inheritance diagram for regex_traits< wchar_t >:
_Regex_traits< wchar_t > _Regex_traits_base

Public Member Functions

int value (wchar_t _Ch, int _Base) const
 
- Public Member Functions inherited from _Regex_traits< wchar_t >
 _Regex_traits ()
 
 _Regex_traits (const _Myt &_Right)
 
_Mytoperator= (const _Myt &_Right)
 
wchar_t translate (wchar_t_Ch) const
 
wchar_t translate_nocase (wchar_t_Ch) const
 
string_type transform (_FwdIt _First, _FwdIt _Last) const
 
string_type transform_primary (_FwdIt _First, _FwdIt _Last) const
 
bool isctype (wchar_t_Ch, char_class_type _Fx) const
 
char_class_type lookup_classname (_Iter _First, _Iter _Last, bool _Icase=false) const
 
string_type lookup_collatename (_FwdIt _First, _FwdIt _Last) const
 
locale_type imbue (locale_type _Lx)
 
locale_type getloc () const
 
const collate< wchar_t > * _Getcoll () const
 
const ctype< wchar_t > * _Getctype () const
 

Additional Inherited Members

- Public Types inherited from _Regex_traits< wchar_t >
typedef make_unsigned< wchar_t >::type _Uelem
 
typedef _Regex_traits< wchar_t_Myt
 
typedef wchar_t char_type
 
typedef size_t size_type
 
typedef basic_string< wchar_tstring_type
 
typedef locale locale_type
 
- Public Types inherited from _Regex_traits_base
enum  _Char_class_type {
  _Ch_none = 0, _Ch_alnum = ctype_base::alnum, _Ch_alpha = ctype_base::alpha, _Ch_cntrl = ctype_base::cntrl,
  _Ch_digit = ctype_base::digit, _Ch_graph = ctype_base::graph, _Ch_lower = ctype_base::lower, _Ch_print = ctype_base::print,
  _Ch_punct = ctype_base::punct, _Ch_space = ctype_base::space, _Ch_upper = ctype_base::upper, _Ch_xdigit = ctype_base::xdigit,
  _Ch_blank = ctype_base::blank
}
 
typedef ctype_base::mask char_class_type
 
- Static Public Member Functions inherited from _Regex_traits< wchar_t >
static size_type length (const wchar_t *_Str)
 

Member Function Documentation

int regex_traits< wchar_t >::value ( wchar_t  _Ch,
int  _Base 
) const
inline
450  { // map character value to numeric value
451  if ((_Base != 8 && L'0' <= _Ch && _Ch <= L'9')
452  || (_Base == 8 && L'0' <= _Ch && _Ch <= L'7'))
453  return (_Ch - L'0');
454  else if (_Base != 16)
455  ;
456  else if (L'a' <= _Ch && _Ch <= L'f')
457  return (_Ch - L'a' + 10);
458  else if (L'A' <= _Ch && _Ch <= L'F')
459  return (_Ch - L'A' + 10);
460  return (-1);
461  }
_Check_return_ _In_ wchar_t _Ch
Definition: vcruntime_string.h:89

The documentation for this class was generated from the following file: