cphot 0.1
A C++ tool for computing photometry from spectra.
rapidcsv::LabelParams Struct Reference

Datastructure holding parameters controlling which row and column should be treated as labels. More...

#include <rapidcsv.hpp>

Public Member Functions

 LabelParams (const int pColumnNameIdx=0, const int pRowNameIdx=-1)
 Constructor. More...
 

Public Attributes

int mColumnNameIdx
 specifies the zero-based row index of the column labels. More...
 
int mRowNameIdx
 specifies the zero-based column index of the row labels. More...
 

Detailed Description

Datastructure holding parameters controlling which row and column should be treated as labels.

Definition at line 276 of file rapidcsv.hpp.

Constructor & Destructor Documentation

◆ LabelParams()

rapidcsv::LabelParams::LabelParams ( const int  pColumnNameIdx = 0,
const int  pRowNameIdx = -1 
)
inlineexplicit

Constructor.

Parameters
pColumnNameIdxspecifies the zero-based row index of the column labels, setting it to -1 prevents column lookup by label name, and gives access to all rows as document data. Default: 0
pRowNameIdxspecifies the zero-based column index of the row labels, setting it to -1 prevents row lookup by label name, and gives access to all columns as document data. Default: -1

Definition at line 287 of file rapidcsv.hpp.

Member Data Documentation

◆ mColumnNameIdx

int rapidcsv::LabelParams::mColumnNameIdx

specifies the zero-based row index of the column labels.

Definition at line 296 of file rapidcsv.hpp.

◆ mRowNameIdx

int rapidcsv::LabelParams::mRowNameIdx

specifies the zero-based column index of the row labels.

Definition at line 301 of file rapidcsv.hpp.


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