tesseract  5.0.0-alpha-619-ge9db
lsterr.h File Reference
#include "errcode.h"

Go to the source code of this file.

Functions

constexpr ERRCODE DONT_CONSTRUCT_LIST_BY_COPY ("Can't create a list by assignment")
 
constexpr ERRCODE DONT_ASSIGN_LISTS ("Can't assign to lists")
 
constexpr ERRCODE SERIALISE_LINKS ("Attempted to (de)serialise a link element")
 
constexpr ERRCODE NO_LIST ("Iterator not set to a list")
 
constexpr ERRCODE NULL_OBJECT ("List found this = nullptr!")
 
constexpr ERRCODE NULL_DATA ("List would have returned a nullptr data pointer")
 
constexpr ERRCODE NULL_CURRENT ("List current position is nullptr")
 
constexpr ERRCODE NULL_NEXT ("Next element on the list is nullptr")
 
constexpr ERRCODE NULL_PREV ("Previous element on the list is nullptr")
 
constexpr ERRCODE EMPTY_LIST ("List is empty")
 
constexpr ERRCODE BAD_PARAMETER ("List parameter error")
 
constexpr ERRCODE STILL_LINKED ("Attempting to add an element with non nullptr links, to a list")
 

Function Documentation

◆ BAD_PARAMETER()

constexpr ERRCODE BAD_PARAMETER ( "List parameter error"  )
constexpr

◆ DONT_ASSIGN_LISTS()

constexpr ERRCODE DONT_ASSIGN_LISTS ( "Can't assign to lists"  )
constexpr

◆ DONT_CONSTRUCT_LIST_BY_COPY()

constexpr ERRCODE DONT_CONSTRUCT_LIST_BY_COPY ( "Can't create a list by assignment"  )
constexpr

◆ EMPTY_LIST()

constexpr ERRCODE EMPTY_LIST ( "List is empty"  )
constexpr

◆ NO_LIST()

constexpr ERRCODE NO_LIST ( "Iterator not set to a list"  )
constexpr

◆ NULL_CURRENT()

constexpr ERRCODE NULL_CURRENT ( "List current position is nullptr"  )
constexpr

◆ NULL_DATA()

constexpr ERRCODE NULL_DATA ( "List would have returned a nullptr data pointer"  )
constexpr

◆ NULL_NEXT()

constexpr ERRCODE NULL_NEXT ( "Next element on the list is nullptr"  )
constexpr

◆ NULL_OBJECT()

constexpr ERRCODE NULL_OBJECT ( )
constexpr

◆ NULL_PREV()

constexpr ERRCODE NULL_PREV ( "Previous element on the list is nullptr"  )
constexpr

◆ SERIALISE_LINKS()

constexpr ERRCODE SERIALISE_LINKS ( "Attempted to (de)serialise a link element"  )
constexpr

◆ STILL_LINKED()

constexpr ERRCODE STILL_LINKED ( "Attempting to add an element with non nullptr  links,
to a list"   
)
constexpr