ParaView
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
pqOptions Class Reference

Command line options for pqClient. More...

#include <pqOptions.h>

Inheritance diagram for pqOptions:
Inheritance graph
[legend]
Collaboration diagram for pqOptions:
Collaboration graph
[legend]

List of all members.

Classes

struct  TestInfo

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual char * GetTileImagePath ()
virtual char * GetTestDirectory ()
virtual char * GetDataDirectory ()
virtual int GetExitAppWhenTestsDone ()
virtual int GetDisableRegistry ()
QStringList GetTestScripts ()
virtual char * GetServerResourceName ()
 Returns the server resource name specified to load.
virtual void SetTileImagePath (const char *)
virtual void SetTestDirectory (const char *)
virtual void SetDataDirectory (const char *)
int GetNumberOfTestScripts ()
QString GetTestScript (int cc)
QString GetTestBaseline (int cc)
int GetTestImageThreshold (int cc)
virtual void SetCurrentImageThreshold (int)
 HACK: When playing back tests, this variable is set to make it easier to locate the test image threshold for the current test.
virtual int GetCurrentImageThreshold ()
virtual int GetDisableLightKit ()
virtual void SetDisableLightKit (int)
virtual int GetTestMaster ()
virtual int GetTestSlave ()
virtual char * GetPythonScript ()
virtual int GetUseNewPanels ()
int AddTestScript (const char *)
int SetLastTestBaseline (const char *)
int SetLastTestImageThreshold (int)

Static Public Member Functions

static pqOptionsNew ()
static int IsTypeOf (const char *type)
static pqOptionsSafeDownCast (vtkObject *o)

Protected Member Functions

 pqOptions ()
virtual ~pqOptions ()
virtual void Initialize ()
virtual int PostProcess (int argc, const char *const *argv)
virtual void SetPythonScript (const char *)
virtual void SetServerResourceName (const char *)
virtual int WrongArgument (const char *argument)

Protected Attributes

char * TestDirectory
char * DataDirectory
char * ServerResourceName
char * TileImagePath
int ExitAppWhenTestsDone
int DisableRegistry
int DisableLightKit
int CurrentImageThreshold
int TestMaster
int TestSlave
int UseNewPanels
char * PythonScript
QList< TestInfoTestScripts

Detailed Description

Command line options for pqClient.

pqOptions extends vtkPVOptions to handle pqClient specific command line options.

Definition at line 45 of file pqOptions.h.


Constructor & Destructor Documentation

pqOptions::pqOptions ( ) [protected]
virtual pqOptions::~pqOptions ( ) [protected, virtual]

Member Function Documentation

static pqOptions* pqOptions::New ( ) [static]

Reimplemented from vtkPVOptions.

virtual const char* pqOptions::GetClassName ( ) [virtual]

Reimplemented from vtkPVOptions.

static int pqOptions::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkPVOptions.

virtual int pqOptions::IsA ( const char *  type) [virtual]

Reimplemented from vtkPVOptions.

static pqOptions* pqOptions::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkPVOptions.

void pqOptions::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkPVOptions.

virtual char* pqOptions::GetTileImagePath ( ) [virtual]
virtual char* pqOptions::GetTestDirectory ( ) [virtual]
virtual char* pqOptions::GetDataDirectory ( ) [virtual]
virtual int pqOptions::GetExitAppWhenTestsDone ( ) [virtual]
virtual int pqOptions::GetDisableRegistry ( ) [virtual]
QStringList pqOptions::GetTestScripts ( )
virtual char* pqOptions::GetServerResourceName ( ) [virtual]

Returns the server resource name specified to load.

virtual void pqOptions::SetTileImagePath ( const char *  ) [virtual]
virtual void pqOptions::SetTestDirectory ( const char *  ) [virtual]
virtual void pqOptions::SetDataDirectory ( const char *  ) [virtual]
int pqOptions::GetNumberOfTestScripts ( ) [inline]

Definition at line 70 of file pqOptions.h.

QString pqOptions::GetTestScript ( int  cc) [inline]

Definition at line 72 of file pqOptions.h.

QString pqOptions::GetTestBaseline ( int  cc) [inline]

Definition at line 74 of file pqOptions.h.

int pqOptions::GetTestImageThreshold ( int  cc) [inline]

Definition at line 76 of file pqOptions.h.

virtual void pqOptions::SetCurrentImageThreshold ( int  ) [virtual]

HACK: When playing back tests, this variable is set to make it easier to locate the test image threshold for the current test.

This is updated by the test playback code.

virtual int pqOptions::GetCurrentImageThreshold ( ) [virtual]
virtual int pqOptions::GetDisableLightKit ( ) [virtual]
virtual void pqOptions::SetDisableLightKit ( int  ) [virtual]
virtual int pqOptions::GetTestMaster ( ) [virtual]
virtual int pqOptions::GetTestSlave ( ) [virtual]
virtual char* pqOptions::GetPythonScript ( ) [virtual]
virtual int pqOptions::GetUseNewPanels ( ) [virtual]
int pqOptions::AddTestScript ( const char *  )
int pqOptions::SetLastTestBaseline ( const char *  )
int pqOptions::SetLastTestImageThreshold ( int  )
virtual void pqOptions::Initialize ( ) [protected, virtual]

Initialize arguments.

Reimplemented from vtkPVOptions.

virtual int pqOptions::PostProcess ( int  argc,
const char *const *  argv 
) [protected, virtual]

After parsing, process extra option dependencies.

Reimplemented from vtkPVOptions.

virtual void pqOptions::SetPythonScript ( const char *  ) [protected, virtual]
virtual void pqOptions::SetServerResourceName ( const char *  ) [protected, virtual]
virtual int pqOptions::WrongArgument ( const char *  argument) [protected, virtual]

This method is called when wrong argument is found. If it returns 0, then the parsing will fail.

Reimplemented from vtkPVOptions.


Member Data Documentation

char* pqOptions::TestDirectory [protected]

Definition at line 118 of file pqOptions.h.

char* pqOptions::DataDirectory [protected]

Definition at line 119 of file pqOptions.h.

char* pqOptions::ServerResourceName [protected]

Definition at line 120 of file pqOptions.h.

char* pqOptions::TileImagePath [protected]

Definition at line 121 of file pqOptions.h.

Definition at line 123 of file pqOptions.h.

Definition at line 124 of file pqOptions.h.

Definition at line 125 of file pqOptions.h.

Definition at line 126 of file pqOptions.h.

Definition at line 127 of file pqOptions.h.

Definition at line 128 of file pqOptions.h.

Definition at line 129 of file pqOptions.h.

char* pqOptions::PythonScript [protected]

Definition at line 130 of file pqOptions.h.

QList<TestInfo> pqOptions::TestScripts [protected]

Definition at line 143 of file pqOptions.h.


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