SNAP Library , Developer Reference
2013-01-07 14:03:36
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#include <unicode.h>
Public Types | |
typedef TCodecImpl_ | TCodecImpl |
Public Member Functions | |
virtual TStr | GetName () const |
virtual void | Test () const |
virtual size_t | ToUnicode (const TIntV &src, size_t srcIdx, const size_t srcCount, TIntV &dest, const bool clrDest=true) const |
virtual size_t | ToUnicode (const TStr &src, size_t srcIdx, const size_t srcCount, TIntV &dest, const bool clrDest=true) const |
virtual size_t | FromUnicode (const TIntV &src, size_t srcIdx, const size_t srcCount, TIntV &dest, const bool clrDest=true) const |
virtual size_t | FromUnicode (const TIntV &src, size_t srcIdx, const size_t srcCount, TChA &dest, const bool clrDest=true) const |
virtual size_t | FromUnicode (const TIntV &src, size_t srcIdx, const size_t srcCount, TStr &dest, const bool clrDest=true) const |
Public Attributes | |
TCodecImpl | impl |
typedef TCodecImpl_ TCodecWrapper< TCodecImpl_ >::TCodecImpl |
virtual size_t TCodecWrapper< TCodecImpl_ >::FromUnicode | ( | const TIntV & | src, |
size_t | srcIdx, | ||
const size_t | srcCount, | ||
TIntV & | dest, | ||
const bool | clrDest = true |
||
) | const [inline, virtual] |
Implements TCodecBase.
Definition at line 392 of file unicode.h.
References TCodecWrapper< TCodecImpl_ >::impl.
{ return impl.FromUnicode(src, srcIdx, srcCount, dest, clrDest); }
virtual size_t TCodecWrapper< TCodecImpl_ >::FromUnicode | ( | const TIntV & | src, |
size_t | srcIdx, | ||
const size_t | srcCount, | ||
TChA & | dest, | ||
const bool | clrDest = true |
||
) | const [inline, virtual] |
Implements TCodecBase.
Definition at line 394 of file unicode.h.
References TCodecWrapper< TCodecImpl_ >::impl.
{ return impl.FromUnicode(src, srcIdx, srcCount, dest, clrDest); }
virtual size_t TCodecWrapper< TCodecImpl_ >::FromUnicode | ( | const TIntV & | src, |
size_t | srcIdx, | ||
const size_t | srcCount, | ||
TStr & | dest, | ||
const bool | clrDest = true |
||
) | const [inline, virtual] |
Implements TCodecBase.
Definition at line 396 of file unicode.h.
References TChA::CStr(), and TCodecWrapper< TCodecImpl_ >::impl.
{ TChA buf; size_t retVal = impl.FromUnicode(src, srcIdx, srcCount, buf, false); if (clrDest) dest += buf.CStr(); else dest = buf.CStr(); return retVal; }
virtual TStr TCodecWrapper< TCodecImpl_ >::GetName | ( | ) | const [inline, virtual] |
Implements TCodecBase.
Definition at line 383 of file unicode.h.
References TCodecWrapper< TCodecImpl_ >::impl.
{ return impl.GetName(); }
virtual void TCodecWrapper< TCodecImpl_ >::Test | ( | ) | const [inline, virtual] |
Reimplemented from TCodecBase.
Definition at line 385 of file unicode.h.
References TCodecWrapper< TCodecImpl_ >::impl.
{ impl.Test(); }
virtual size_t TCodecWrapper< TCodecImpl_ >::ToUnicode | ( | const TIntV & | src, |
size_t | srcIdx, | ||
const size_t | srcCount, | ||
TIntV & | dest, | ||
const bool | clrDest = true |
||
) | const [inline, virtual] |
Implements TCodecBase.
Definition at line 387 of file unicode.h.
References TCodecWrapper< TCodecImpl_ >::impl.
{ return impl.ToUnicode(src, srcIdx, srcCount, dest, clrDest); }
virtual size_t TCodecWrapper< TCodecImpl_ >::ToUnicode | ( | const TStr & | src, |
size_t | srcIdx, | ||
const size_t | srcCount, | ||
TIntV & | dest, | ||
const bool | clrDest = true |
||
) | const [inline, virtual] |
Implements TCodecBase.
Definition at line 389 of file unicode.h.
References TCodecWrapper< TCodecImpl_ >::impl.
{ return impl.ToUnicode(src, srcIdx, srcCount, dest, clrDest); }
TCodecImpl TCodecWrapper< TCodecImpl_ >::impl |
Definition at line 380 of file unicode.h.
Referenced by TCodecWrapper< TCodecImpl_ >::FromUnicode(), TCodecWrapper< TCodecImpl_ >::GetName(), TCodecWrapper< TCodecImpl_ >::Test(), and TCodecWrapper< TCodecImpl_ >::ToUnicode().