1any(3)                     Erlang Module Definition                     any(3)
2
3
4

NAME

6       any - the corba any type
7

DESCRIPTION

9       This module contains functions that gives an interface to the CORBA any
10       type.
11
12       Note that the any interface in orber does not contain a  destroy  func‐
13       tion because the any type is represented as an Erlang record and there‐
14       for will be removed by the garbage collector when not in use.
15
16       The type TC used below describes an IDL type and is a  tuple  according
17       to the to the Erlang language mapping.
18
19       The type Any used below is defined as:
20
21       -record(any, {typecode, value}).
22
23       where  typecode  is  a TC tuple and value is an Erlang term of the type
24       defined by the typecode field.
25

EXPORTS

27       create() -> Result
28       create(Typecode, Value) -> Result
29
30              Types:
31
32                 Typecode = TC
33                 Value = term()
34                 Result = Any
35
36              The create/0 function creates an empty any record and  the  cre‐
37              ate/2 function creates an initialized record.
38
39       set_typecode(A, Typecode) -> Result
40
41              Types:
42
43                 A = Any
44                 Typecode = TC
45                 Result = Any
46
47              This  function  sets  the  typecode  of  A and returns a new any
48              record.
49
50       get_typecode(A) -> Result
51
52              Types:
53
54                 A = Any
55                 Result = TC
56
57              This function returns the typecode of A.
58
59       set_value(A, Value) -> Result
60
61              Types:
62
63                 A = Any
64                 Value = term()
65                 Result = Any
66
67              This function sets the value of A and returns a new any record.
68
69       get_value(A) -> Result
70
71              Types:
72
73                 A = Any
74                 Result = term()
75
76              This function returns the value of A.
77
78
79
80Ericsson AB                       orber 4.5.2                           any(3)
Impressum