COPASI API  4.40.278
CLocaleString Class Reference

#include <CLocaleString.h>

Public Types

typedef char lchar
 

Public Member Functions

const lcharc_str () const
 
 CLocaleString ()
 
 CLocaleString (const CLocaleString &src)
 
 CLocaleString (const lchar *str)
 
CLocaleStringoperator= (const CLocaleString &rhs)
 
CLocaleStringoperator= (const lchar *str)
 
std::string toUtf8 () const
 
 ~CLocaleString ()
 

Static Public Member Functions

static CLocaleString fromUtf8 (const std::string &utf8)
 

Private Attributes

lcharmpStr
 

Member Typedef Documentation

◆ lchar

typedef char CLocaleString::lchar

Constructor & Destructor Documentation

◆ CLocaleString() [1/3]

CLocaleString::CLocaleString ( )

Referenced by fromUtf8().

◆ CLocaleString() [2/3]

CLocaleString::CLocaleString ( const lchar str)

◆ CLocaleString() [3/3]

CLocaleString::CLocaleString ( const CLocaleString src)

◆ ~CLocaleString()

CLocaleString::~CLocaleString ( )

References free(), and mpStr.

Member Function Documentation

◆ c_str()

const CLocaleString::lchar * CLocaleString::c_str ( ) const

References mpStr.

Referenced by CModel::createEventsForTimeseries().

◆ fromUtf8()

◆ operator=() [1/2]

CLocaleString & CLocaleString::operator= ( const CLocaleString rhs)

References free(), and mpStr.

◆ operator=() [2/2]

CLocaleString & CLocaleString::operator= ( const lchar str)

References free(), and mpStr.

◆ toUtf8()

Member Data Documentation

◆ mpStr

lchar* CLocaleString::mpStr
private

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