SNAP Library 2.1, Developer Reference
2013-09-25 10:47:25
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 393 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 395 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 397 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 384 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 386 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 388 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 390 of file unicode.h.
References TCodecWrapper< TCodecImpl_ >::impl.
{ return impl.ToUnicode(src, srcIdx, srcCount, dest, clrDest); }
TCodecImpl TCodecWrapper< TCodecImpl_ >::impl |
Definition at line 381 of file unicode.h.
Referenced by TCodecWrapper< TCodecImpl_ >::FromUnicode(), TCodecWrapper< TCodecImpl_ >::GetName(), TCodecWrapper< TCodecImpl_ >::Test(), and TCodecWrapper< TCodecImpl_ >::ToUnicode().