MCPcopy Create free account
hub / github.com/crosspoint-reader/crosspoint-reader / getSpineItemsCount

Method getSpineItemsCount

lib/Epub/Epub.cpp:786–791  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

784}
785
786int Epub::getSpineItemsCount() const {
787 if (!bookMetadataCache || !bookMetadataCache->isLoaded()) {
788 return 0;
789 }
790 return bookMetadataCache->getSpineCount();
791}
792
793size_t Epub::getCumulativeSpineItemSize(const int spineIndex) const { return getSpineItem(spineIndex).cumulativeSize; }
794

Callers 7

toCrossPointMethod · 0.80
findXPathForParagraphMethod · 0.80
findXPathForProgressMethod · 0.80
loopMethod · 0.80
jumpToPercentMethod · 0.80
renderMethod · 0.80

Calls 2

getSpineCountMethod · 0.80
isLoadedMethod · 0.45

Tested by

no test coverage detected