Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkTestUtilities Struct Reference

#include <vtkTesting.h>

List of all members.

Static Public Member Functions

char * ExpandDataFileName (int argc, char *argv[], const char *fname, int slash=0)


Member Function Documentation

char* vtkTestUtilities::ExpandDataFileName int  argc,
char *  argv[],
const char *  fname,
int  slash = 0
[static]
 

Given a file name, this function returns a new string which is (in theory) the full path. This path is constructed by prepending the file name with a command line argument (-D path) or VTK_DATA_ROOT env. variable. If slash is true, appends a slash to the resulting string. The returned string has to be deleted (with delete[]) by the user.


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