Public Member Functions | Static Public Member Functions
morphio::readers::ErrorMessages Class Reference

Public Member Functions

 ErrorMessages (const std::string &uri)
 
std::string errorLink (long unsigned int lineNumber, ErrorLevel errorLevel) const
 
std::string errorMsg (long unsigned int lineNumber, ErrorLevel errorLevel, std::string msg="") const
 
std::string ERROR_OPENING_FILE () const
 
std::string ERROR_LINE_NON_PARSABLE (long unsigned int lineNumber) const
 
std::string ERROR_UNSUPPORTED_SECTION_TYPE (long unsigned int lineNumber, const SectionType &type) const
 
std::string ERROR_UNSUPPORTED_VASCULATURE_SECTION_TYPE (long unsigned int lineNumber, const VascularSectionType &type) const
 
std::string ERROR_MULTIPLE_SOMATA (const std::vector< Sample > &somata) const
 
std::string ERROR_MISSING_PARENT (const Sample &sample) const
 
std::string ERROR_SOMA_BIFURCATION (const Sample &sample, const std::vector< Sample > &children) const
 
std::string ERROR_SOMA_WITH_NEURITE_PARENT (const Sample &sample) const
 
std::string ERROR_REPEATED_ID (const Sample &originalSample, const Sample &newSample) const
 
std::string ERROR_SELF_PARENT (const Sample &sample) const
 
std::string ERROR_NOT_IMPLEMENTED_UNDEFINED_SOMA (const std::string &) const
 
std::string ERROR_MISSING_MITO_PARENT (int mitoParentId) const
 
std::string ERROR_SOMA_ALREADY_DEFINED (long unsigned int lineNumber) const
 
std::string ERROR_PARSING_POINT (long unsigned int lineNumber, const std::string &point) const
 
std::string ERROR_UNKNOWN_TOKEN (long unsigned int lineNumber, const std::string &token) const
 
std::string ERROR_UNEXPECTED_TOKEN (long unsigned int lineNumber, const std::string &expected, const std::string &got, const std::string &msg) const
 
std::string ERROR_EOF_REACHED (long unsigned int lineNumber) const
 
std::string ERROR_EOF_IN_NEURITE (long unsigned int lineNumber) const
 
std::string ERROR_EOF_UNBALANCED_PARENS (long unsigned int lineNumber) const
 
std::string ERROR_UNCOMPATIBLE_FLAGS (morphio::Option flag1, morphio::Option flag2) const
 
std::string ERROR_WRONG_EXTENSION (const std::string &filename) const
 
std::string ERROR_VECTOR_LENGTH_MISMATCH (const std::string &vec1, size_t length1, const std::string &vec2, size_t length2) const
 
std::string ERROR_PERIMETER_DATA_NOT_WRITABLE ()
 
std::string ERROR_ONLY_CHILD_SWC_WRITER (unsigned int parentId) const
 
std::string WARNING_MITOCHONDRIA_WRITE_NOT_SUPPORTED () const
 
std::string WARNING_WRITE_NO_SOMA () const
 
std::string WARNING_WRITE_EMPTY_MORPHOLOGY () const
 
std::string WARNING_NO_SOMA_FOUND () const
 
std::string WARNING_ZERO_DIAMETER (const Sample &sample) const
 
std::string WARNING_DISCONNECTED_NEURITE (const Sample &sample) const
 
std::string WARNING_WRONG_DUPLICATE (const std::shared_ptr< morphio::mut::Section > &current, const std::shared_ptr< morphio::mut::Section > &parent) const
 
std::string WARNING_APPENDING_EMPTY_SECTION (std::shared_ptr< morphio::mut::Section >)
 
std::string WARNING_ONLY_CHILD (const DebugInfo &info, unsigned int parentId, unsigned int childId) const
 
std::string WARNING_NEUROMORPHO_SOMA_NON_CONFORM (const Sample &root, const Sample &child1, const Sample &child2)
 
std::string WARNING_WRONG_ROOT_POINT (const std::vector< Sample > &children) const
 

Static Public Member Functions

static bool isIgnored (Warning warning)
 

Member Function Documentation

◆ isIgnored()

static bool morphio::readers::ErrorMessages::isIgnored ( Warning  warning)
static

Is the output of the warning ignored