GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
codecvt_u8 Class Reference

#include "oct-string.h"

Inheritance diagram for codecvt_u8:
Collaboration diagram for codecvt_u8:

Public Types

typedef char ExternT
 
typedef char InternT
 
typedef std::mbstate_t StateT
 

Public Member Functions

 codecvt_u8 (codecvt_u8 &)=delete
 
 codecvt_u8 (const std::string &enc)
 
virtual ~codecvt_u8 ()
 
codecvt_u8operator= (codecvt_u8 &)=delete
 

Private Member Functions

bool do_always_noconv () const throw ()
 
int do_encoding () const throw ()
 
OCTAVE_API std::codecvt< InternT, ExternT, StateT >::result do_in (StateT &state, const ExternT *from, const ExternT *from_end, const ExternT *&from_next, InternT *to, InternT *to_end, InternT *&to_next) const
 
OCTAVE_API int do_length (StateT &state, const ExternT *src, const ExternT *end, std::size_t max) const
 
int do_max_length () const throw ()
 
OCTAVE_API std::codecvt< InternT, ExternT, StateT >::result do_out (StateT &state, const InternT *from, const InternT *from_end, const InternT *&from_next, ExternT *to, ExternT *to_end, ExternT *&to_next) const
 
std::codecvt< InternT, ExternT, StateT >::result do_unshift (StateT &, ExternT *to, ExternT *, ExternT *&to_next) const
 

Private Attributes

std::string m_enc
 

Detailed Description

Definition at line 175 of file oct-string.h.

Member Typedef Documentation

◆ ExternT

typedef char codecvt_u8::ExternT

Definition at line 194 of file oct-string.h.

◆ InternT

typedef char codecvt_u8::InternT

Definition at line 193 of file oct-string.h.

◆ StateT

typedef std::mbstate_t codecvt_u8::StateT

Definition at line 195 of file oct-string.h.

Constructor & Destructor Documentation

◆ codecvt_u8() [1/2]

codecvt_u8::codecvt_u8 ( codecvt_u8 )
delete

◆ codecvt_u8() [2/2]

codecvt_u8::codecvt_u8 ( const std::string &  enc)
inline

Definition at line 187 of file oct-string.h.

◆ ~codecvt_u8()

virtual codecvt_u8::~codecvt_u8 ( )
inlinevirtual

Definition at line 191 of file oct-string.h.

Member Function Documentation

◆ do_always_noconv()

bool codecvt_u8::do_always_noconv ( ) const
throw (
)
inlineprivate

Definition at line 228 of file oct-string.h.

◆ do_encoding()

int codecvt_u8::do_encoding ( ) const
throw (
)
inlineprivate

Definition at line 222 of file oct-string.h.

◆ do_in()

OCTAVE_API std::codecvt<InternT, ExternT, StateT>::result codecvt_u8::do_in ( StateT state,
const ExternT from,
const ExternT from_end,
const ExternT *&  from_next,
InternT to,
InternT to_end,
InternT *&  to_next 
) const
private

◆ do_length()

OCTAVE_API int codecvt_u8::do_length ( StateT state,
const ExternT src,
const ExternT end,
std::size_t  max 
) const
private

◆ do_max_length()

int codecvt_u8::do_max_length ( ) const
throw (
)
inlineprivate

Definition at line 238 of file oct-string.h.

◆ do_out()

OCTAVE_API std::codecvt<InternT, ExternT, StateT>::result codecvt_u8::do_out ( StateT state,
const InternT from,
const InternT from_end,
const InternT *&  from_next,
ExternT to,
ExternT to_end,
ExternT *&  to_next 
) const
private

◆ do_unshift()

std::codecvt<InternT, ExternT, StateT>::result codecvt_u8::do_unshift ( StateT ,
ExternT to,
ExternT ,
ExternT *&  to_next 
) const
inlineprivate

Definition at line 212 of file oct-string.h.

◆ operator=()

codecvt_u8& codecvt_u8::operator= ( codecvt_u8 )
delete

Member Data Documentation

◆ m_enc

std::string codecvt_u8::m_enc
private

Definition at line 244 of file oct-string.h.


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