Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::ItemUniqueId Class Reference

Unique identifier of an entity. More...

#include <arcane/core/ItemUniqueId.h>

Collaboration diagram for Arcane::ItemUniqueId:

Public Member Functions

constexpr __host__ __device__ ItemUniqueId (Int64 uid)
constexpr __host__ __device__ operator Int64 () const
ARCANE_DEPRECATED operator Int32 () const
constexpr __host__ __device__ Int64 asInt64 () const
Int32 asInt32 () const
Integer asInteger () const

Private Attributes

Int64 m_unique_id = NULL_ITEM_ID

Friends

bool operator< (ItemUniqueId lhs, ItemUniqueId rhs)
bool operator< (Int64 lhs, ItemUniqueId rhs)
bool operator< (ItemUniqueId lhs, Int32 rhs)
bool operator< (Int32 lhs, ItemUniqueId rhs)
bool operator< (ItemUniqueId lhs, Int64 rhs)
bool operator<= (ItemUniqueId lhs, ItemUniqueId rhs)
bool operator<= (Int64 lhs, ItemUniqueId rhs)
bool operator<= (ItemUniqueId lhs, Int64 rhs)
bool operator<= (Int32 lhs, ItemUniqueId rhs)
bool operator<= (ItemUniqueId lhs, Int32 rhs)
bool operator> (ItemUniqueId lhs, ItemUniqueId rhs)
bool operator> (Int64 lhs, ItemUniqueId rhs)
bool operator> (ItemUniqueId lhs, Int64 rhs)
bool operator> (Int32 lhs, ItemUniqueId rhs)
bool operator> (ItemUniqueId lhs, Int32 rhs)
bool operator>= (ItemUniqueId lhs, ItemUniqueId rhs)
bool operator>= (Int64 lhs, ItemUniqueId rhs)
bool operator>= (ItemUniqueId lhs, Int64 rhs)
bool operator>= (Int32 lhs, ItemUniqueId rhs)
bool operator>= (ItemUniqueId lhs, Int32 rhs)
bool operator!= (ItemUniqueId lhs, ItemUniqueId rhs)
bool operator!= (Int64 lhs, ItemUniqueId rhs)
bool operator!= (ItemUniqueId lhs, Int64 rhs)
bool operator!= (Int32 lhs, ItemUniqueId rhs)
bool operator!= (ItemUniqueId lhs, Int32 rhs)
bool operator== (ItemUniqueId lhs, ItemUniqueId rhs)
bool operator== (Int64 lhs, ItemUniqueId rhs)
bool operator== (ItemUniqueId lhs, Int64 rhs)
bool operator== (Int32 lhs, ItemUniqueId rhs)
bool operator== (ItemUniqueId lhs, Int32 rhs)
std::ostream & operator<< (std::ostream &o, const ItemUniqueId &id)

Detailed Description

Unique identifier of an entity.

Definition at line 34 of file ItemUniqueId.h.

Constructor & Destructor Documentation

◆ ItemUniqueId()

__host__ __device__ Arcane::ItemUniqueId::ItemUniqueId ( Int64 uid)
inlineexplicitconstexpr

Definition at line 39 of file ItemUniqueId.h.

Member Function Documentation

◆ asInt32()

Int32 Arcane::ItemUniqueId::asInt32 ( ) const

Definition at line 64 of file ItemInternal.cc.

◆ asInt64()

__host__ __device__ Int64 Arcane::ItemUniqueId::asInt64 ( ) const
inlineconstexpr

Definition at line 45 of file ItemUniqueId.h.

◆ asInteger()

Integer Arcane::ItemUniqueId::asInteger ( ) const
inline

Definition at line 47 of file ItemUniqueId.h.

◆ operator Int32()

ARCANE_DEPRECATED Arcane::ItemUniqueId::operator Int32 ( ) const
inline

Definition at line 44 of file ItemUniqueId.h.

◆ operator Int64()

__host__ __device__ Arcane::ItemUniqueId::operator Int64 ( ) const
inlineconstexpr

Definition at line 43 of file ItemUniqueId.h.

◆ operator!= [1/5]

bool operator!= ( Int32 lhs,
ItemUniqueId rhs )
friend

Definition at line 154 of file ItemUniqueId.h.

◆ operator!= [2/5]

bool operator!= ( Int64 lhs,
ItemUniqueId rhs )
friend

Definition at line 146 of file ItemUniqueId.h.

◆ operator!= [3/5]

bool operator!= ( ItemUniqueId lhs,
Int32 rhs )
friend

Definition at line 158 of file ItemUniqueId.h.

◆ operator!= [4/5]

bool operator!= ( ItemUniqueId lhs,
Int64 rhs )
friend

Definition at line 150 of file ItemUniqueId.h.

◆ operator!= [5/5]

