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)) #

Instance Method Detail

def charset : String #

Character set of the dictionary.


def filename : String #

Filename of the dictionary.


def lsize : UInt32 #

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

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


def next : DictionaryInfo? #

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.


def pointer : Pointer(Wakame::Lib::DictionaryInfoT) #

Pointer to the underlying structure.


def rsize : UInt32 #

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

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


def size : UInt32 #

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

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


def system_dic? : Bool #

Dictionary type.


def unknown_dic? : Bool #

def user_dic? : Bool #

def version : UInt16 #

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

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