OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Functions
Offset.cpp File Reference
#include "AbsBeamline/Offset.h"
#include <cmath>
#include "Utilities/GeneralClassicException.h"
#include "BeamlineGeometry/Euclid3DGeometry.h"
#include "AbsBeamline/BeamlineVisitor.h"
#include "Physics/Physics.h"
Include dependency graph for Offset.cpp:

Go to the source code of this file.

Functions

bool operator== (const Offset &off1, const Offset &off2)
 
bool operator!= (const Offset &off1, const Offset &off2)
 
std::ostream & operator<< (std::ostream &out, const Offset &off)
 

Function Documentation

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

Return not of operator ==

Definition at line 225 of file Offset.cpp.

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

Print Offset off1 to the ostream

Definition at line 229 of file Offset.cpp.

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

Here is the call graph for this function:

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