CARTA Backend
The backend component of CARTA
Loading...
Searching...
No Matches
carta::CoordinatesKey Struct Reference

A key containing a pair of (X, Y) coordinates. More...

#include <Key.h>

Inheritance diagram for carta::CoordinatesKey:
[legend]
Collaboration diagram for carta::CoordinatesKey:
[legend]

Public Member Functions

 CoordinatesKey ()
 
 CoordinatesKey (int x, int y)
 
- Public Member Functions inherited from carta::Key< int, int >
 Key ()
 
 Key (std::tuple< T... > as_tuple)
 
virtual ~Key ()=default
 
std::size_t CombinedHash () const
 Generic function for creating a hash for a key object.
 
bool operator== (const Key< T... > &other) const
 Equality operator.
 
bool operator!= (const Key< T... > &other) const
 Inequality operator.
 

Public Attributes

int x
 
int y
 
- Public Attributes inherited from carta::Key< int, int >
std::tuple< T... > as_tuple
 Tuple representation.
 

Detailed Description

A key containing a pair of (X, Y) coordinates.

Constructor & Destructor Documentation

◆ CoordinatesKey() [1/2]

carta::CoordinatesKey::CoordinatesKey ( )
inline

◆ CoordinatesKey() [2/2]

carta::CoordinatesKey::CoordinatesKey ( int  x,
int  y 
)
inline

Member Data Documentation

◆ x

int carta::CoordinatesKey::x

◆ y

int carta::CoordinatesKey::y

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