lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
types::TwoIndexes Struct Reference

Pair of int indexes i and j. More...

#include <Types.hh>

Public Member Functions

 TwoIndexes (const int &ii=0, const int &jj=0)
 Set i to ii and j to jj (both default 0).
 
TwoIndexes & operator= (const TwoIndexes &rhs)
 Copy i and j from rhs.
 

Public Attributes

int i
 First index.
 
int j
 Second index.
 

Detailed Description

Pair of int indexes i and j.

Constructor & Destructor Documentation

◆ TwoIndexes()

types::TwoIndexes::TwoIndexes ( const int &  ii = 0,
const int &  jj = 0 
)
inline

Set i to ii and j to jj (both default 0).

Member Function Documentation

◆ operator=()

TwoIndexes & types::TwoIndexes::operator= ( const TwoIndexes &  rhs)
inline

Copy i and j from rhs.

Returns
*this.

Member Data Documentation

◆ i

int types::TwoIndexes::i

First index.

◆ j

int types::TwoIndexes::j

Second index.


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