Man Linux: Main Page and Category List

NAME

       SbTypeInfo -

SYNOPSIS

Detailed Description

   template<typename T> class SbTypeInfo< T >
       a type information library for Coin types and their relations.

       Inventor/SbTypeInfo.h SbTypeInfo<> makes it possible to write generic
       code using Coin types that is able to adjust itself to the parameter
       types used. Usually you would be able to do that quite easily if the
       Sb-classes had been template classes of Type and Dimension arguments.
       This type library makes it possible to work around that lack of
       genericity by looking up type relationships instead.

       Certain inside types of SbTypeInfo<> are always defined. Others will
       only be defined if the template argument type is of certain
       characteristics.

       Type is the type the SbTypeInfo<>-specialization is for. It is always
       defined.

       ParamType is a type deemed to be efficient for function parameter
       transfer. It is always defined.

       If the type is a primitive type that has a corresponding class that is
       a two-dimensional vector of that type, then the Vec2Type type will be
       defined. If there is a three-dimensional vector of that type, then
       Vec3Type will be defined, and similarly for Vec4Type.

       If the type is a primitive type that has a corresponding class that is
       a two-dimensional box class of that type, then the Box2Type type will
       be defined, and similarly for Box3Type.

       [more to come]

       Since:
           Coin 2.5

   Public Types
       typedef T Type
       typedef const T & ParamType

Author

       Generated automatically by Doxygen for Coin from the source code.