UAInspector v0.19.0 UAInspector.ShortCodeMap behaviour View Source
Basic short code map module providing minimal functions.
Link to this section Summary
Callbacks
Returns the local filename for this map
Returns the remote path for this map
Converts a raw entry to its ets representation
Returns the long representation for a short name
Returns the short representation for a long name
Returns a name representation for this map
Returns a type representation for this map
Link to this section Callbacks
file_local()
View Source
file_local() :: String.t()
file_local() :: String.t()
Returns the local filename for this map.
file_remote()
View Source
file_remote() :: String.t()
file_remote() :: String.t()
Returns the remote path for this map.
to_ets(entry) View Source
Converts a raw entry to its ets representation.
If necessary a data conversion is made from the raw data passed directly out of the database file and the actual data needed when querying the database.
to_long(arg0) View Source
Returns the long representation for a short name.
Unknown names are returned unmodified.
to_short(arg0) View Source
Returns the short representation for a long name.
Unknown names are returned unmodified.
var_name()
View Source
var_name() :: String.t()
var_name() :: String.t()
Returns a name representation for this map.
var_type()
View Source
var_type() :: :hash | :list
var_type() :: :hash | :list
Returns a type representation for this map.