Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
CConverterType Class Reference
Inheritance diagram for CConverterType:
CCriticalSection XbmcThreads::CountingLockable< XbmcThreads::CRecursiveMutex >

Public Member Functions

 CConverterType (const std::string &sourceCharset, const std::string &targetCharset, unsigned int targetSingleCharMaxLen=1)
 
 CConverterType (enum SpecialCharset sourceSpecialCharset, const std::string &targetCharset, unsigned int targetSingleCharMaxLen=1)
 
 CConverterType (const std::string &sourceCharset, enum SpecialCharset targetSpecialCharset, unsigned int targetSingleCharMaxLen=1)
 
 CConverterType (enum SpecialCharset sourceSpecialCharset, enum SpecialCharset targetSpecialCharset, unsigned int targetSingleCharMaxLen=1)
 
 CConverterType (const CConverterType &other)
 
 ~CConverterType ()
 
iconv_t GetConverter (CSingleLock &converterLock)
 
void Reset (void)
 
void ReinitTo (const std::string &sourceCharset, const std::string &targetCharset, unsigned int targetSingleCharMaxLen=1)
 
std::string GetSourceCharset (void) const
 
std::string GetTargetCharset (void) const
 
unsigned int GetTargetSingleCharMaxLen (void) const
 
- Public Member Functions inherited from XbmcThreads::CountingLockable< XbmcThreads::CRecursiveMutex >
 CountingLockable ()=default
 
void lock ()
 
bool try_lock ()
 
void unlock ()
 
unsigned int exit (unsigned int leave=0)
 
void restore (unsigned int restoreCount)
 
XbmcThreads::CRecursiveMutex & get_underlying ()
 

Additional Inherited Members

- Protected Attributes inherited from XbmcThreads::CountingLockable< XbmcThreads::CRecursiveMutex >
XbmcThreads::CRecursiveMutex mutex
 
unsigned int count
 

Constructor & Destructor Documentation

◆ CConverterType() [1/5]

CConverterType::CConverterType ( const std::string &  sourceCharset,
const std::string &  targetCharset,
unsigned int  targetSingleCharMaxLen = 1 
)

◆ CConverterType() [2/5]

CConverterType::CConverterType ( enum SpecialCharset  sourceSpecialCharset,
const std::string &  targetCharset,
unsigned int  targetSingleCharMaxLen = 1 
)

◆ CConverterType() [3/5]

CConverterType::CConverterType ( const std::string &  sourceCharset,
enum SpecialCharset  targetSpecialCharset,
unsigned int  targetSingleCharMaxLen = 1 
)

◆ CConverterType() [4/5]

CConverterType::CConverterType ( enum SpecialCharset  sourceSpecialCharset,
enum SpecialCharset  targetSpecialCharset,
unsigned int  targetSingleCharMaxLen = 1 
)

◆ CConverterType() [5/5]

CConverterType::CConverterType ( const CConverterType other)

◆ ~CConverterType()

CConverterType::~CConverterType ( )

Member Function Documentation

◆ GetConverter()

iconv_t CConverterType::GetConverter ( CSingleLock converterLock)

◆ GetSourceCharset()

std::string CConverterType::GetSourceCharset ( void  ) const
inline

◆ GetTargetCharset()

std::string CConverterType::GetTargetCharset ( void  ) const
inline

◆ GetTargetSingleCharMaxLen()

unsigned int CConverterType::GetTargetSingleCharMaxLen ( void  ) const
inline

◆ ReinitTo()

void CConverterType::ReinitTo ( const std::string &  sourceCharset,
const std::string &  targetCharset,
unsigned int  targetSingleCharMaxLen = 1 
)

◆ Reset()

void CConverterType::Reset ( void  )

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