ATLAS Offline Software
Public Types | Public Member Functions | Protected Attributes | List of all members
Identifier_Gpu Class Reference

#include <Identifier_g.h>

Collaboration diagram for Identifier_Gpu:

Public Types

enum  bit_defs_enum { NBITS = sizeof( value_type ) * 8, MAX_BIT = ( static_cast<value_type>( 1 ) << ( NBITS - 1 ) ), ALL_BITS = ~( static_cast<value_type>( 0 ) ) }
 
enum  max_value_type_enum { max_value = ~( static_cast<value_type>( 0 ) ) }
 
typedef long long value_type
 
typedef enum Identifier_Gpu::bit_defs_enum bit_defs
 
typedef enum Identifier_Gpu::max_value_type_enum max_value_type
 

Public Member Functions

CUDA_HOSTDEV Identifier_Gpu ()
 
CUDA_HOSTDEV Identifier_Gpu (const Identifier_Gpu &value)
 
CUDA_HOSTDEV Identifier_Gpu (value_type value)
 
CUDA_HOSTDEV operator value_type () const
 
CUDA_HOSTDEV Identifier_Gpuoperator= (const Identifier_Gpu &old)
 
CUDA_HOSTDEV Identifier_Gpuoperator= (value_type value)
 
CUDA_HOSTDEV bool operator== (const Identifier_Gpu &other) const
 
CUDA_HOSTDEV bool operator!= (const Identifier_Gpu &other) const
 
CUDA_HOSTDEV bool operator< (const Identifier_Gpu &other) const
 
CUDA_HOSTDEV bool operator> (const Identifier_Gpu &other) const
 
CUDA_HOSTDEV bool operator<= (const Identifier_Gpu &other) const
 
CUDA_HOSTDEV bool operator>= (const Identifier_Gpu &other) const
 
CUDA_HOSTDEV bool operator== (Identifier_Gpu::value_type other) const
 
CUDA_HOSTDEV bool operator!= (Identifier_Gpu::value_type other) const
 

Protected Attributes

value_type m_id
 

Detailed Description

Definition at line 15 of file Identifier_g.h.

Member Typedef Documentation

◆ bit_defs

◆ max_value_type

◆ value_type

typedef long long Identifier_Gpu::value_type

Definition at line 17 of file Identifier_g.h.

Member Enumeration Documentation

◆ bit_defs_enum

Enumerator
NBITS 
MAX_BIT 
ALL_BITS 

Definition at line 19 of file Identifier_g.h.

19  {
20  NBITS = sizeof( value_type ) * 8, // bits per byte
21  MAX_BIT = ( static_cast<value_type>( 1 ) << ( NBITS - 1 ) ),
22  ALL_BITS = ~( static_cast<value_type>( 0 ) )
23  } bit_defs;

◆ max_value_type_enum

Enumerator
max_value 

Definition at line 25 of file Identifier_g.h.

25  {
26  // max_value = 0xFFFFFFFFFFFFFFFFULL
27  max_value = ~( static_cast<value_type>( 0 ) )

Constructor & Destructor Documentation

◆ Identifier_Gpu() [1/3]

CUDA_HOSTDEV Identifier_Gpu::Identifier_Gpu ( )
inline

Definition at line 30 of file Identifier_g.h.

30 : m_id( max_value ){};

◆ Identifier_Gpu() [2/3]

CUDA_HOSTDEV Identifier_Gpu::Identifier_Gpu ( const Identifier_Gpu value)
inline

Definition at line 31 of file Identifier_g.h.

31 : m_id( value.m_id ){};

◆ Identifier_Gpu() [3/3]

CUDA_HOSTDEV Identifier_Gpu::Identifier_Gpu ( value_type  value)
inline

Definition at line 32 of file Identifier_g.h.

32 : m_id( value ){};

Member Function Documentation

◆ operator value_type()

CUDA_HOSTDEV Identifier_Gpu::operator value_type ( ) const
inline

Definition at line 34 of file Identifier_g.h.

34 { return m_id; }

◆ operator!=() [1/2]

Definition at line 45 of file Identifier_g.h.

45 { return ( m_id != other.m_id ); }

◆ operator!=() [2/2]

Definition at line 51 of file Identifier_g.h.

51 { return ( m_id != other ); }

◆ operator<()

CUDA_HOSTDEV bool Identifier_Gpu::operator< ( const Identifier_Gpu other) const
inline

Definition at line 46 of file Identifier_g.h.

46 { return ( m_id < other.m_id ); }

◆ operator<=()

CUDA_HOSTDEV bool Identifier_Gpu::operator<= ( const Identifier_Gpu other) const
inline

Definition at line 48 of file Identifier_g.h.

48 { return ( m_id <= other.m_id ); }

◆ operator=() [1/2]

CUDA_HOSTDEV Identifier_Gpu& Identifier_Gpu::operator= ( const Identifier_Gpu old)
inline

Definition at line 36 of file Identifier_g.h.

36  {
37  m_id = old;
38  return ( *this );
39  };

◆ operator=() [2/2]

CUDA_HOSTDEV Identifier_Gpu& Identifier_Gpu::operator= ( value_type  value)
inline

Definition at line 40 of file Identifier_g.h.

40  {
41  m_id = value;
42  return ( *this );
43  };

◆ operator==() [1/2]

CUDA_HOSTDEV bool Identifier_Gpu::operator== ( const Identifier_Gpu other) const
inline

Definition at line 44 of file Identifier_g.h.

44 { return ( m_id == other.m_id ); }

◆ operator==() [2/2]

CUDA_HOSTDEV bool Identifier_Gpu::operator== ( Identifier_Gpu::value_type  other) const
inline

Definition at line 50 of file Identifier_g.h.

50 { return ( m_id == other ); }

◆ operator>()

CUDA_HOSTDEV bool Identifier_Gpu::operator> ( const Identifier_Gpu other) const
inline

Definition at line 47 of file Identifier_g.h.

47 { return ( m_id > other.m_id ); }

◆ operator>=()

CUDA_HOSTDEV bool Identifier_Gpu::operator>= ( const Identifier_Gpu other) const
inline

Definition at line 49 of file Identifier_g.h.

49 { return ( m_id >= other.m_id ); }

Member Data Documentation

◆ m_id

value_type Identifier_Gpu::m_id
protected

Definition at line 54 of file Identifier_g.h.


The documentation for this class was generated from the following file:
Identifier_Gpu::NBITS
@ NBITS
Definition: Identifier_g.h:20
Identifier_Gpu::m_id
value_type m_id
Definition: Identifier_g.h:54
Identifier_Gpu::max_value
@ max_value
Definition: Identifier_g.h:27
Identifier_Gpu::MAX_BIT
@ MAX_BIT
Definition: Identifier_g.h:21
athena.value
value
Definition: athena.py:124
Identifier_Gpu::max_value_type
enum Identifier_Gpu::max_value_type_enum max_value_type
Identifier_Gpu::value_type
long long value_type
Definition: Identifier_g.h:17
Identifier_Gpu::ALL_BITS
@ ALL_BITS
Definition: Identifier_g.h:22
Identifier_Gpu::bit_defs
enum Identifier_Gpu::bit_defs_enum bit_defs
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
CSV_InDetExporter.old
old
Definition: CSV_InDetExporter.py:145
value_type
Definition: EDM_MasterSearch.h:11