# Any.h File Reference

`#include "tao/CORBA_methods.h"`
`#include "tao/Pseudo_VarOut_T.h"`
`#include "tao/Arg_Traits_T.h"`
`#include "ace/CDR_Stream.h"`
`#include "ace/CORBA_macros.h"`

Include dependency graph for Any.h:

This graph shows which files directly or indirectly include this file:

## Namespaces

namespace | TAO
namespace | CORBA

## Classes

class | CORBA::Any
| Generic container for IDL types. More...
struct | CORBA::Any::to_object
| These are not in ACE. More...
struct | CORBA::Any::to_abstract_base
struct | CORBA::Any::to_value
class | CORBA::Any_var
class | CORBA::Any_out

## Typedefs

typedef Any * | Any_ptr
typedef TypeCode * | TypeCode_ptr
typedef AbstractBase * | AbstractBase_ptr

## Functions

TAO_Export CORBA::Boolean | operator<< (TAO_OutputCDR &, const CORBA::Any &)
TAO_Export CORBA::Boolean | operator>> (TAO_InputCDR &, CORBA::Any &)
TAO_Export void | operator<<= (CORBA::Any &, CORBA::Short)
| Typesafe insertion.
TAO_Export void | operator<<= (CORBA::Any &, CORBA::UShort)
TAO_Export void | operator<<= (CORBA::Any &, CORBA::Long)
TAO_Export void | operator<<= (CORBA::Any &, CORBA::ULong)
TAO_Export void | operator<<= (CORBA::Any &, CORBA::Float)
TAO_Export void | operator<<= (CORBA::Any &, CORBA::Double)
TAO_Export void | operator<<= (CORBA::Any &, const CORBA::Any &)
TAO_Export void | operator<<= (CORBA::Any &, CORBA::Any *)
TAO_Export void | operator<<= (CORBA::Any &, const char *)
TAO_Export void | operator<<= (CORBA::Any &, const CORBA::WChar *)
TAO_Export void | operator<<= (CORBA::Any &, CORBA::TypeCode_ptr)
TAO_Export void | operator<<= (CORBA::Any &, CORBA::TypeCode_ptr *)
TAO_Export void | operator<<= (CORBA::Any &, const CORBA::Object_ptr)
TAO_Export void | operator<<= (CORBA::Any &, CORBA::Object_ptr *)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any &, CORBA::Short &)
| Typesafe extraction.
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any &, CORBA::UShort &)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any &, CORBA::Long &)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any &, CORBA::ULong &)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any &, CORBA::LongLong &)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any &, CORBA::ULongLong &)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any &, CORBA::Float &)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any &, CORBA::Double &)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any &, CORBA::LongDouble &)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any &, const CORBA::Any *&)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any &, CORBA::TypeCode_ptr &)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any &, const CORBA::Char *&)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any &, const CORBA::WChar *&)
TAO_Export void | operator<<= (CORBA::Any_var &, CORBA::Short)
TAO_Export void | operator<<= (CORBA::Any_var &, CORBA::UShort)
TAO_Export void | operator<<= (CORBA::Any_var &, CORBA::Long)
TAO_Export void | operator<<= (CORBA::Any_var &, CORBA::ULong)
TAO_Export void | operator<<= (CORBA::Any_var &, CORBA::Float)
TAO_Export void | operator<<= (CORBA::Any_var &, CORBA::Double)
TAO_Export void | operator<<= (CORBA::Any_var &, const CORBA::Any *&)
TAO_Export void | operator<<= (CORBA::Any_var &, const char *)
TAO_Export void | operator<<= (CORBA::Any_var &, CORBA::TypeCode_ptr)
TAO_Export void | operator<<= (CORBA::Any_var &, const CORBA::Object_ptr)
TAO_Export void | operator<<= (CORBA::Any_var &, CORBA::Any::from_boolean)
TAO_Export void | operator<<= (CORBA::Any_var &, CORBA::Any::from_char)
TAO_Export void | operator<<= (CORBA::Any_var &, CORBA::Any::from_wchar)
TAO_Export void | operator<<= (CORBA::Any_var &, CORBA::Any::from_octet)
TAO_Export void | operator<<= (CORBA::Any_var &, CORBA::Any::from_string)
TAO_Export void | operator<<= (CORBA::Any_var &, CORBA::Any::from_wstring)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any_var &, CORBA::Short &)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any_var &, CORBA::UShort &)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any_var &, CORBA::Long &)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any_var &, CORBA::ULong &)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any_var &, CORBA::LongLong &)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any_var &, CORBA::ULongLong &)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any_var &, CORBA::Float &)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any_var &, CORBA::Double &)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any_var &, CORBA::Any &)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any_var &, CORBA::TypeCode_ptr &)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any_var &, const char *&)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any_var &, const CORBA::WChar *&)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any_var &, CORBA::Any::to_boolean)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any_var &, CORBA::Any::to_octet)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any_var &, CORBA::Any::to_char)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any_var &, CORBA::Any::to_wchar)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any_var &, CORBA::Any::to_string)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any_var &, CORBA::Any::to_wstring)
TAO_Export CORBA::Boolean | operator>>= (const CORBA::Any_var &, CORBA::Any::to_object)

