libatomprobe
Library for Atom Probe Tomography (APT) computation
Public Member Functions | Public Attributes | List of all members
AtomProbe::Weight Class Reference

Placeholder class for containing input weights for MassTool. More...

#include <massTool.h>

Public Member Functions

 Weight ()
 
 Weight (float m, size_t uniqId=0)
 
bool operator== (const Weight &b) const
 
bool operator< (const Weight &b) const
 

Public Attributes

float mass
 
size_t uniqueId
 

Detailed Description

Placeholder class for containing input weights for MassTool.

Definition at line 29 of file massTool.h.

Constructor & Destructor Documentation

◆ Weight() [1/2]

AtomProbe::Weight::Weight ( )
inline

Definition at line 32 of file massTool.h.

◆ Weight() [2/2]

AtomProbe::Weight::Weight ( float  m,
size_t  uniqId = 0 
)
inline

Definition at line 33 of file massTool.h.

References mass, and uniqueId.

Member Function Documentation

◆ operator<()

bool AtomProbe::Weight::operator< ( const Weight b) const
inline

Definition at line 39 of file massTool.h.

References mass.

◆ operator==()

bool AtomProbe::Weight::operator== ( const Weight b) const
inline

Definition at line 38 of file massTool.h.

References mass, and uniqueId.

Member Data Documentation

◆ mass

float AtomProbe::Weight::mass

Definition at line 35 of file massTool.h.

Referenced by main(), operator<(), operator==(), printSolution(), and Weight().

◆ uniqueId

size_t AtomProbe::Weight::uniqueId

Definition at line 36 of file massTool.h.

Referenced by main(), operator==(), printSolution(), and Weight().


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