| The Gaudi Framework v30r0 (c919700c)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Private Attributes | Friends | List of all members
Gaudi::tagged_bool_ns::tagged_bool< Tag > Class Template Reference

`#include <GaudiKernel/TaggedBool.h>`

## Public Member Functions
constexpr | tagged_bool (bool v)
constexpr | tagged_bool (int)=delete
constexpr | tagged_bool (double)=delete
constexpr | tagged_bool (void *)=delete
template<typename OtherTag >
constexpr | tagged_bool (tagged_bool< OtherTag > b)
constexpr | operator bool () const
constexpr tagged_bool | operator! () const

## Private Attributes
bool | value

## Friends
template<typename >
class | tagged_bool
constexpr bool | operator== (tagged_bool l, tagged_bool r)
constexpr bool | operator!= (tagged_bool l, tagged_bool r)

## Detailed Description

### template<typename Tag>
class Gaudi::tagged_bool_ns::tagged_bool< Tag >

Definition at line 18 of file TaggedBool.h.

## Constructor & Destructor Documentation

template<typename Tag>

constexpr Gaudi::tagged_bool_ns::tagged_bool< Tag >::tagged_bool | ( | bool | v | ) |
| inline explicit

Definition at line 25 of file TaggedBool.h.

25 : value{v} {}
Gaudi::tagged_bool_ns::tagged_bool::value
bool value
Definition: TaggedBool.h:20
template<typename Tag>

constexpr Gaudi::tagged_bool_ns::tagged_bool< Tag >::tagged_bool | ( | int |  | ) |
| explicit delete

template<typename Tag>

constexpr Gaudi::tagged_bool_ns::tagged_bool< Tag >::tagged_bool | ( | double |  | ) |
| explicit delete

template<typename Tag>

constexpr Gaudi::tagged_bool_ns::tagged_bool< Tag >::tagged_bool | ( | void * |  | ) |
| explicit delete

template<typename Tag>
template<typename OtherTag >

constexpr Gaudi::tagged_bool_ns::tagged_bool< Tag >::tagged_bool | ( | tagged_bool< OtherTag > | b | ) |
| inline explicit

Definition at line 32 of file TaggedBool.h.

32 : value{b.value}
33 {
34 }
Gaudi::tagged_bool_ns::tagged_bool::value
bool value
Definition: TaggedBool.h:20

## Member Function Documentation

template<typename Tag>

constexpr Gaudi::tagged_bool_ns::tagged_bool< Tag >::operator bool | ( |  | ) | const
| inline explicit

Definition at line 36 of file TaggedBool.h.

36 { return value; }
Gaudi::tagged_bool_ns::tagged_bool::value
bool value
Definition: TaggedBool.h:20
template<typename Tag>

constexpr tagged_bool Gaudi::tagged_bool_ns::tagged_bool< Tag >::operator! | ( |  | ) | const
| inline

Definition at line 37 of file TaggedBool.h.

37 { return tagged_bool{!value}; }
Gaudi::tagged_bool_ns::tagged_bool::tagged_bool
friend class tagged_bool
Definition: TaggedBool.h:22
Gaudi::tagged_bool_ns::tagged_bool::value
bool value
Definition: TaggedBool.h:20

## Friends And Related Function Documentation

template<typename Tag>

constexpr bool operator!= | ( | tagged_bool< Tag > | l,
|  | tagged_bool< Tag > | r
| ) |  |
| friend

Definition at line 40 of file TaggedBool.h.

40 { return l.value != r.value; }
gaudirun.l
dictionary l
Definition: gaudirun.py:440
template<typename Tag>

constexpr bool operator== | ( | tagged_bool< Tag > | l,
|  | tagged_bool< Tag > | r
| ) |  |
| friend

Definition at line 39 of file TaggedBool.h.

39 { return l.value == r.value; }
gaudirun.l
dictionary l
Definition: gaudirun.py:440
template<typename Tag>
template<typename >

friend class tagged_bool
| friend

Definition at line 22 of file TaggedBool.h.

## Member Data Documentation

template<typename Tag>

bool Gaudi::tagged_bool_ns::tagged_bool< Tag >::value
| private

Definition at line 20 of file TaggedBool.h.

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

- GaudiKernel/GaudiKernel/TaggedBool.h