USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::PipelineParameter Class Reference

This class represents a parameter of some type for the PipelineApplication. More...

#include <PipelineApplication.h>

Collaboration diagram for Isis::PipelineParameter:
Collaboration graph

Public Member Functions

 PipelineParameter (QString paramName)
 Construct the parameter with only a parameter name; affects all branches and is not a special value.
 
 PipelineParameter (QString paramName, QString value)
 Construct the parameter with a parameter name and value; affects all branches and is not special.
 
 PipelineParameter (int branch, QString paramName)
 Construct the parameter with only a parameter name; affects only the specified branch and is not a special value.
 
 PipelineParameter (int branch, QString paramName, QString paramValue)
 Construct the parameter with a parameter name and value; affects only the specified branch and is not a special value.
 
 PipelineParameter (QString paramName, PipelineApplication::CustomParameterValue special)
 Construct the parameter with a parameter name and special value; affects all branches.
 
 PipelineParameter (int branch, QString paramName, PipelineApplication::CustomParameterValue special)
 Construct the parameter with a parameter name and special value; affects only the specified branch.
 
bool AppliesToBranch (int branch)
 Returns whether or not the specified branch is affected.
 
QString Name ()
 Name of the parameter.
 
QString Value ()
 Non-special value of the parameter.
 
bool IsSpecial ()
 True if the parameter value is special.
 
PipelineApplication::CustomParameterValue Special ()
 Special value of the parameter.
 
bool AffectsAllBranches ()
 True if branch-independant.
 

Private Attributes

int p_branch
 Branch this affects.
 
QString p_paramName
 Parameter name.
 
QString p_paramValue
 Parameter non-special value.
 
PipelineApplication::CustomParameterValue p_special
 Parameter special value.
 

Detailed Description

This class represents a parameter of some type for the PipelineApplication.

This class simply helps to store multiple pieces of data and provide quick access to them, and should never be used outside of the PipelineApplication class.

Author
2008-08-01 Steven Lambright

Definition at line 339 of file PipelineApplication.h.

Constructor & Destructor Documentation

Isis::PipelineParameter::PipelineParameter ( QString  paramName)
inline

Construct the parameter with only a parameter name; affects all branches and is not a special value.

Parameters
paramNameParameter name

Definition at line 347 of file PipelineApplication.h.

References p_branch, p_paramName, and p_special.

Isis::PipelineParameter::PipelineParameter ( QString  paramName,
QString  value 
)
inline

Construct the parameter with a parameter name and value; affects all branches and is not special.

Parameters
paramNameParameter name
valueParameter value

Definition at line 361 of file PipelineApplication.h.

References p_branch, p_paramName, p_paramValue, and p_special.

Isis::PipelineParameter::PipelineParameter ( int  branch,
QString  paramName 
)
inline

Construct the parameter with only a parameter name; affects only the specified branch and is not a special value.

Parameters
branchBranch this parameter affects
paramNameParameter name

Definition at line 376 of file PipelineApplication.h.

References p_branch, p_paramName, and p_special.

Isis::PipelineParameter::PipelineParameter ( int  branch,
QString  paramName,
QString  paramValue 
)
inline

Construct the parameter with a parameter name and value; affects only the specified branch and is not a special value.

Parameters
branchBranch this parameter affects
paramNameParameter name
paramValueSpecial parameter value

Definition at line 391 of file PipelineApplication.h.

References p_branch, p_paramName, p_paramValue, and p_special.

Isis::PipelineParameter::PipelineParameter ( QString  paramName,
PipelineApplication::CustomParameterValue  special 
)
inline

Construct the parameter with a parameter name and special value; affects all branches.

Parameters
paramNameParameter name
specialSpecial value

Definition at line 406 of file PipelineApplication.h.

References p_branch, p_paramName, and p_special.

Isis::PipelineParameter::PipelineParameter ( int  branch,
QString  paramName,
PipelineApplication::CustomParameterValue  special 
)
inline

Construct the parameter with a parameter name and special value; affects only the specified branch.

Parameters
branchBranch this parameter affects
paramNameParameter name
specialSpecial parameter value

Definition at line 421 of file PipelineApplication.h.

References p_branch, p_paramName, and p_special.

Member Function Documentation

bool Isis::PipelineParameter::AffectsAllBranches ( )
inline

True if branch-independant.

Definition at line 456 of file PipelineApplication.h.

References p_branch.

bool Isis::PipelineParameter::AppliesToBranch ( int  branch)
inline

Returns whether or not the specified branch is affected.

Parameters
branchBranch to test
Returns
bool Whether or not the specified branch is affected.

Definition at line 435 of file PipelineApplication.h.

References p_branch.

bool Isis::PipelineParameter::IsSpecial ( )
inline

True if the parameter value is special.

Definition at line 448 of file PipelineApplication.h.

References p_special.

Referenced by Isis::PipelineApplication::BuildParamString().

QString Isis::PipelineParameter::Name ( )
inline

Name of the parameter.

Definition at line 440 of file PipelineApplication.h.

References p_paramName.

PipelineApplication::CustomParameterValue Isis::PipelineParameter::Special ( )
inline

Special value of the parameter.

Definition at line 452 of file PipelineApplication.h.

References p_special.

Referenced by Isis::PipelineApplication::BuildParamString().

QString Isis::PipelineParameter::Value ( )
inline

Non-special value of the parameter.

Definition at line 444 of file PipelineApplication.h.

References p_paramValue.

Member Data Documentation

int Isis::PipelineParameter::p_branch
private

Branch this affects.

Definition at line 461 of file PipelineApplication.h.

Referenced by AffectsAllBranches(), AppliesToBranch(), and PipelineParameter().

QString Isis::PipelineParameter::p_paramName
private

Parameter name.

Definition at line 462 of file PipelineApplication.h.

Referenced by Name(), and PipelineParameter().

QString Isis::PipelineParameter::p_paramValue
private

Parameter non-special value.

Definition at line 463 of file PipelineApplication.h.

Referenced by PipelineParameter(), and Value().

PipelineApplication::CustomParameterValue Isis::PipelineParameter::p_special
private

Parameter special value.

Definition at line 464 of file PipelineApplication.h.

Referenced by IsSpecial(), PipelineParameter(), and Special().


The documentation for this class was generated from the following file: