Xmipp  v3.23.11-Nereus
Classes | Macros
metadata_row_base.h File Reference
#include "metadata_label.h"
#include "metadata_object.h"
#include "choose.h"
#include <stdexcept>
Include dependency graph for metadata_row_base.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MDRow
 
class  MDRow::iterator_ptr< IsConst >
 

Macros

#define rowGetValueOrAbort(__row, __label, __d)
 

Macro Definition Documentation

◆ rowGetValueOrAbort

#define rowGetValueOrAbort (   __row,
  __label,
  __d 
)
Value:
if (!__row.getValue(__label, __d))\
REPORT_ERROR(ERR_ARG_MISSING,(String)"Cannot find label: " + MDL::label2Str(__label) );
Argument missing.
Definition: xmipp_error.h:114
#define REPORT_ERROR(nerr, ErrormMsg)
Definition: xmipp_error.h:211
std::string String
Definition: xmipp_strings.h:34
static String label2Str(const MDLabel &label)

Get value

Definition at line 45 of file metadata_row_base.h.