11 #ifndef __OP_FileDependencyMgr_h__
12 #define __OP_FileDependencyMgr_h__
32 myFileName(file_name),
68 void getInputFilesInParms(SkipHFSOption skip_hfs_option,
69 TrackNodesOption track_nodes_option,
70 OpdefOption opdef_option,
76 void getNodeInputFilesInParms(
OP_Node &node,
bool recurse,
77 SkipHFSOption skip_hfs_option,
78 TrackNodesOption track_nodes_option,
79 OpdefOption opdef_option,
87 SkipHFSOption skip_hfs_option=SKIP_HFS_FILES,
88 CondensePathOption condense_path_option = CONDENSE_HIP)
const;
92 void getNodeOTLFiles(
OP_Node &node,
bool recurse,
94 SkipHFSOption skip_hfs_option=SKIP_HFS_FILES,
95 CondensePathOption condense_path_option = CONDENSE_HIP)
const;
101 TrackNodesOption track_nodes_option)
const;
106 bool addFileDependency(
UT_String node_path,
114 bool removeFileDependency(
UT_String node_path,
121 bool hideFileDependency(
UT_String node_path,
130 { myUnselectedFilePatterns = unselected_patterns; }
132 { result = myUnselectedFilePatterns; }
139 SkipHFSOption skip_hfs_option=SKIP_HFS_FILES,
140 CondensePathOption condense_path_option = CONDENSE_HIP,
141 bool recurse=
true)
const;
145 bool findPathToFileName(
UT_String &file_name)
const;
149 bool parmReferencesInputFile(
OP_Node *owner,
151 OpdefOption opdef_option)
const;
155 bool fileIsInHFS(
const char *file_name)
const;
161 void getInputFilesInParms(
OP_Node &network,
162 SkipHFSOption skip_hfs_option,
163 TrackNodesOption track_nodes_option,
164 OpdefOption opdef_option,
174 SkipHFSOption skip_hfs_option,
175 OpdefOption opdef_option,
180 void cleanupInputFilesResult(TrackNodesOption track_nodes_option,
185 void removeDuplicatesFromNodeFileNameArray
187 TrackNodesOption track_nodes_option)
191 void removeDuplicatesFromStringArray(
UT_StringArray &string_array)
const;
200 bool determineRootType(
208 UT_String &
path, CondensePathOption condense_path_option)
const;
212 bool getUnembeddedVexFileForOpType(
OP_API void OPsetFileDependencyMgr(OP_FileDependencyMgr &file_dependency_mgr)
GLsizei const GLchar *const * path
**But if you need a result
OP_NodeFileNamePair(OP_Node *node, const char *file_name, PRM_Parm *parm=NULL, PRM_Parm *ref_parm=NULL)
void getUnselectedFilePatterns(UT_StringArray &result)
void setUnselectedFilePatterns(const UT_StringArray &unselected_patterns)
UT_Array< OP_NodeFileNamePair > OP_NodeFileNameArray
OP_API OP_FileDependencyMgr & OPgetFileDependencyMgr()