tbci_traits.h File Reference

#include "basics.h"

Include dependency graph for tbci_traits.h:

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

Go to the source code of this file.

Namespaces

namespace  TBCI

Classes

class  TBCI::tbci_traits< T >
class  TBCI::tbci_traits< bool >
class  TBCI::tbci_traits< unsigned char >
class  TBCI::tbci_traits< signed short >
class  TBCI::tbci_traits< unsigned short >
class  TBCI::tbci_traits< signed int >
class  TBCI::tbci_traits< unsigned int >
class  TBCI::tbci_traits< signed long >
class  TBCI::tbci_traits< unsigned long >
class  TBCI::tbci_traits< float >
class  TBCI::tbci_traits< double >
class  TBCI::tbci_traits< bool * >
class  TBCI::tbci_traits< signed char * >
class  TBCI::tbci_traits< unsigned char * >
class  TBCI::tbci_traits< signed short * >
class  TBCI::tbci_traits< unsigned short * >
class  TBCI::tbci_traits< signed int * >
class  TBCI::tbci_traits< unsigned int * >
class  TBCI::tbci_traits< signed long * >
class  TBCI::tbci_traits< unsigned long * >
class  TBCI::tbci_traits< float * >
class  TBCI::tbci_traits< double * >
class  TBCI::tbci_traits< void * >
class  TBCI::tbci_traits< long double >
class  TBCI::tbci_traits< long double * >
class  TBCI::tbci_traits< long long >
class  TBCI::tbci_traits< long long * >
class  TBCI::tbci_traits< volatile long >

Defines

#define SPEC_TBCI_TRAITS_ALWAYS_COPY(TYPE)
#define SPEC_TBCI_TRAITS_LOOP_COPY(TYPE)


Detailed Description

some info on the types that we can use to speed up things

Author:
Kurt Garloff <kurt@garloff.de>
Date:
2005-04-20
Version:
Id
tbci_traits.h,v 1.1.2.7 2007/02/18 15:23:43 garloff Exp
License: GNU LGPL
Todo:
Use more ...

Definition in file tbci_traits.h.


Define Documentation

#define SPEC_TBCI_TRAITS_ALWAYS_COPY ( TYPE   ) 

Value:

template <>                                             \
class tbci_traits< TYPE > NOINST                        \
{                                                       \
    public:                                             \
        typedef TYPE refval_type;                       \
        typedef TYPE /*const*/ const_refval_type;       \
        typedef TYPE loop_refval_type;                  \
        typedef TYPE /*const*/ loop_const_refval_type;  \
}
These trivial data types should always be passed by value

Definition at line 56 of file tbci_traits.h.

#define SPEC_TBCI_TRAITS_LOOP_COPY ( TYPE   ) 

Value:

template <>                                             \
class tbci_traits< TYPE > NOINST                        \
{                                                       \
    public:                                             \
        typedef TYPE& refval_type;                      \
        typedef const TYPE& const_refval_type;          \
        typedef TYPE loop_refval_type;                  \
        typedef TYPE /*const*/ loop_const_refval_type;  \
}
For these types, a copy (by value) pays off if accessed multiple times (e.g. in a loop)

Definition at line 71 of file tbci_traits.h.


Generated on Wed Nov 20 09:28:46 2013 for TBCI Numerical high perf. C++ Library by  doxygen 1.5.6