56 QString algorithm =
"";
58 algorithm = algo[
"PhtName"][0];
61 algorithm = algo[
"Name"][0];
64 QString msg =
"Keyword [Name] or keyword [PhtName] must ";
65 msg +=
"exist in [Group = Algorithm]";
73 p->
read(
"PhotoModel.plugin");
76 p->
read(
"$ISISROOT/lib/PhotoModel.plugin");
82 return (*plugin)(pvl);
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
File name manipulation and expansion.
PvlObjectIterator findObject(const QString &name, PvlObjectIterator beg, PvlObjectIterator end)
Find the index of object with a specified name, between two indexes.
Loads plugins from a shared library.
Contains multiple PvlContainers.
#define _FILEINFO_
Macro for the filename and line number.
A type of error that could only have occurred due to a mistake on the user's part (e...
static PhotoModel * Create(Pvl &pvl)
Create a PhotoModel object using a PVL specification.
Container for cube-like labels.
Namespace for ISIS/Bullet specific routines.
QFunctionPointer GetPlugin(const QString &group)
This method returns a void pointer to a C function (i.e., the plugin) It does this by looking in itse...
void read(const QString &file)
Loads PVL information from a stream.
bool fileExists() const
Returns true if the file exists; false otherwise.