bool operator!= ( ItemUniqueId lhs,
ItemUniqueId rhs )
friend

Definition at line 142 of file ItemUniqueId.h.

◆ operator< [1/5]

bool operator< ( Int32 lhs,
ItemUniqueId rhs )
friend

Definition at line 70 of file ItemUniqueId.h.

◆ operator< [2/5]

bool operator< ( Int64 lhs,
ItemUniqueId rhs )
friend

Definition at line 62 of file ItemUniqueId.h.

◆ operator< [3/5]

bool operator< ( ItemUniqueId lhs,
Int32 rhs )
friend

Definition at line 66 of file ItemUniqueId.h.

◆ operator< [4/5]

bool operator< ( ItemUniqueId lhs,
Int64 rhs )
friend

Definition at line 74 of file ItemUniqueId.h.

◆ operator< [5/5]

bool operator< ( ItemUniqueId lhs,
ItemUniqueId rhs )
friend

Definition at line 58 of file ItemUniqueId.h.

◆ operator<<

std::ostream & operator<< ( std::ostream & o,
const ItemUniqueId & id )
friend

Definition at line 101 of file ItemInternal.cc.

◆ operator<= [1/5]

bool operator<= ( Int32 lhs,
ItemUniqueId rhs )
friend

Definition at line 91 of file ItemUniqueId.h.

◆ operator<= [2/5]

bool operator<= ( Int64 lhs,
ItemUniqueId rhs )
friend

Definition at line 83 of file ItemUniqueId.h.

◆ operator<= [3/5]

bool operator<= ( ItemUniqueId lhs,
Int32 rhs )
friend

Definition at line 95 of file ItemUniqueId.h.

◆ operator<= [4/5]

bool operator<= ( ItemUniqueId lhs,
Int64 rhs )
friend

Definition at line 87 of file ItemUniqueId.h.

◆ operator<= [5/5]

bool operator<= ( ItemUniqueId lhs,
ItemUniqueId rhs )
friend

Definition at line 79 of file ItemUniqueId.h.

◆ operator== [1/5]

bool operator== ( Int32 lhs,
ItemUniqueId rhs )
friend

Definition at line 175 of file ItemUniqueId.h.

◆ operator== [2/5]

bool operator== ( Int64 lhs,
ItemUniqueId rhs )
friend

Definition at line 167 of file ItemUniqueId.h.

◆ operator== [3/5]

bool operator== ( ItemUniqueId lhs,
Int32 rhs )
friend

Definition at line 179 of file ItemUniqueId.h.

◆ operator== [4/5]

bool operator== ( ItemUniqueId lhs,
Int64 rhs )
friend

Definition at line 171 of file ItemUniqueId.h.

◆ operator== [5/5]

bool operator== ( ItemUniqueId lhs,
ItemUniqueId rhs )
friend

Definition at line 163 of file ItemUniqueId.h.

◆ operator> [1/5]

bool operator> ( Int32 lhs,
ItemUniqueId rhs )
friend

Definition at line 112 of file ItemUniqueId.h.

◆ operator> [2/5]

bool operator> ( Int64 lhs,
ItemUniqueId rhs )
friend

Definition at line 104 of file ItemUniqueId.h.

◆ operator> [3/5]

bool operator> ( ItemUniqueId lhs,
Int32 rhs )
friend

Definition at line 116 of file ItemUniqueId.h.

◆ operator> [4/5]

bool operator> ( ItemUniqueId lhs,
Int64 rhs )
friend

Definition at line 108 of file ItemUniqueId.h.

◆ operator> [5/5]

bool operator> ( ItemUniqueId lhs,
ItemUniqueId rhs )
friend

Definition at line 100 of file ItemUniqueId.h.

◆ operator>= [1/5]

bool operator>= ( Int32 lhs,
ItemUniqueId rhs )
friend

Definition at line 133 of file ItemUniqueId.h.

◆ operator>= [2/5]

bool operator>= ( Int64 lhs,
ItemUniqueId rhs )
friend

Definition at line 125 of file ItemUniqueId.h.

◆ operator>= [3/5]

bool operator>= ( ItemUniqueId lhs,
Int32 rhs )
friend

Definition at line 137 of file ItemUniqueId.h.

◆ operator>= [4/5]

bool operator>= ( ItemUniqueId lhs,
Int64 rhs )
friend

Definition at line 129 of file ItemUniqueId.h.

◆ operator>= [5/5]

bool operator>= ( ItemUniqueId lhs,
ItemUniqueId rhs )
friend

Definition at line 121 of file ItemUniqueId.h.

Member Data Documentation

◆ m_unique_id

Int64 Arcane::ItemUniqueId::m_unique_id = NULL_ITEM_ID
private

Definition at line 189 of file ItemUniqueId.h.


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