Xmipp  v3.23.11-Nereus
Public Member Functions | List of all members
ObjectDoesNotExist Class Reference

#include <metadata_base.h>

Inheritance diagram for ObjectDoesNotExist:
Inheritance graph
[legend]
Collaboration diagram for ObjectDoesNotExist:
Collaboration graph
[legend]

Public Member Functions

 ObjectDoesNotExist (MDLabel label, size_t id)
 
 ObjectDoesNotExist (size_t id, const FileName &fn)
 

Detailed Description

Definition at line 105 of file metadata_base.h.

Constructor & Destructor Documentation

◆ ObjectDoesNotExist() [1/2]

ObjectDoesNotExist::ObjectDoesNotExist ( MDLabel  label,
size_t  id 
)
inline

Definition at line 107 of file metadata_base.h.

107 : std::logic_error("Label '" + MDL::label2Str(label) + " does not exist for id " + std::to_string(id)) {};
int label
Label.
Definition: micrograph.h:58
static String label2Str(const MDLabel &label)
std::string to_string(bond_type bondType)
Definition: compound.cpp:43

◆ ObjectDoesNotExist() [2/2]

ObjectDoesNotExist::ObjectDoesNotExist ( size_t  id,
const FileName fn 
)
inline

Definition at line 108 of file metadata_base.h.

108 : std::logic_error("Row with id " + std::to_string(id) + " does not exist" + (fn.isEmpty() ? "" : " in " + fn)) {};
bool isEmpty() const
std::string to_string(bond_type bondType)
Definition: compound.cpp:43

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