HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OP_FileDependencyMgr Class Reference

#include <OP_FileDependencyMgr.h>

Public Types

enum  SkipHFSOption { SKIP_HFS_FILES, KEEP_HFS_FILES }
 
enum  TrackNodesOption { TRACK_NODES, SKIP_NODES }
 
enum  CondensePathOption { CONDENSE_HIP, CONDENSE_JOB }
 
enum  OpdefOption { EXCLUDE_OPDEFS, INCLUDE_OPDEFS }
 

Public Member Functions

 OP_FileDependencyMgr ()
 
void getInputFilesInParms (SkipHFSOption skip_hfs_option, TrackNodesOption track_nodes_option, OpdefOption opdef_option, OP_NodeFileNameArray &found_files, OP_NodeFileNameArray &unknown_files) const
 
void getNodeInputFilesInParms (OP_Node &node, bool recurse, SkipHFSOption skip_hfs_option, TrackNodesOption track_nodes_option, OpdefOption opdef_option, OP_NodeFileNameArray &found_files, OP_NodeFileNameArray &unknown_files) const
 
void getOTLFiles (UT_StringArray &files, OP_NodeList *otl_nodes_out, SkipHFSOption skip_hfs_option=SKIP_HFS_FILES, CondensePathOption condense_path_option=CONDENSE_HIP) const
 
void getNodeOTLFiles (OP_Node &node, bool recurse, UT_StringArray &files, OP_NodeList *otl_nodes_out, SkipHFSOption skip_hfs_option=SKIP_HFS_FILES, CondensePathOption condense_path_option=CONDENSE_HIP) const
 
void mergeDependencyLists (const OP_NodeFileNameArray &src_refs1, const OP_NodeFileNameArray &src_refs2, OP_NodeFileNameArray &dest_refs, TrackNodesOption track_nodes_option) const
 
bool addFileDependency (UT_String node_path, UT_String str_parm, UT_String file_path, UT_String resultMsg) const
 
bool removeFileDependency (UT_String node_path, UT_String str_parm, UT_String resultMsg) const
 
bool hideFileDependency (UT_String node_path, UT_String str_parm, UT_String resultMsg) const
 
void setUnselectedFilePatterns (const UT_StringArray &unselected_patterns)
 
void getUnselectedFilePatterns (UT_StringArray &result)
 

Detailed Description

Definition at line 54 of file OP_FileDependencyMgr.h.

Member Enumeration Documentation

Enumerator
CONDENSE_HIP 
CONDENSE_JOB 

Definition at line 61 of file OP_FileDependencyMgr.h.

Enumerator
EXCLUDE_OPDEFS 
INCLUDE_OPDEFS 

Definition at line 62 of file OP_FileDependencyMgr.h.

Enumerator
SKIP_HFS_FILES 
KEEP_HFS_FILES 

Definition at line 59 of file OP_FileDependencyMgr.h.

Enumerator
TRACK_NODES 
SKIP_NODES 

Definition at line 60 of file OP_FileDependencyMgr.h.

Constructor & Destructor Documentation

OP_FileDependencyMgr::OP_FileDependencyMgr ( )

Member Function Documentation

bool OP_FileDependencyMgr::addFileDependency ( UT_String  node_path,
UT_String  str_parm,
UT_String  file_path,
UT_String  resultMsg 
) const
void OP_FileDependencyMgr::getInputFilesInParms ( SkipHFSOption  skip_hfs_option,
TrackNodesOption  track_nodes_option,
OpdefOption  opdef_option,
OP_NodeFileNameArray found_files,
OP_NodeFileNameArray unknown_files 
) const
void OP_FileDependencyMgr::getNodeInputFilesInParms ( OP_Node node,
bool  recurse,
SkipHFSOption  skip_hfs_option,
TrackNodesOption  track_nodes_option,
OpdefOption  opdef_option,
OP_NodeFileNameArray found_files,
OP_NodeFileNameArray unknown_files 
) const
void OP_FileDependencyMgr::getNodeOTLFiles ( OP_Node node,
bool  recurse,
UT_StringArray files,
OP_NodeList otl_nodes_out,
SkipHFSOption  skip_hfs_option = SKIP_HFS_FILES,
CondensePathOption  condense_path_option = CONDENSE_HIP 
) const
void OP_FileDependencyMgr::getOTLFiles ( UT_StringArray files,
OP_NodeList otl_nodes_out,
SkipHFSOption  skip_hfs_option = SKIP_HFS_FILES,
CondensePathOption  condense_path_option = CONDENSE_HIP 
) const
void OP_FileDependencyMgr::getUnselectedFilePatterns ( UT_StringArray result)
inline

Definition at line 131 of file OP_FileDependencyMgr.h.

bool OP_FileDependencyMgr::hideFileDependency ( UT_String  node_path,
UT_String  str_parm,
UT_String  resultMsg 
) const
void OP_FileDependencyMgr::mergeDependencyLists ( const OP_NodeFileNameArray src_refs1,
const OP_NodeFileNameArray src_refs2,
OP_NodeFileNameArray dest_refs,
TrackNodesOption  track_nodes_option 
) const
bool OP_FileDependencyMgr::removeFileDependency ( UT_String  node_path,
UT_String  str_parm,
UT_String  resultMsg 
) const
void OP_FileDependencyMgr::setUnselectedFilePatterns ( const UT_StringArray unselected_patterns)
inline

Definition at line 129 of file OP_FileDependencyMgr.h.


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