32#ifndef vtkResourceFileLocator_h
33#define vtkResourceFileLocator_h
35#include "vtkCommonMiscModule.h"
59 void SetPrintDebugInformation(
bool);
61 bool GetPrintDebugInformation();
63 void PrintDebugInformationOn();
65 void PrintDebugInformationOff();
73 vtkSetMacro(LogVerbosity,
int);
74 vtkGetMacro(LogVerbosity,
int);
83 virtual std::
string Locate(const std::
string& anchor, const std::
string& landmark,
84 const std::
string& defaultDir = std::
string());
96 virtual std::
string Locate(const std::
string& anchor,
97 const std::
vector<std::
string>& landmark_prefixes, const std::
string& landmark,
98 const std::
string& defaultDir = std::
string());
110 static
VTK_FILEPATH std::
string GetLibraryPathForSymbolUnix(const
char* symbolname);
111 static
VTK_FILEPATH std::
string GetLibraryPathForSymbolWin32(const
void* fptr);
125#if defined(_WIN32) && !defined(__CYGWIN__)
126#define vtkGetLibraryPathForSymbol(function) \
127 vtkResourceFileLocator::GetLibraryPathForSymbolWin32(reinterpret_cast<const void*>(&function))
129#define vtkGetLibraryPathForSymbol(function) \
130 vtkResourceFileLocator::GetLibraryPathForSymbolUnix(#function)
a simple class to control print indentation
abstract base class for most VTK objects
utility to locate resource files.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkResourceFileLocator * New()
#define VTK_DEPRECATED_IN_9_0_0(reason)