EleFits  5.3.0
A modern C++ API on top of CFITSIO
Loading...
Searching...
No Matches
List of all members
ColumnKey Class Reference

#include <ColumnKey.h>

Detailed Description

A lazy-evaluated column key initialized either with an index or a name.

If missing at the time of usage, the index or name is evaluated thanks to a BintableColumns object. Negative (backward) indices are also resolved lazily. After evaluation, the value is cached.

Note
Constructors are intentionally not explicit.

Public Member Functions

Construction
 ColumnKey (long index)
 Create a column key from an index.
 
 ColumnKey (int index)
 Create a column key from an index.
 
 ColumnKey (const std::string &name)
 Create a column key from a name.
 
 ColumnKey (const char *name)
 Create a column key from a name.
 
Operations
long index (const BintableColumns &columns)
 Get the evaluated index.
 
const std::stringname (const BintableColumns &columns)
 Get the evaluated name.
 

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