GiNaC 1.8.7
Public Member Functions | Public Attributes | List of all members
GiNaC::return_type_t Struct Reference

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

#include <registrar.h>

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). More...
 
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. More...
 
unsigned rl
 to distinguish between non-commutative objects of the same type. More...
 

Detailed Description

To distinguish between different kinds of non-commutative objects.

Definition at line 43 of file registrar.h.

Member Function Documentation

◆ operator<()

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.

◆ operator==()

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!=().

◆ 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

◆ tinfo

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::is_color_tinfo(), GiNaC::make_return_type_t(), operator<(), operator==(), and GiNaC::basic::return_type_tinfo().

◆ rl

unsigned GiNaC::return_type_t::rl

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

Think of gamma matrices with different representation labels.

Definition at line 49 of file registrar.h.

Referenced by GiNaC::get_representation_label(), GiNaC::make_return_type_t(), operator<(), operator==(), 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.