Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
correlation::core::ElementID Struct Reference

Represents a unique integer ID for an element type. More...

#include <Atom.hpp>

Public Member Functions

constexpr bool operator== (const ElementID &other) const =default
 Equality operator for ElementID.

Public Attributes

std::int32_t value
 Unique integer value representing the element type (-1 for unassigned).

Detailed Description

Represents a unique integer ID for an element type.

Member Function Documentation

◆ operator==()

bool correlation::core::ElementID::operator== ( const ElementID & other) const
constexprdefault

Equality operator for ElementID.

Parameters
[in]otherThe other ID to compare against.
Returns
True if values are equal.

Member Data Documentation

◆ value

std::int32_t correlation::core::ElementID::value
Initial value:
{
-1,
}

Unique integer value representing the element type (-1 for unassigned).


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