C# Класс Kimono.KCharsets

Наследование: Object, IDisposable
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
interceptor Qyoto.SmokeInvocation

Открытые методы

Метод Описание
AvailableEncodingNames ( ) : List Lists all available encodings as names.
CodecForName ( string name ) : QTextCodec Provided for compatibility. name="name" the name of the codec
CodecForName ( string n, bool ok ) : QTextCodec Tries to find a QTextCodec to convert the given encoding from and to Unicode. If no codec could be found, the ISO 8859-1 codec will be returned an and ok will be set to false. name="ok" true if a matching codec has been found, false if not
DescriptionForEncoding ( string encoding ) : string @brief Returns a long description for an encoding name. name="encoding" the encoding for the language
DescriptiveEncodingNames ( ) : List Lists the available encoding names together with a more descriptive language.
Dispose ( ) : void
EncodingForName ( string descriptiveName ) : string Returns the encoding for a string obtained with descriptiveEncodingNames(). name="descriptiveName" the descriptive name for the encoding
EncodingsByScript ( ) : List> Lists the available encoding names grouped by script (or language that uses them).
FromEntity ( string str ) : QChar @brief Converts an entity to a character. The string must contain only the entity without the trailing ';'. name="str" the entity
FromEntity ( string str, int &len ) : QChar Overloaded member function. Tries to find an entity in the string str. name="str" the string containing entified name="len" is a return value, that gives the length of the decoded entity.
ResolveEntities ( string text ) : string Scans the given string for entities (like &) and resolves them using fromEntity. name="text" the string containing the entities
ToEntity ( QChar ch ) : string Converts a QChar to an entity. The returned string does already contain the leading '&' and the trailing ';'. name="ch" the char to convert

Защищенные методы

Метод Описание
CreateProxy ( ) : void
KCharsets ( Type dummy ) : System

Приватные методы

Метод Описание
KCharsets ( ) : System

Описание методов

AvailableEncodingNames() публичный Метод

Lists all available encodings as names.
public AvailableEncodingNames ( ) : List
Результат List

CodecForName() публичный Метод

Provided for compatibility. name="name" the name of the codec
public CodecForName ( string name ) : QTextCodec
name string
Результат Qyoto.QTextCodec

CodecForName() публичный Метод

Tries to find a QTextCodec to convert the given encoding from and to Unicode. If no codec could be found, the ISO 8859-1 codec will be returned an and ok will be set to false. name="ok" true if a matching codec has been found, false if not
public CodecForName ( string n, bool ok ) : QTextCodec
n string
ok bool
Результат Qyoto.QTextCodec

CreateProxy() защищенный Метод

protected CreateProxy ( ) : void
Результат void

DescriptionForEncoding() публичный Метод

@brief Returns a long description for an encoding name. name="encoding" the encoding for the language
public DescriptionForEncoding ( string encoding ) : string
encoding string
Результат string

DescriptiveEncodingNames() публичный Метод

Lists the available encoding names together with a more descriptive language.
public DescriptiveEncodingNames ( ) : List
Результат List

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

EncodingForName() публичный Метод

Returns the encoding for a string obtained with descriptiveEncodingNames(). name="descriptiveName" the descriptive name for the encoding
public EncodingForName ( string descriptiveName ) : string
descriptiveName string
Результат string

EncodingsByScript() публичный Метод

Lists the available encoding names grouped by script (or language that uses them).
public EncodingsByScript ( ) : List>
Результат List>

FromEntity() публичный статический Метод

@brief Converts an entity to a character. The string must contain only the entity without the trailing ';'. name="str" the entity
public static FromEntity ( string str ) : QChar
str string
Результат Qyoto.QChar

FromEntity() публичный статический Метод

Overloaded member function. Tries to find an entity in the string str. name="str" the string containing entified name="len" is a return value, that gives the length of the decoded entity.
public static FromEntity ( string str, int &len ) : QChar
str string
len int
Результат Qyoto.QChar

KCharsets() защищенный Метод

protected KCharsets ( Type dummy ) : System
dummy System.Type
Результат System

ResolveEntities() публичный статический Метод

Scans the given string for entities (like &) and resolves them using fromEntity. name="text" the string containing the entities
public static ResolveEntities ( string text ) : string
text string
Результат string

ToEntity() публичный статический Метод

Converts a QChar to an entity. The returned string does already contain the leading '&' and the trailing ';'. name="ch" the char to convert
public static ToEntity ( QChar ch ) : string
ch Qyoto.QChar
Результат string

Описание свойств

interceptor защищенное свойство

protected SmokeInvocation,Qyoto interceptor
Результат Qyoto.SmokeInvocation