Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
any(3)			   Erlang Module Definition			any(3)

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	 func-
       tion 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  cre-
	      ate/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.7.1				any(3)

NAME | DESCRIPTION | EXPORTS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=any&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help