Kstars
starblocklist.cpp
31 qDebug() << Q_FUNC_INFO << "ERROR: Trying to release a block which is not the last block! Trixel = " << trixel;
88 trixel; //( ( trixel < 256 ) ? ( trixel + 256 ) : ( trixel - 256 ) ); // Trixel ID on datafile is assigned differently
98 qDebug() << Q_FUNC_INFO << "Reading trixel" << trixel << ", id on disk =" << trixelId << ", currently nStars =" << nStars
99 << ", record count =" << dSReader->getRecordCount( trixelId ) << ", first block = " << blocks[0]->getStarCount()
113 qWarning() << "ERROR: Could not get a new block from StarBlockFactory::getBlock() in trixel " << trixel
This class provides utility functions to handle binary data files in the format prescribed by KStars.
Definition binfilehelper.h:39
static int unsigned_KDE_fseek(FILE *stream, quint32 offset, int whence)
Wrapper around fseek for large offsets.
Definition binfilehelper.cpp:321
Stores and manages unnamed stars, most of which are dynamically loaded into memory.
Definition deepstarcomponent.h:32
A SkyNode derived class used for displaying PointNode with coordinates provided by SkyObject.
Definition pointsourcenode.h:27
A factory that creates StarBlocks and recycles them in an LRU Cache.
Definition starblockfactory.h:22
std::shared_ptr< StarBlock > block(unsigned int i)
Returns the i-th block in this StarBlockList.
Definition starblocklist.h:64
StarBlockList(const Trixel &trixel, DeepStarComponent *parent=nullptr)
Constructor for deep star catalogs.
Definition starblocklist.cpp:21
void setStaticBlock(std::shared_ptr< StarBlock > &block)
Sets the first StarBlock in the list to point to the given StarBlock.
Definition starblocklist.cpp:157
bool fillToMag(float maglim)
Ensures that the list is loaded with stars to given magnitude limit.
Definition starblocklist.cpp:62
int releaseBlock(StarBlock *block)
Drops the StarBlock with the given pointer from the list.
Definition starblocklist.cpp:28
Holds a block of stars and various peripheral variables to mark its place in data structures.
Definition starblock.h:43
void append(QList< T > &&value)
void removeLast()
qsizetype size() const const
A 16-byte structure that holds star data for really faint stars.
Definition nomadbinfile2mysql.h:27
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:04 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:19:04 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.