SNAP Library, User Reference  2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
T8BitCodec< TEncoding_ > Class Template Reference

List of all members.

Public Types

typedef TEncoding_ TEncoding

Public Member Functions

 T8BitCodec ()
 T8BitCodec (TUnicodeErrorHandling errorHandling_, int replacementChar_=TUniCodec::DefaultReplacementChar)
void Test () const
template<typename TSrcVec , typename TDestCh >
size_t ToUnicode (const TSrcVec &src, size_t srcIdx, const size_t srcCount, TVec< TDestCh > &dest, const bool clrDest=true) const
template<typename TSrcVec , typename TDestCh >
size_t ToUnicode (const TSrcVec &src, TVec< TDestCh > &dest, const bool clrDest=true) const
size_t ToUnicode (const TIntV &src, TIntV &dest, const bool clrDest=true) const
size_t ToUnicode (const TStr &src, TIntV &dest, const bool clrDest=true) const
template<typename TSrcVec , typename TDestVec >
size_t FromUnicode (const TSrcVec &src, size_t srcIdx, const size_t srcCount, TDestVec &dest, const bool clrDest=true) const
template<typename TSrcVec , typename TDestVec >
size_t FromUnicode (const TSrcVec &src, TDestVec &dest, const bool clrDest=true) const
size_t UniToStr (const TIntV &src, size_t srcIdx, const size_t srcCount, TStr &dest, const bool clrDest=true) const
size_t UniToStr (const TIntV &src, TStr &dest, const bool clrDest=true) const

Static Public Member Functions

static TStr GetName ()

Public Attributes

TUnicodeErrorHandling errorHandling
int replacementChar

Protected Types

typedef TUniVecIdx TVecIdx

template<class TEncoding_>
class T8BitCodec< TEncoding_ >


Member Typedef Documentation

template<class TEncoding_>
typedef TEncoding_ T8BitCodec< TEncoding_ >::TEncoding
template<class TEncoding_>
typedef TUniVecIdx T8BitCodec< TEncoding_ >::TVecIdx [protected]

Constructor & Destructor Documentation

template<class TEncoding_>
T8BitCodec< TEncoding_ >::T8BitCodec ( ) [inline]
template<class TEncoding_>
T8BitCodec< TEncoding_ >::T8BitCodec ( TUnicodeErrorHandling  errorHandling_,
int  replacementChar_ = TUniCodec::DefaultReplacementChar 
) [inline]

Member Function Documentation

template<class TEncoding_>
template<typename TSrcVec , typename TDestVec >
size_t T8BitCodec< TEncoding_ >::FromUnicode ( const TSrcVec &  src,
size_t  srcIdx,
const size_t  srcCount,
TDestVec &  dest,
const bool  clrDest = true 
) const [inline]
template<class TEncoding_>
template<typename TSrcVec , typename TDestVec >
size_t T8BitCodec< TEncoding_ >::FromUnicode ( const TSrcVec &  src,
TDestVec &  dest,
const bool  clrDest = true 
) const [inline]
template<class TEncoding_>
static TStr T8BitCodec< TEncoding_ >::GetName ( ) [inline, static]
template<class TEncoding_>
void T8BitCodec< TEncoding_ >::Test ( ) const [inline]
template<class TEncoding_>
template<typename TSrcVec , typename TDestCh >
size_t T8BitCodec< TEncoding_ >::ToUnicode ( const TSrcVec &  src,
size_t  srcIdx,
const size_t  srcCount,
TVec< TDestCh > &  dest,
const bool  clrDest = true 
) const [inline]
template<class TEncoding_>
template<typename TSrcVec , typename TDestCh >
size_t T8BitCodec< TEncoding_ >::ToUnicode ( const TSrcVec &  src,
TVec< TDestCh > &  dest,
const bool  clrDest = true 
) const [inline]
template<class TEncoding_>
size_t T8BitCodec< TEncoding_ >::ToUnicode ( const TIntV src,
TIntV dest,
const bool  clrDest = true 
) const [inline]
template<class TEncoding_>
size_t T8BitCodec< TEncoding_ >::ToUnicode ( const TStr src,
TIntV dest,
const bool  clrDest = true 
) const [inline]
template<class TEncoding_>
size_t T8BitCodec< TEncoding_ >::UniToStr ( const TIntV src,
size_t  srcIdx,
const size_t  srcCount,
TStr dest,
const bool  clrDest = true 
) const [inline]
template<class TEncoding_>
size_t T8BitCodec< TEncoding_ >::UniToStr ( const TIntV src,
TStr dest,
const bool  clrDest = true 
) const [inline]

Member Data Documentation

template<class TEncoding_>
TUnicodeErrorHandling T8BitCodec< TEncoding_ >::errorHandling
template<class TEncoding_>
int T8BitCodec< TEncoding_ >::replacementChar

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