Public Types | Public Member Functions | Static Public Member Functions | Public Attributes

ctkVTKCommandOptionsPrivate Class Reference

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

List of all members.

Public Types

typedef ctkVTKCommandOptionsPrivate Self

Public Member Functions

bool checkForIgnoreRestFlag (const char *argument)
void cleanArgcArgv ()
 ctkVTKCommandOptionsPrivate ()
std::vector< std::string > * mapQStringListPtrToStringVectorPtr (QStringList *qStringListPtr)
char ** mapQStringPtrToCharPtr (QString *qStringPtr)
void syncQStringListPtrWithStringVectorPtr ()
 If required, sync the updated std::vector<std::string> with the corresponding QStringList*.
void syncQStringPtrWithCharPtr ()
 If required, sync the updated char* with the corresponding QString*.
 ~ctkVTKCommandOptionsPrivate ()

Static Public Member Functions

static int deprecatedArgumentHandler (const char *argument, const char *value, void *call_data)
 Callback executed when a deprecated arguments is parsed.
static int unknownArgumentHandler (const char *argument, void *call_data)
 Callback executed when an unknown arguments is parsed.

Public Attributes

int Argc
char ** Argv
vtksys::CommandLineArguments CMD
bool DisableSettings
QString ErrorMessage
bool HelpSelected
QStringList IgnoredArguments
bool IgnoreRest
int ProcessType
QHash< QStringList
*, std::vector< std::string > * > 
QStringListPointerToStringVectorPointerMap
QHash< QString *, char ** > QStringPointerToCharPointerMap
QPointer< QSettings > Settings
QString UnknownArgument

Detailed Description

Definition at line 53 of file ctkVTKCommandOptions.cpp.


Member Typedef Documentation

Definition at line 50 of file ctkVTKCommandOptions.cpp.


Constructor & Destructor Documentation

ctkVTKCommandOptionsPrivate::ctkVTKCommandOptionsPrivate (  ) 

Definition at line 107 of file ctkVTKCommandOptions.cpp.

ctkVTKCommandOptionsPrivate::~ctkVTKCommandOptionsPrivate (  ) 

Definition at line 120 of file ctkVTKCommandOptions.cpp.


Member Function Documentation

bool ctkVTKCommandOptionsPrivate::checkForIgnoreRestFlag ( const char *  argument  ) 

If case the --ignore-rest flag has been specified, this method will catch the first argument parsed and add it to the ignoredArguments list. If not, it will call the virtual method 'wrongArgument(const char* argument)'

Definition at line 163 of file ctkVTKCommandOptions.cpp.

void ctkVTKCommandOptionsPrivate::cleanArgcArgv (  ) 

Definition at line 134 of file ctkVTKCommandOptions.cpp.

int ctkVTKCommandOptionsPrivate::deprecatedArgumentHandler ( const char *  argument,
const char *  value,
void *  call_data 
) [static]

Callback executed when a deprecated arguments is parsed.

Definition at line 178 of file ctkVTKCommandOptions.cpp.

std::vector< std::string > * ctkVTKCommandOptionsPrivate::mapQStringListPtrToStringVectorPtr ( QStringList *  qStringListPtr  ) 

Since vtksys::CommandLineArguments will only update std::vector<std::string>*, returns a valid std::vector<std::string>* pointer that it could use.

Definition at line 202 of file ctkVTKCommandOptions.cpp.

char ** ctkVTKCommandOptionsPrivate::mapQStringPtrToCharPtr ( QString *  qStringPtr  ) 

Since vtksys::CommandLineArguments will only update char*, returns a valid char* pointer that it could use.

Definition at line 191 of file ctkVTKCommandOptions.cpp.

void ctkVTKCommandOptionsPrivate::syncQStringListPtrWithStringVectorPtr (  ) 

If required, sync the updated std::vector<std::string> with the corresponding QStringList*.

Definition at line 227 of file ctkVTKCommandOptions.cpp.

void ctkVTKCommandOptionsPrivate::syncQStringPtrWithCharPtr (  ) 

If required, sync the updated char* with the corresponding QString*.

Definition at line 211 of file ctkVTKCommandOptions.cpp.

int ctkVTKCommandOptionsPrivate::unknownArgumentHandler ( const char *  argument,
void *  call_data 
) [static]

Callback executed when an unknown arguments is parsed.

Definition at line 149 of file ctkVTKCommandOptions.cpp.


Member Data Documentation

Definition at line 88 of file ctkVTKCommandOptions.cpp.

Definition at line 89 of file ctkVTKCommandOptions.cpp.

vtksys::CommandLineArguments ctkVTKCommandOptionsPrivate::CMD

Definition at line 81 of file ctkVTKCommandOptions.cpp.

Definition at line 85 of file ctkVTKCommandOptions.cpp.

Definition at line 83 of file ctkVTKCommandOptions.cpp.

Definition at line 84 of file ctkVTKCommandOptions.cpp.

Definition at line 87 of file ctkVTKCommandOptions.cpp.

Definition at line 86 of file ctkVTKCommandOptions.cpp.

Definition at line 91 of file ctkVTKCommandOptions.cpp.

QHash<QStringList*, std::vector<std::string>*> ctkVTKCommandOptionsPrivate::QStringListPointerToStringVectorPointerMap

Definition at line 94 of file ctkVTKCommandOptions.cpp.

Definition at line 93 of file ctkVTKCommandOptions.cpp.

Definition at line 90 of file ctkVTKCommandOptions.cpp.

Definition at line 82 of file ctkVTKCommandOptions.cpp.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines