struct Wakame::DictionaryInfo

Overview

Wrapper for the Wakame::Lib::DictionaryInfoT structure holding informations of a dictionary.

Included Modules

Defined in:

wakame/dict_info.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Lib::DictionaryInfoT)) #

[View source]

Instance Method Detail

def charset : String #

Character set of the dictionary.


[View source]
def filename : String #

Filename of the dictionary.


[View source]
def lsize : UInt32 #

This method forwards the call to the underlying Wakame::Lib::DictionaryInfoT structure.

See Wakame::Lib::DictionaryInfoT#lsize for details.


[View source]
def next : DictionaryInfo | Nil #

This method forwards the call to the underlying Wakame::Lib::DictionaryInfoT structure, resolves the pointer returned, and returns the wrapped variant of it.

See Wakame::Lib::DictionaryInfoT#next for details on the underlying value.


[View source]
def pointer : Pointer(Wakame::Lib::DictionaryInfoT) #

Pointer to the underlying structure.


[View source]
def rsize : UInt32 #

This method forwards the call to the underlying Wakame::Lib::DictionaryInfoT structure.

See Wakame::Lib::DictionaryInfoT#rsize for details.


[View source]
def size : UInt32 #

This method forwards the call to the underlying Wakame::Lib::DictionaryInfoT structure.

See Wakame::Lib::DictionaryInfoT#size for details.


[View source]
def system_dic? : Bool #

[View source]

Dictionary type.


[View source]
def unknown_dic? : Bool #

[View source]
def user_dic? : Bool #

[View source]
def version : UInt16 #

This method forwards the call to the underlying Wakame::Lib::DictionaryInfoT structure.

See Wakame::Lib::DictionaryInfoT#version for details.


[View source]