Loading isis/src/base/objs/IsisAml/IsisAml.cpp +56 −21 Original line number Diff line number Diff line Loading @@ -339,8 +339,6 @@ void IsisAml::PutInteger(const QString ¶mName, } // Public: Sets the value member of a parameter of type double whose name // starts with paramName /** Loading Loading @@ -425,7 +423,6 @@ void IsisAml::PutDouble(const QString ¶mName, } // Public: Sets the value member of a parameter of type boolean whose name // starts with paramName /** Loading Loading @@ -554,6 +551,7 @@ QString IsisAml::GetAsString(const QString ¶mName) const { return value; } // Public: Returns the value member of a parameter whose name starts with paramName // as a vector<QString> /** Loading Loading @@ -678,13 +676,6 @@ void IsisAml::GetFileName(const QString ¶mName, } /** * Retrieves of a value for a parameter of type "cubename". * Loading Loading @@ -729,14 +720,6 @@ QString IsisAml::GetCubeName(const QString ¶mName, QString extension) const } // Public: Returns the first element of the value member of a parameter whos // name starts with paramName as a QString /** Loading Loading @@ -851,7 +834,6 @@ void IsisAml::GetString(const QString ¶mName, } // Public: Returns the first element of the value member of a parameter whos // name starts with paramName as an integer /** Loading Loading @@ -935,7 +917,6 @@ void IsisAml::GetInteger(const QString ¶mName, } // Public: Returns the first element of the value member of a parameter whos // name starts with paramName as a doubble /** Loading Loading @@ -973,6 +954,7 @@ double IsisAml::GetDouble(const QString ¶mName) const { return value.ToDouble(); } // Public: Returns the value member of a parameter whose name starts with paramName // as a vector<doubble> /** Loading Loading @@ -1138,6 +1120,7 @@ QString IsisAml::Description() const { return description; } /** * Returns the number of groups found in the XML. * Loading @@ -1147,6 +1130,7 @@ int IsisAml::NumGroups() const { return groups.size(); } /** * Returns the group name of group[index]. * Loading @@ -1159,6 +1143,7 @@ QString IsisAml::GroupName(const int &index) const { return s; } /** * Given group name return its index in the Gui * Loading @@ -1177,6 +1162,7 @@ int IsisAml::GroupIndex(const QString & grpName) const { return -1; } /** * Create a PVL file from the parameters in a Group given the Gui group name, * Pvl Object and Group names and the list of parameters to be included in the Loading Loading @@ -1237,6 +1223,7 @@ void IsisAml::CreatePVL(Isis::Pvl &pvlDef , QString guiGrpName, QString pvlObjNa } } /** * Verify if the Parameter is in the Included list * Loading @@ -1256,6 +1243,8 @@ bool IsisAml::IsParamInPvlInclude(QString & paramName, vector<QString> & include } return false; } /** * Returns the number of parameters in a group. * Loading @@ -1267,6 +1256,7 @@ int IsisAml::NumParams(const int &group) const { return groups[group].parameters.size(); } /** * Returns the parameter name. * Loading @@ -1280,6 +1270,7 @@ QString IsisAml::ParamName(const int &group, const int ¶m) const { return s; } /** * Returns the brief description of a parameter in a specified group. * Loading @@ -1293,6 +1284,7 @@ QString IsisAml::ParamBrief(const int &group, const int ¶m) const { return s; } /** * Returns the long description of a parameter in a specified group. * Loading @@ -1306,6 +1298,7 @@ QString IsisAml::ParamDescription(const int &group, const int ¶m) const { return s; } /** * Returns the minimum value of a parameter in a specified group. * Loading @@ -1319,6 +1312,7 @@ QString IsisAml::ParamMinimum(const int &group, const int ¶m) const { return s; } /** * Returns the maximum value of a parameter in a specified group. * Loading @@ -1332,6 +1326,7 @@ QString IsisAml::ParamMaximum(const int &group, const int ¶m) const { return s; } /** * Returns whether the minimum value is inclusive or not. * Loading @@ -1345,6 +1340,7 @@ QString IsisAml::ParamMinimumInclusive(const int &group, const int ¶m) const return s; } /** * Returns whether the maximum value is inclusive or not. * Loading @@ -1358,6 +1354,7 @@ QString IsisAml::ParamMaximumInclusive(const int &group, const int ¶m) const return s; } /** * Returns whether the selected parameter has a restriction on odd values or * not. Loading @@ -1372,6 +1369,7 @@ QString IsisAml::ParamOdd(const int &group, const int ¶m) const { return s; } /** * Returns the number of values in the parameters greater than list. * Loading @@ -1384,6 +1382,7 @@ int IsisAml::ParamGreaterThanSize(const int &group, const int ¶m) const { return groups[group].parameters[param].greaterThan.size(); } /** * Returns the number of values in the parameters greater than or equal list. * Loading @@ -1397,6 +1396,7 @@ int IsisAml::ParamGreaterThanOrEqualSize(const int &group, return groups[group].parameters[param].greaterThanOrEqual.size(); } /** * Returns the number of values in the parameters less than list. * Loading @@ -1409,6 +1409,7 @@ int IsisAml::ParamLessThanSize(const int &group, const int ¶m) const { return groups[group].parameters[param].lessThan.size(); } /** * Returns the number of values in the parameters less than or equal list. * Loading @@ -1422,6 +1423,7 @@ int IsisAml::ParamLessThanOrEqualSize(const int &group, return groups[group].parameters[param].lessThanOrEqual.size(); } /** * Returns the number of values in the not equal list. * Loading @@ -1434,6 +1436,7 @@ int IsisAml::ParamNotEqualSize(const int &group, const int ¶m) const { return groups[group].parameters[param].notEqual.size(); } /** * Returns the name of the specified greaterThan parameter * Loading @@ -1449,6 +1452,7 @@ QString IsisAml::ParamGreaterThan(const int &group, const int ¶m, return s; } /** * Returns the name of the specified greaterThanOrEqual parameter * Loading @@ -1464,6 +1468,7 @@ QString IsisAml::ParamGreaterThanOrEqual(const int &group, const int ¶m, return s; } /** * Returns the name of the specified lessThan parameter * Loading @@ -1479,6 +1484,7 @@ QString IsisAml::ParamLessThan(const int &group, const int ¶m, return s; } /** * Returns the name of the specified lessThanOrEqual parameter * Loading @@ -1494,6 +1500,7 @@ QString IsisAml::ParamLessThanOrEqual(const int &group, const int ¶m, return s; } /** * Returns the name of the specified notEqual parameter * Loading @@ -1509,6 +1516,7 @@ QString IsisAml::ParamNotEqual(const int &group, const int ¶m, return s; } /** * Returns the name of the specified excluded parameter * Loading @@ -1524,6 +1532,7 @@ QString IsisAml::ParamExclude(const int &group, const int ¶m, return s; } /** * Returns the name of the specified included parameter * Loading Loading @@ -1553,6 +1562,7 @@ QString IsisAml::ParamType(const int &group, const int ¶m) const { return s; } /** * Returns the default for a parameter in a specified group. * Loading @@ -1572,6 +1582,7 @@ QString IsisAml::ParamDefault(const int &group, const int ¶m) const { return s; } /** * Returns the internal default for a parameter in a specified group * Loading @@ -1591,6 +1602,7 @@ QString IsisAml::ParamInternalDefault(const int &group, const int ¶m) const return s; } /** * Returns the parameter filter for a parameter in a specified group. * Loading @@ -1610,6 +1622,7 @@ QString IsisAml::ParamFilter(const int &group, const int ¶m) const { return s; } /** * Returns the default path for a filename/cube parameter * Loading @@ -1629,6 +1642,7 @@ QString IsisAml::ParamPath(const int &group, const int ¶m) const { return s; } /** * Returns the file mode for a parameter in a specified group. * Loading @@ -1648,6 +1662,7 @@ QString IsisAml::ParamFileMode(const int &group, const int ¶m) const { return s; } /** * Returns the number of options in the specified parameter's list. * Loading Loading @@ -1677,6 +1692,7 @@ QString IsisAml::ParamListValue(const int &group, const int ¶m, return s; } /** * Returns the brief description for a specific option to a parameter. * Loading @@ -1692,6 +1708,7 @@ QString IsisAml::ParamListBrief(const int &group, const int ¶m, return s; } /** * Returns the full description for a specific option to a parameter. * Loading @@ -1707,6 +1724,7 @@ QString IsisAml::ParamListDescription(const int &group, const int ¶m, return s; } /** * Returns the number of items in a parameters list exclude section. * Loading @@ -1721,6 +1739,7 @@ int IsisAml::ParamListExcludeSize(const int &group, const int ¶m, return groups[group].parameters[param].listOptions[option].exclude.size(); } /** * Returns the parameter name to be excluded if this option is selected. * Loading @@ -1737,6 +1756,7 @@ QString IsisAml::ParamListExclude(const int &group, const int ¶m, return s; } /** * Returns the number of items in a parameters list include section. * Loading @@ -1751,6 +1771,7 @@ int IsisAml::ParamListIncludeSize(const int &group, const int ¶m, return groups[group].parameters[param].listOptions[option].include.size(); } /** * Returns the parameter name to be included if this option is selected. * Loading @@ -1767,6 +1788,7 @@ QString IsisAml::ParamListInclude(const int &group, const int ¶m, return s; } /** * Returns the number of parameters excluded in this parameter's exclusions * Loading @@ -1779,6 +1801,7 @@ int IsisAml::ParamExcludeSize(const int &group, const int ¶m) const { return groups[group].parameters[param].exclude.size(); } /** * Returns the number of parameters included in this parameter's inclusions * Loading @@ -1791,6 +1814,7 @@ int IsisAml::ParamIncludeSize(const int &group, const int ¶m) const { return groups[group].parameters[param].include.size(); } /** * Returns the default pixel type from the XML * Loading @@ -1803,6 +1827,7 @@ QString IsisAml::PixelType(const int &group, const int ¶m) const { return groups[group].parameters[param].pixelType; } /** * Returns the number of helpers the parameter has * Loading @@ -1815,6 +1840,7 @@ int IsisAml::HelpersSize(const int &group, const int ¶m) const { return groups[group].parameters[param].helpers.size(); } /** * Returns the name of the helper button * Loading @@ -1829,6 +1855,7 @@ QString IsisAml::HelperButtonName(const int &group, const int ¶m, return groups[group].parameters[param].helpers[helper].name; } /** * Returns the name of the helper function * Loading @@ -1843,6 +1870,7 @@ QString IsisAml::HelperFunction(const int &group, const int ¶m, return groups[group].parameters[param].helpers[helper].function; } /** * Returns the brief description of the helper button * Loading @@ -1857,6 +1885,7 @@ QString IsisAml::HelperBrief(const int &group, const int ¶m, return groups[group].parameters[param].helpers[helper].brief; } /** * Returns the long description of the helper button * Loading @@ -1871,6 +1900,7 @@ QString IsisAml::HelperDescription(const int &group, const int ¶m, return groups[group].parameters[param].helpers[helper].description; } /** * Returns the name of the icon for the helper button * Loading @@ -1885,6 +1915,7 @@ QString IsisAml::HelperIcon(const int &group, const int ¶m, return groups[group].parameters[param].helpers[helper].icon; } /** * Returns a true if the parameter has a value, and false if it does not * Loading @@ -1903,6 +1934,7 @@ bool IsisAml::WasEntered(const QString ¶mName) const { return true; } /** * Clears the value(s) in the named parameter * Loading Loading @@ -1965,6 +1997,7 @@ Isis::CubeAttributeInput &IsisAml::GetInputAttribute(const QString ¶mName) { return param->inCubeAtt; } /** * Gets the attributes for an output cube * Loading Loading @@ -2011,6 +2044,7 @@ Isis::CubeAttributeOutput &IsisAml::GetOutputAttribute(const QString ¶mName) return param->outCubeAtt; } /** * Returns a pointer to a parameter whose name starts with paramName * Loading Loading @@ -2063,6 +2097,7 @@ const IsisParameterData *IsisAml::ReturnParam(const QString ¶mName) const { return param; } /** * Throws an Isis::iExceptionXxxxxxxx if the parameter value(s) is invalid * Loading Loading @@ -2914,6 +2949,7 @@ void IsisAml::VerifyAll() { } } /** * Returns a boolean value based on the QString contents * Loading Loading @@ -3136,4 +3172,3 @@ void IsisAml::StartParser(const char *xmlfile) { delete appHandler; return; } Loading
isis/src/base/objs/IsisAml/IsisAml.cpp +56 −21 Original line number Diff line number Diff line Loading @@ -339,8 +339,6 @@ void IsisAml::PutInteger(const QString ¶mName, } // Public: Sets the value member of a parameter of type double whose name // starts with paramName /** Loading Loading @@ -425,7 +423,6 @@ void IsisAml::PutDouble(const QString ¶mName, } // Public: Sets the value member of a parameter of type boolean whose name // starts with paramName /** Loading Loading @@ -554,6 +551,7 @@ QString IsisAml::GetAsString(const QString ¶mName) const { return value; } // Public: Returns the value member of a parameter whose name starts with paramName // as a vector<QString> /** Loading Loading @@ -678,13 +676,6 @@ void IsisAml::GetFileName(const QString ¶mName, } /** * Retrieves of a value for a parameter of type "cubename". * Loading Loading @@ -729,14 +720,6 @@ QString IsisAml::GetCubeName(const QString ¶mName, QString extension) const } // Public: Returns the first element of the value member of a parameter whos // name starts with paramName as a QString /** Loading Loading @@ -851,7 +834,6 @@ void IsisAml::GetString(const QString ¶mName, } // Public: Returns the first element of the value member of a parameter whos // name starts with paramName as an integer /** Loading Loading @@ -935,7 +917,6 @@ void IsisAml::GetInteger(const QString ¶mName, } // Public: Returns the first element of the value member of a parameter whos // name starts with paramName as a doubble /** Loading Loading @@ -973,6 +954,7 @@ double IsisAml::GetDouble(const QString ¶mName) const { return value.ToDouble(); } // Public: Returns the value member of a parameter whose name starts with paramName // as a vector<doubble> /** Loading Loading @@ -1138,6 +1120,7 @@ QString IsisAml::Description() const { return description; } /** * Returns the number of groups found in the XML. * Loading @@ -1147,6 +1130,7 @@ int IsisAml::NumGroups() const { return groups.size(); } /** * Returns the group name of group[index]. * Loading @@ -1159,6 +1143,7 @@ QString IsisAml::GroupName(const int &index) const { return s; } /** * Given group name return its index in the Gui * Loading @@ -1177,6 +1162,7 @@ int IsisAml::GroupIndex(const QString & grpName) const { return -1; } /** * Create a PVL file from the parameters in a Group given the Gui group name, * Pvl Object and Group names and the list of parameters to be included in the Loading Loading @@ -1237,6 +1223,7 @@ void IsisAml::CreatePVL(Isis::Pvl &pvlDef , QString guiGrpName, QString pvlObjNa } } /** * Verify if the Parameter is in the Included list * Loading @@ -1256,6 +1243,8 @@ bool IsisAml::IsParamInPvlInclude(QString & paramName, vector<QString> & include } return false; } /** * Returns the number of parameters in a group. * Loading @@ -1267,6 +1256,7 @@ int IsisAml::NumParams(const int &group) const { return groups[group].parameters.size(); } /** * Returns the parameter name. * Loading @@ -1280,6 +1270,7 @@ QString IsisAml::ParamName(const int &group, const int ¶m) const { return s; } /** * Returns the brief description of a parameter in a specified group. * Loading @@ -1293,6 +1284,7 @@ QString IsisAml::ParamBrief(const int &group, const int ¶m) const { return s; } /** * Returns the long description of a parameter in a specified group. * Loading @@ -1306,6 +1298,7 @@ QString IsisAml::ParamDescription(const int &group, const int ¶m) const { return s; } /** * Returns the minimum value of a parameter in a specified group. * Loading @@ -1319,6 +1312,7 @@ QString IsisAml::ParamMinimum(const int &group, const int ¶m) const { return s; } /** * Returns the maximum value of a parameter in a specified group. * Loading @@ -1332,6 +1326,7 @@ QString IsisAml::ParamMaximum(const int &group, const int ¶m) const { return s; } /** * Returns whether the minimum value is inclusive or not. * Loading @@ -1345,6 +1340,7 @@ QString IsisAml::ParamMinimumInclusive(const int &group, const int ¶m) const return s; } /** * Returns whether the maximum value is inclusive or not. * Loading @@ -1358,6 +1354,7 @@ QString IsisAml::ParamMaximumInclusive(const int &group, const int ¶m) const return s; } /** * Returns whether the selected parameter has a restriction on odd values or * not. Loading @@ -1372,6 +1369,7 @@ QString IsisAml::ParamOdd(const int &group, const int ¶m) const { return s; } /** * Returns the number of values in the parameters greater than list. * Loading @@ -1384,6 +1382,7 @@ int IsisAml::ParamGreaterThanSize(const int &group, const int ¶m) const { return groups[group].parameters[param].greaterThan.size(); } /** * Returns the number of values in the parameters greater than or equal list. * Loading @@ -1397,6 +1396,7 @@ int IsisAml::ParamGreaterThanOrEqualSize(const int &group, return groups[group].parameters[param].greaterThanOrEqual.size(); } /** * Returns the number of values in the parameters less than list. * Loading @@ -1409,6 +1409,7 @@ int IsisAml::ParamLessThanSize(const int &group, const int ¶m) const { return groups[group].parameters[param].lessThan.size(); } /** * Returns the number of values in the parameters less than or equal list. * Loading @@ -1422,6 +1423,7 @@ int IsisAml::ParamLessThanOrEqualSize(const int &group, return groups[group].parameters[param].lessThanOrEqual.size(); } /** * Returns the number of values in the not equal list. * Loading @@ -1434,6 +1436,7 @@ int IsisAml::ParamNotEqualSize(const int &group, const int ¶m) const { return groups[group].parameters[param].notEqual.size(); } /** * Returns the name of the specified greaterThan parameter * Loading @@ -1449,6 +1452,7 @@ QString IsisAml::ParamGreaterThan(const int &group, const int ¶m, return s; } /** * Returns the name of the specified greaterThanOrEqual parameter * Loading @@ -1464,6 +1468,7 @@ QString IsisAml::ParamGreaterThanOrEqual(const int &group, const int ¶m, return s; } /** * Returns the name of the specified lessThan parameter * Loading @@ -1479,6 +1484,7 @@ QString IsisAml::ParamLessThan(const int &group, const int ¶m, return s; } /** * Returns the name of the specified lessThanOrEqual parameter * Loading @@ -1494,6 +1500,7 @@ QString IsisAml::ParamLessThanOrEqual(const int &group, const int ¶m, return s; } /** * Returns the name of the specified notEqual parameter * Loading @@ -1509,6 +1516,7 @@ QString IsisAml::ParamNotEqual(const int &group, const int ¶m, return s; } /** * Returns the name of the specified excluded parameter * Loading @@ -1524,6 +1532,7 @@ QString IsisAml::ParamExclude(const int &group, const int ¶m, return s; } /** * Returns the name of the specified included parameter * Loading Loading @@ -1553,6 +1562,7 @@ QString IsisAml::ParamType(const int &group, const int ¶m) const { return s; } /** * Returns the default for a parameter in a specified group. * Loading @@ -1572,6 +1582,7 @@ QString IsisAml::ParamDefault(const int &group, const int ¶m) const { return s; } /** * Returns the internal default for a parameter in a specified group * Loading @@ -1591,6 +1602,7 @@ QString IsisAml::ParamInternalDefault(const int &group, const int ¶m) const return s; } /** * Returns the parameter filter for a parameter in a specified group. * Loading @@ -1610,6 +1622,7 @@ QString IsisAml::ParamFilter(const int &group, const int ¶m) const { return s; } /** * Returns the default path for a filename/cube parameter * Loading @@ -1629,6 +1642,7 @@ QString IsisAml::ParamPath(const int &group, const int ¶m) const { return s; } /** * Returns the file mode for a parameter in a specified group. * Loading @@ -1648,6 +1662,7 @@ QString IsisAml::ParamFileMode(const int &group, const int ¶m) const { return s; } /** * Returns the number of options in the specified parameter's list. * Loading Loading @@ -1677,6 +1692,7 @@ QString IsisAml::ParamListValue(const int &group, const int ¶m, return s; } /** * Returns the brief description for a specific option to a parameter. * Loading @@ -1692,6 +1708,7 @@ QString IsisAml::ParamListBrief(const int &group, const int ¶m, return s; } /** * Returns the full description for a specific option to a parameter. * Loading @@ -1707,6 +1724,7 @@ QString IsisAml::ParamListDescription(const int &group, const int ¶m, return s; } /** * Returns the number of items in a parameters list exclude section. * Loading @@ -1721,6 +1739,7 @@ int IsisAml::ParamListExcludeSize(const int &group, const int ¶m, return groups[group].parameters[param].listOptions[option].exclude.size(); } /** * Returns the parameter name to be excluded if this option is selected. * Loading @@ -1737,6 +1756,7 @@ QString IsisAml::ParamListExclude(const int &group, const int ¶m, return s; } /** * Returns the number of items in a parameters list include section. * Loading @@ -1751,6 +1771,7 @@ int IsisAml::ParamListIncludeSize(const int &group, const int ¶m, return groups[group].parameters[param].listOptions[option].include.size(); } /** * Returns the parameter name to be included if this option is selected. * Loading @@ -1767,6 +1788,7 @@ QString IsisAml::ParamListInclude(const int &group, const int ¶m, return s; } /** * Returns the number of parameters excluded in this parameter's exclusions * Loading @@ -1779,6 +1801,7 @@ int IsisAml::ParamExcludeSize(const int &group, const int ¶m) const { return groups[group].parameters[param].exclude.size(); } /** * Returns the number of parameters included in this parameter's inclusions * Loading @@ -1791,6 +1814,7 @@ int IsisAml::ParamIncludeSize(const int &group, const int ¶m) const { return groups[group].parameters[param].include.size(); } /** * Returns the default pixel type from the XML * Loading @@ -1803,6 +1827,7 @@ QString IsisAml::PixelType(const int &group, const int ¶m) const { return groups[group].parameters[param].pixelType; } /** * Returns the number of helpers the parameter has * Loading @@ -1815,6 +1840,7 @@ int IsisAml::HelpersSize(const int &group, const int ¶m) const { return groups[group].parameters[param].helpers.size(); } /** * Returns the name of the helper button * Loading @@ -1829,6 +1855,7 @@ QString IsisAml::HelperButtonName(const int &group, const int ¶m, return groups[group].parameters[param].helpers[helper].name; } /** * Returns the name of the helper function * Loading @@ -1843,6 +1870,7 @@ QString IsisAml::HelperFunction(const int &group, const int ¶m, return groups[group].parameters[param].helpers[helper].function; } /** * Returns the brief description of the helper button * Loading @@ -1857,6 +1885,7 @@ QString IsisAml::HelperBrief(const int &group, const int ¶m, return groups[group].parameters[param].helpers[helper].brief; } /** * Returns the long description of the helper button * Loading @@ -1871,6 +1900,7 @@ QString IsisAml::HelperDescription(const int &group, const int ¶m, return groups[group].parameters[param].helpers[helper].description; } /** * Returns the name of the icon for the helper button * Loading @@ -1885,6 +1915,7 @@ QString IsisAml::HelperIcon(const int &group, const int ¶m, return groups[group].parameters[param].helpers[helper].icon; } /** * Returns a true if the parameter has a value, and false if it does not * Loading @@ -1903,6 +1934,7 @@ bool IsisAml::WasEntered(const QString ¶mName) const { return true; } /** * Clears the value(s) in the named parameter * Loading Loading @@ -1965,6 +1997,7 @@ Isis::CubeAttributeInput &IsisAml::GetInputAttribute(const QString ¶mName) { return param->inCubeAtt; } /** * Gets the attributes for an output cube * Loading Loading @@ -2011,6 +2044,7 @@ Isis::CubeAttributeOutput &IsisAml::GetOutputAttribute(const QString ¶mName) return param->outCubeAtt; } /** * Returns a pointer to a parameter whose name starts with paramName * Loading Loading @@ -2063,6 +2097,7 @@ const IsisParameterData *IsisAml::ReturnParam(const QString ¶mName) const { return param; } /** * Throws an Isis::iExceptionXxxxxxxx if the parameter value(s) is invalid * Loading Loading @@ -2914,6 +2949,7 @@ void IsisAml::VerifyAll() { } } /** * Returns a boolean value based on the QString contents * Loading Loading @@ -3136,4 +3172,3 @@ void IsisAml::StartParser(const char *xmlfile) { delete appHandler; return; }