stlab.adobe.com Adobe Systems Incorporated

ABI-Safe type_info
[ABI-Safe Libraries]

Partial re-implementation of standard type_info . As part of namespace version_1 it is guaranteed to remain binary compatible over time. It is a purely static mechanism. In addition, classes must manually register to using the provided macros.

Classes

class  bad_cast
 An exception class thrown during ASL failures to cast. More...
struct  less< adobe::version_1::type_info_t >
 Compares the x and y. Returns true if x precedes y in the implementation√≠s collation order. More...
class  type_info_t
 Partial re-implementation of standard type_info . More...

Defines

#define ADOBE_NAME_TYPE_0(name,...)
#define ADOBE_NAME_TYPE_1(name,...)
#define ADOBE_NAME_TYPE_2(name,...)
#define ADOBE_NAME_TYPE_3(name,...)
#define ADOBE_NAME_TYPE_4(name,...)
#define ADOBE_NAME_TYPE_5(name,...)

Functions

template<typename T >
type_info_t type_info ()
template<typename T >
type_info_t type_info (T &)
template<typename T >
type_info_t type_info (const T &)

Define Documentation

#define ADOBE_NAME_TYPE_0 (   name,
  ... 
)

Register a type for use with manual adobe::version_1::type_info_t . This integer indicates the number of template type parameters. For example: ADOBE_NAME_TYPE_0("string_t:version_1:adobe", adobe::version_1::string_t);.

Definition at line 260 of file typeinfo.hpp.

#define ADOBE_NAME_TYPE_1 (   name,
  ... 
)

Register a type for use with manual adobe::version_1::type_info_t . This integer indicates the number of template type paramters. For example: ADOBE_NAME_TYPE_1("pointer", T0*)

Definition at line 277 of file typeinfo.hpp.

#define ADOBE_NAME_TYPE_2 (   name,
  ... 
)

Register a type for use with manual adobe::version_1::type_info_t . This integer indicates the number of template type paramters. ADOBE_NAME_TYPE_2("closed_hash_map:version_1:adobe", adobe::version_1::closed_hash_map<T0, T1, boost::hash<T0>, std::equal_to<T0> >

Definition at line 295 of file typeinfo.hpp.

#define ADOBE_NAME_TYPE_3 (   name,
  ... 
)

Register a type for use with manual adobe::version_1::type_info_t . This integer indicates the number of template type paramters.

See also:
ADOBE_NAME_TYPE_2

Definition at line 312 of file typeinfo.hpp.

#define ADOBE_NAME_TYPE_4 (   name,
  ... 
)

Register a type for use with manual adobe::version_1::type_info_t . This integer indicates the number of template type paramters.

See also:
ADOBE_NAME_TYPE_2

Definition at line 330 of file typeinfo.hpp.

#define ADOBE_NAME_TYPE_5 (   name,
  ... 
)

Register a type for use with manual adobe::version_1::type_info_t . This integer indicates the number of template type paramters.

See also:
ADOBE_NAME_TYPE_2

Definition at line 348 of file typeinfo.hpp.


Function Documentation

type_info_t adobe::version_1::type_info (  )

retruns the type_info_t object corresponding to the type T

Definition at line 226 of file typeinfo.hpp.

type_info_t adobe::version_1::type_info ( T &   )

retruns the type_info_t object corresponding to the type T

Definition at line 241 of file typeinfo.hpp.

type_info_t adobe::version_1::type_info ( const T &   )

retruns the type_info_t object corresponding to the type T

Definition at line 234 of file typeinfo.hpp.

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google