Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

lname_component(3erl) [linux man page]

lname_component(3erl)					     Erlang Module Definition					     lname_component(3erl)

NAME
lname_component - Interface that supports the name pseudo-objects. DESCRIPTION
This interface is a part of the name library, which is used to hide the representation of names. In Orbers Erlang mapping the pseudo-object names and the real IDL names have the same representation but it is desirable that the clients uses the names library so they will not be dependent of the representation. The lname_component interface supports handling of name components e.g. set and get of the struct members. Note that the lname_component interface in orber does not contain a destroy function because the NameComponents are represented as Erlang records and therefor will be removed by the garbage collector when not in use. The type NameComponent used below is defined as: -record('CosNaming_NameComponent', {id, kind=""}). id and kind are strings. The record is defined in the file CosNaming.hrl and it is included with: -include_lib("orber/COSS/CosNaming/CosNaming.hrl"). EXPORTS
create() -> Return Types Return = NameComponent This function returns a new name component. get_id(NameComponent) -> Return Types Return = string() This function returns the id string of a name component. set_id(NameComponent, Id) -> Return Types Id = string() Return = NameComponent This function sets the id string of a name component and returns the component. get_kind(NameComponent) -> Return Types Return = string() This function returns the id string of a name component. set_kind(NameComponent, Kind) -> Return Types Kind = string() Return = NameComponent This function sets the kind string of a name component and returns the component. Ericsson AB orber 3.6.20 lname_component(3erl)

Check Out this Related Man Page

any(3erl)						     Erlang Module Definition							 any(3erl)

NAME
any - the corba any type DESCRIPTION
This module contains functions that gives an interface to the CORBA any type. Note that the any interface in orber does not contain a destroy function because the any type is represented as an Erlang record and there- for will be removed by the garbage collector when not in use. The type TC used below describes an IDL type and is a tuple according to the to the Erlang language mapping. The type Any used below is defined as: -record(any, {typecode, value}). where typecode is a TC tuple and value is an Erlang term of the type defined by the typecode field. EXPORTS
create() -> Result create(Typecode, Value) -> Result Types Typecode = TC Value = term() Result = Any The create/0 function creates an empty any record and the create/2 function creates an initialized record. set_typecode(A, Typecode) -> Result Types A = Any Typecode = TC Result = Any This function sets the typecode of A and returns a new any record. get_typecode(A) -> Result Types A = Any Result = TC This function returns the typecode of A . set_value(A, Value) -> Result Types A = Any Value = term() Result = Any This function sets the value of A and returns a new any record. get_value(A) -> Result Types A = Any Result = term() This function returns the value of A . Ericsson AB orber 3.6.20 any(3erl)
Man Page