LangTag.RelationDb¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
Details¶
- class LangTag.RelationDb¶
All the fields in the
LangTag.RelationDbstructure are private to theLangTag.RelationDbimplementation.- 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.ListcontainingLangTag.Langobject.- 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.ListcontainingLangTag.Scriptobjects.- 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).