## Detailed Description

Id
  Any.h,v 1.92 2005/07/15 10:35:38 jwillemsen Exp

Author:
  Carlos O'Ryan

  Jeff Parsons

## Typedef Documentation

typedef AbstractBase * CORBA::AbstractBase_ptr

typedef Any * CORBA::Any_ptr

typedef TypeCode * CORBA::TypeCode_ptr

## Function Documentation

TAO_Export CORBA::Boolean operator<< | ( | TAO_OutputCDR & | ,
|  | const CORBA::Any & |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any_var & | ,
|  | CORBA::Any::from_wstring |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any_var & | ,
|  | CORBA::Any::from_string |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any_var & | ,
|  | CORBA::Any::from_octet |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any_var & | ,
|  | CORBA::Any::from_wchar |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any_var & | ,
|  | CORBA::Any::from_char |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any_var & | ,
|  | CORBA::Any::from_boolean |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any_var & | ,
|  | const CORBA::Object_ptr |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any_var & | ,
|  | CORBA::TypeCode_ptr |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any_var & | ,
|  | const char * |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any_var & | ,
|  | const CORBA::Any *& |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any_var & | ,
|  | CORBA::Double |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any_var & | ,
|  | CORBA::Float |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any_var & | ,
|  | CORBA::ULong |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any_var & | ,
|  | CORBA::Long |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any_var & | ,
|  | CORBA::UShort |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any_var & | ,
|  | CORBA::Short |
| ) |

| Copying versions of insertion operators for basic types must also be defined for CORBA::Any_var.

TAO_Export void operator<<= | ( | CORBA::Any & | ,
|  | CORBA::Object_ptr * |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any & | ,
|  | const CORBA::Object_ptr |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any & | ,
|  | CORBA::TypeCode_ptr * |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any & | ,
|  | CORBA::TypeCode_ptr |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any & | ,
|  | const CORBA::WChar * |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any & | ,
|  | const char * |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any & | ,
|  | CORBA::Any * |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any & | ,
|  | const CORBA::Any & |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any & | ,
|  | CORBA::Double |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any & | ,
|  | CORBA::Float |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any & | ,
|  | CORBA::ULong |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any & | ,
|  | CORBA::Long |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any & | ,
|  | CORBA::UShort |
| ) |

TAO_Export void operator<<= | ( | CORBA::Any & | ,
|  | CORBA::Short |
| ) |

| Typesafe insertion.

TAO_Export CORBA::Boolean operator>> | ( | TAO_InputCDR & | ,
|  | CORBA::Any & |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any_var & | ,
|  | CORBA::Any::to_object |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any_var & | ,
|  | CORBA::Any::to_wstring |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any_var & | ,
|  | CORBA::Any::to_string |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any_var & | ,
|  | CORBA::Any::to_wchar |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any_var & | ,
|  | CORBA::Any::to_char |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any_var & | ,
|  | CORBA::Any::to_octet |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any_var & | ,
|  | CORBA::Any::to_boolean |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any_var & | ,
|  | const CORBA::WChar *& |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any_var & | ,
|  | const char *& |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any_var & | ,
|  | CORBA::TypeCode_ptr & |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any_var & | ,
|  | CORBA::Any & |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any_var & | ,
|  | CORBA::Double & |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any_var & | ,
|  | CORBA::Float & |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any_var & | ,
|  | CORBA::ULongLong & |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any_var & | ,
|  | CORBA::LongLong & |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any_var & | ,
|  | CORBA::ULong & |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any_var & | ,
|  | CORBA::Long & |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any_var & | ,
|  | CORBA::UShort & |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any_var & | ,
|  | CORBA::Short & |
| ) |

| These are not required by the spec, but will make users of other ORBs that are used to them more comfortable.

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any & | ,
|  | const CORBA::WChar *& |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any & | ,
|  | const CORBA::Char *& |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any & | ,
|  | CORBA::TypeCode_ptr & |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any & | ,
|  | const CORBA::Any *& |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any & | ,
|  | CORBA::LongDouble & |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any & | ,
|  | CORBA::Double & |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any & | ,
|  | CORBA::Float & |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any & | ,
|  | CORBA::ULongLong & |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any & | ,
|  | CORBA::LongLong & |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any & | ,
|  | CORBA::ULong & |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any & | ,
|  | CORBA::Long & |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any & | ,
|  | CORBA::UShort & |
| ) |

TAO_Export CORBA::Boolean operator>>= | ( | const CORBA::Any & | ,
|  | CORBA::Short & |
| ) |

| Typesafe extraction.