LangTag.RelationDb¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
Details¶
- class LangTag.RelationDb¶
All the fields in the
LangTag.RelationDb
structure are private to theLangTag.RelationDb
implementation.- classmethod new()¶
- Returns:
a new instance of
LangTag.RelationDb
.- Return type:
Create a new instance of a
LangTag.RelationDb
.
- lookup_lang_from_script(script)¶
- Parameters:
script (
LangTag.Script
) – aLangTag.Script
.- Returns:
a
LangTag.List
containingLangTag.Lang
object.- Return type:
Look up the languages corresponding to the script script.
- lookup_script_from_lang(lang)¶
- Parameters:
lang (
LangTag.Lang
) – aLangTag.Lang
.- Returns:
a
LangTag.List
containingLangTag.Script
objects.- Return type:
Look up the scripts corresponding to the language lang.
- ref()¶
- Returns:
the same relationddb object.
- Return type:
Increases the reference count of self.
- unref()¶
Decreases the reference count of self. when its reference count drops to 0, the object is finalized (i.e. its memory is freed).