Main Page | Compound List | File List | Compound Members | File Members

rcc_class_t Struct Reference

#include <librcc.h>

List of all members.

Public Attributes

const char * name
const rcc_class_type class_type
const char * defvalue
rcc_class_default_charsetdefcharset
const char * fullname
const unsigned long flags


Detailed Description

Encoding class description. Encoding classes are main concept of LibRCC library. The strings are recoded between different classes (for example in RusXMMS2 project ID3 titles are recoded between ID3 and Output classes). The current encoding of each class can be set using configuration file or API call, otherwise it will be detected automatically using current locale or default encoding.

If the defvalue is not NULL, it provides information about detection of the default encoding. The are following possibilities for that value:

Additionaly it is possible to set special flags to prevent user from modifying class value. It is possible to protect class from changing ether using API, or configuration files.

See also:
rcc_class_default_charset_t

RCC_CLASS_FLAG_CONST

RCC_CLASS_FLAG_SKIP_SAVELOAD

The class type provides information for recoding functions about automatic detection of the class chrset. The encodings of the RCC_CLASS_STANDARD classes will be detected using autoengine (if available for current language. The RCC_CLASS_FS classes are associated with files and encoding will be guessed using find_file.

See also:
rcc_class_type_t


Member Data Documentation

const rcc_class_type rcc_class_t::class_type
 

specifies type of class (Standard, File System, Known)

rcc_class_default_charset* rcc_class_t::defcharset
 

default class encodings. Should be specified on per-language basys

const char* rcc_class_t::defvalue
 

locale variable name or parrent name or multibyte encoding name

const unsigned long rcc_class_t::flags
 

Class flags. (CONST, SKIP_SAVELOAD)

const char* rcc_class_t::fullname
 

Full name of the class

const char* rcc_class_t::name
 

Short class name


The documentation for this struct was generated from the following file:
Generated on Thu Aug 11 01:55:30 2005 for LibRCC by doxygen 1.3.3