GiNaC  1.6.2
Public Member Functions | Public Attributes
GiNaC::return_type_t Struct Reference

To distinguish between different kinds of non-commutative objects. More...

#include <registrar.h>

List of all members.

Public Member Functions

bool operator< (const return_type_t &other) const
 Strict weak ordering (so one can put return_type_t's into a STL container).
bool operator== (const return_type_t &other) const
bool operator!= (const return_type_t &other) const

Public Attributes

std::type_info const * tinfo
 to distinguish between non-commutative objects of different type.
unsigned rl
 to distinguish between non-commutative objects of the same type.

Detailed Description

To distinguish between different kinds of non-commutative objects.

Definition at line 43 of file registrar.h.


Member Function Documentation

bool GiNaC::return_type_t::operator< ( const return_type_t other) const [inline]

Strict weak ordering (so one can put return_type_t's into a STL container).

Definition at line 53 of file registrar.h.

References rl, and tinfo.

bool GiNaC::return_type_t::operator== ( const return_type_t other) const [inline]

Definition at line 59 of file registrar.h.

References rl, and tinfo.

Referenced by operator!=().

bool GiNaC::return_type_t::operator!= ( const return_type_t other) const [inline]

Definition at line 65 of file registrar.h.

References operator==().


Member Data Documentation

std::type_info const* GiNaC::return_type_t::tinfo

to distinguish between non-commutative objects of different type.

Definition at line 46 of file registrar.h.

Referenced by GiNaC::is_clifford_tinfo(), GiNaC::make_return_type_t(), operator<(), operator==(), GiNaC::structure< T, ComparisonPolicy >::return_type_tinfo(), and GiNaC::basic::return_type_tinfo().

to distinguish between non-commutative objects of the same type.

Think of gamma matrices with different represenation labels.

Definition at line 49 of file registrar.h.

Referenced by GiNaC::make_return_type_t(), operator<(), operator==(), GiNaC::structure< T, ComparisonPolicy >::return_type_tinfo(), and GiNaC::basic::return_type_tinfo().


The documentation for this struct was generated from the following file:

This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.