OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Offset.cpp File Reference
Include dependency graph for Offset.cpp:

Go to the source code of this file.

Functions

bool operator== (const Offset &off1, const Offset &off2)
 Return true if off1 is equal to off2 within static floating point tolerance. More...
 
bool operator!= (const Offset &off1, const Offset &off2)
 Return not of operator ==. More...
 
std::ostream & operator<< (std::ostream &out, const Offset &off)
 Print Offset off1 to the ostream. More...
 

Function Documentation

◆ operator!=()

bool operator!= ( const Offset off1,
const Offset off2 
)

Return not of operator ==.

Definition at line 227 of file Offset.cpp.

◆ operator<<()

std::ostream & operator<< ( std::ostream &  out,
const Offset off 
)

Print Offset off1 to the ostream.

Definition at line 231 of file Offset.cpp.

References endl(), Offset::getEndDirection(), Offset::getEndPosition(), Offset::getIsLocal(), and ElementBase::getName().

Here is the call graph for this function:

◆ operator==()

bool operator== ( const Offset off1,
const Offset off2 
)