SNAP Library 2.2, Developer Reference  2014-03-11 19:15:55
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TCodecBase Class Reference

#include <unicode.h>

Inheritance diagram for TCodecBase:
Collaboration diagram for TCodecBase:

List of all members.

Public Member Functions

virtual ~TCodecBase ()
virtual TStr GetName () const =0
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 =0
virtual size_t ToUnicode (const TStr &src, size_t srcIdx, const size_t srcCount, TIntV &dest, const bool clrDest=true) const =0
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
virtual size_t FromUnicode (const TIntV &src, size_t srcIdx, const size_t srcCount, TIntV &dest, const bool clrDest=true) const =0
virtual size_t FromUnicode (const TIntV &src, size_t srcIdx, const size_t srcCount, TChA &dest, const bool clrDest=true) const =0
virtual size_t FromUnicode (const TIntV &src, size_t srcIdx, const size_t srcCount, TStr &dest, const bool clrDest=true) const =0
size_t FromUnicode (const TIntV &src, TIntV &dest, const bool clrDest=true) const
size_t FromUnicode (const TIntV &src, TChA &dest, const bool clrDest=true) const
size_t FromUnicode (const TIntV &src, TStr &dest, const bool clrDest=true) const

Static Public Member Functions

template<class TCodecImpl >
static PCodecBase New ()

Protected Attributes

TCRef CRef

Friends

class TPt< TCodecBase >

Detailed Description

Definition at line 332 of file unicode.h.


Constructor & Destructor Documentation

virtual TCodecBase::~TCodecBase ( ) [inline, virtual]

Definition at line 338 of file unicode.h.

{ }

Member Function Documentation

virtual size_t TCodecBase::FromUnicode ( const TIntV src,
size_t  srcIdx,
const size_t  srcCount,
TIntV dest,
const bool  clrDest = true 
) const [pure virtual]
virtual size_t TCodecBase::FromUnicode ( const TIntV src,
size_t  srcIdx,
const size_t  srcCount,
TChA dest,
const bool  clrDest = true 
) const [pure virtual]
virtual size_t TCodecBase::FromUnicode ( const TIntV src,
size_t  srcIdx,
const size_t  srcCount,
TStr dest,
const bool  clrDest = true 
) const [pure virtual]
size_t TCodecBase::FromUnicode ( const TIntV src,
TIntV dest,
const bool  clrDest = true 
) const [inline]

Definition at line 361 of file unicode.h.

References FromUnicode(), and TVec< TVal, TSizeTy >::Len().

Referenced by FromUnicode().

{ return FromUnicode(src, 0, src.Len(), dest, clrDest); }

Here is the call graph for this function:

Here is the caller graph for this function:

size_t TCodecBase::FromUnicode ( const TIntV src,
TChA dest,
const bool  clrDest = true 
) const [inline]

Definition at line 362 of file unicode.h.

References FromUnicode(), and TVec< TVal, TSizeTy >::Len().

Referenced by FromUnicode().

{ return FromUnicode(src, 0, src.Len(), dest, clrDest); }

Here is the call graph for this function:

Here is the caller graph for this function:

size_t TCodecBase::FromUnicode ( const TIntV src,
TStr dest,
const bool  clrDest = true 
) const [inline]

Definition at line 363 of file unicode.h.

References FromUnicode(), and TVec< TVal, TSizeTy >::Len().

Referenced by FromUnicode().

{ return FromUnicode(src, 0, src.Len(), dest, clrDest); }

Here is the call graph for this function:

Here is the caller graph for this function:

virtual TStr TCodecBase::GetName ( ) const [pure virtual]
template<class TCodecImpl >
PCodecBase TCodecBase::New ( ) [static]

Definition at line 404 of file unicode.h.

                           {
  return new TCodecWrapper<TCodecImpl>();
}
virtual void TCodecBase::Test ( ) const [inline, virtual]

Reimplemented in TCodecWrapper< TCodecImpl_ >.

Definition at line 345 of file unicode.h.

{ }
virtual size_t TCodecBase::ToUnicode ( const TIntV src,
size_t  srcIdx,
const size_t  srcCount,
TIntV dest,
const bool  clrDest = true 
) const [pure virtual]
virtual size_t TCodecBase::ToUnicode ( const TStr src,
size_t  srcIdx,
const size_t  srcCount,
TIntV dest,
const bool  clrDest = true 
) const [pure virtual]
size_t TCodecBase::ToUnicode ( const TIntV src,
TIntV dest,
const bool  clrDest = true 
) const [inline]

Definition at line 352 of file unicode.h.

References TVec< TVal, TSizeTy >::Len(), and ToUnicode().

Referenced by ToUnicode().

{ return ToUnicode(src, 0, src.Len(), dest, clrDest); }

Here is the call graph for this function:

Here is the caller graph for this function:

size_t TCodecBase::ToUnicode ( const TStr src,
TIntV dest,
const bool  clrDest = true 
) const [inline]

Definition at line 353 of file unicode.h.

References TStr::Len(), and ToUnicode().

Referenced by ToUnicode().

{ return ToUnicode(src, 0, src.Len(), dest, clrDest); }

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class TPt< TCodecBase > [friend]

Definition at line 336 of file unicode.h.


Member Data Documentation

TCRef TCodecBase::CRef [protected]

Definition at line 335 of file unicode.h.


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