orber_tc(3)
orber_tc(3) β Erlang Module Definition, bestie β¨
okay so you found the manual page for orber_tc, and honestly? iconic. It's the help functions for IDL typecodes, and we're gonna get through every single function together. no cap. π
π NAME π
orber_tc β Help functions for IDL typecodes
π¦ DESCRIPTION π¦
This module contains some functions that gives support in creating IDL typecodes that can be used in for example the any types typecode field. For the simple types it is meaningless to use this API but the functions exist to get the interface complete.
The type TC used below describes an IDL type and is a tuple according to the to the Erlang language mapping. (yes, the original really says βto the to theβ and we respect the lore ππ«Ά)
β¨ EXPORTS β¨
null() -> TCvoid() -> TCshort() -> TCunsigned_short() -> TClong() -> TCunsigned_long() -> TClong_long() -> TCunsigned_long_long() -> TCwchar() -> TCfloat() -> TCdouble() -> TCboolean() -> TCchar() -> TCoctet() -> TCany() -> TCtypecode() -> TCprincipal() -> TC
These functions return the IDL typecodes for simple types.
object_reference(Id, Name) -> TC- Types:
Id = string()β the repository IDName = string()β the type name of the object
- Function returns the IDL typecode for
object_reference.
- Types:
struct(Id, Name, ElementList) -> TC- Types:
Id = string()β the repository IDName = string()β the type name of the structElementList = [{MemberName, TC}]β a list of the struct elementsMemberName = string()β the element name
- Function returns the IDL typecode for
struct.
- Types:
union(Id, Name, DiscrTC, Default, ElementList) -> TC- Types:
Id = string()β the repository IDName = string()β the type name of the unionDiscrTC = TCβ the typecode for the unions discriminantDefault = integer()β a value that indicates which tuple in the element list that is default (value < 0means no default)ElementList = [{Label, MemberName, TC}]β a list of the union elementsLabel = term()β the label value should be of the DiscrTCtypeMemberName = string()β the element name
- Function returns the IDL typecode for
union.
- Types:
enum(Id, Name, ElementList) -> TC- Types:
Id = string()β the repository IDName = string()β the type name of the enumElementList = [MemberName]β a list of the enums elementsMemberName = string()β the element name
- Function returns the IDL typecode for
enum.
- Types:
string(Length) -> TC- Types:
Length = integer()β the length of the string (0means unbounded)
- Function returns the IDL typecode for
string.
- Types:
wstring(Length) -> TC- Types:
Length = integer()β the length of the wstring (0means unbounded)
- Function returns the IDL typecode for
wstring.
- Types:
fixed(Digits, Scale) -> TC- Types:
Digits = Scale = integer()β the digits and scale parameters of aFixedtype
- Function returns the IDL typecode for
fixed.
- Types:
sequence(ElemTC, Length) -> TC- Types:
ElemTC = TCβ the typecode for the sequence elementsLength = integer()β the length of the sequence (0means unbounded)
- Function returns the IDL typecode for
sequence.
- Types:
array(ElemTC, Length) -> TC- Types:
ElemTC = TCβ the typecode for the array elementsLength = integer()β the length of the array
- Function returns the IDL typecode for
array.
- Types:
alias(Id, Name, AliasTC) -> TC- Types:
Id = string()β the repository IDName = string()β the type name of the aliasAliasTC = TCβ the typecode for the type which the alias refer to
- Function returns the IDL typecode for
alias.
- Types:
exception(Id, Name, ElementList) -> TC- Types:
Id = string()β the repository IDName = string()β the type name of the exceptionElementList = [{MemberName, TC}]β a list of the exception elementsMemberName = string()β the element name
- Function returns the IDL typecode for
exception.
- Types:
get_tc(Object) -> TC/get_tc(Id) -> TC- Types:
Object = record()β an IDL specified struct, union or exceptionId = string()β the repository ID
- If the
get_tc/1gets a record that is and IDL specified struct, union or exception as a parameter it returns the typecode. - If the parameter is a repository ID it uses the Interface Repository to get the typecode.
- Types:
check_tc(TC) -> boolean()- Function checks the syntax of an IDL typecode.
later bestie π this page was served to you by Ericsson AB, orber 5.2.2, and the manual page orber_tc(3). periodt. π
π¦ where this page comes from
- fedora 43: erlang-orber 1:5.2.2-1.fc43 Β· Apache-2.0
- fedora 44: erlang-orber 1:5.2.2-1.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms