File failed to load: https://isis.astrogeology.usgs.gov/6.0.0/Object/assets/jax/output/NativeMML/config.js
 |
Isis Developer Reference
|
Go to the documentation of this file.
18 #include <QStringList>
104 KernelDb(
const unsigned int allowedKernelTypes);
105 KernelDb(
const QString &dbName,
const unsigned int allowedKernelTypes);
106 KernelDb(std::istream &dbStream,
const unsigned int allowedKernelTypes);
131 iTime timeToMatch,
int cameraVersion);
133 void loadKernelDbFiles(
PvlGroup &dataDir,
136 void readKernelDbFiles();
144 unsigned int m_allowedKernelTypes;
QString name() const
Returns the keyword name.
Definition: PvlKeyword.h:98
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
PvlGroup & group(const int index)
Return the group at the specified index.
Definition: PvlObject.cpp:452
Kernel targetAttitudeShape(Pvl &lab)
This method finds the highest version of all Target Attitude Shape kernels (pck) identified by the da...
Definition: KernelDb.cpp:155
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:61
A single keyword-value pair.
Definition: PvlKeyword.h:82
KernelDb(const unsigned int allowedKernelTypes)
Constructs a new KernelDb object with a given integer value representing the Kernel::Type enumeration...
Definition: KernelDb.cpp:48
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
Parse and return pieces of a time string.
Definition: iTime.h:65
File name manipulation and expansion.
Definition: FileName.h:100
@ Unknown
A type of error that cannot be classified as any of the other error types.
Definition: IException.h:118
int groups() const
Returns the number of groups contained.
Definition: PvlObject.h:75
bool fileExists() const
Returns true if the file exists; false otherwise.
Definition: FileName.cpp:449
Kernel instrument(Pvl &lab)
This method finds the last Instrument kernel found that matches the (ik) criteria in the database and...
Definition: KernelDb.cpp:259
bool hasGroup(const QString &name) const
Returns a boolean value based on whether the object has the specified group or not.
Definition: PvlObject.h:210
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
Definition: PvlContainer.cpp:159
Container for cube-like labels.
Definition: Pvl.h:119
int objects() const
Returns the number of objects.
Definition: PvlObject.h:219
Kernel targetPosition(Pvl &lab)
This method finds the highest version of all Target Position kernels (tspk) identified by the databas...
Definition: KernelDb.cpp:176
~KernelDb()
Destructs KernelDb object.
Definition: KernelDb.cpp:115
int ToInteger() const
Returns the object string as an integer.
Definition: IString.cpp:718
void loadSystemDb(const QString &mission, const Pvl &lab)
Loads the appropriate kernel database files with the defined BASE and MISSION info for each type of k...
Definition: KernelDb.cpp:706
PvlObject & object(const int index)
Return the object at the specified index.
Definition: PvlObject.cpp:489
Kernel dem(Pvl &lab)
This method finds the highest version of all Digital Terrain Models (DEMs) found that match the crite...
Definition: KernelDb.cpp:321
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
Kernel instrumentAddendum(Pvl &lab)
This method finds the highest version of all Instrument Addendum kernels (iak) identified by the data...
Definition: KernelDb.cpp:300
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
void read(const QString &file)
Loads PVL information from a stream.
Definition: Pvl.cpp:90
static int CameraVersion(Cube &cube)
This looks up the current camera model version from the cube.
Definition: CameraFactory.cpp:161
bool isNamed(const QString &match) const
Returns whether the given string is equal to the container name or not.
Definition: PvlContainer.h:72
Kernel spacecraftClock(Pvl &lab)
This method finds the highest version of all Spacecraft Clock kernels (sclk) identified by the databa...
Definition: KernelDb.cpp:217
PvlObjectIterator findObject(const QString &name, PvlObjectIterator beg, PvlObjectIterator end)
Find the index of object with a specified name, between two indexes.
Definition: PvlObject.h:274
KernelDb class.
Definition: KernelDb.h:100
QString name() const
Returns the container name.
Definition: PvlContainer.h:63
Isis exception class.
Definition: IException.h:91
bool isNamed(QString name) const
Determines whether two PvlKeywords have the same name or not.
Definition: PvlKeyword.h:110
QList< FileName > kernelDbFiles()
Accessor method to retrieve the list of kernel database files that were read in when loadSystemDb() i...
Definition: KernelDb.cpp:860
bool hasObject(const QString &name) const
Returns a boolean value based on whether the object exists in the current PvlObject or not.
Definition: PvlObject.h:323
static bool matches(const Pvl &lab, PvlGroup &kernelDbGrp, iTime timeToMatch, int cameraVersion)
This static method determines whether the given cube label matches the given criteria.
Definition: KernelDb.cpp:570
Namespace for the standard library.
Kernel findLast(const QString &entry, Pvl &lab)
Finds the highest priority Kernel object for the given entry based on the allowed Kernel types.
Definition: KernelDb.cpp:338
IString Token(const IString &separator)
Returns the first token in the IString.
Definition: IString.cpp:897
int size() const
Returns the number of values stored in this keyword.
Definition: PvlKeyword.h:125
QList< std::priority_queue< Kernel > > findAll(const QString &entry, Pvl &lab)
Finds all of the Kernel objects for the given entry value based on the allowed Kernel types.
Definition: KernelDb.cpp:365
This class stores Kernel information, including Type and kernel file names.
Definition: Kernel.h:36
int keywords() const
Returns the number of keywords contained in the PvlContainer.
Definition: PvlContainer.h:86
Kernel frame(Pvl &lab)
This method finds the highest version of all Frame kernels (fk) identified by the database and the al...
Definition: KernelDb.cpp:280
Adds specific functionality to C++ strings.
Definition: IString.h:165
static Preference & Preferences(bool unitTest=false)
Definition: Preference.cpp:86
FileName highestVersion() const
Searches the directory specified in the file name for the highest version of the file name.
Definition: FileName.cpp:313
Kernel spacecraftPosition(Pvl &lab)
This method finds the highest version of all Spacecraft Position kernels (spk) identified by the data...
Definition: KernelDb.cpp:238
static Type typeEnum(const QString &type)
Converts the given string to a character as follows.
Definition: Kernel.cpp:57
QList< std::priority_queue< Kernel > > spacecraftPointing(Pvl &lab)
This method finds a list of the highest versions of all Spacecraft Pointing kernels (ck) identified b...
Definition: KernelDb.cpp:197
Kernel leapSecond(Pvl &lab)
This method finds the top priority of all Leap Second kernels (lsk) identified by the database and th...
Definition: KernelDb.cpp:134
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16