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

#include <PI_ImportUtils.h>

Static Public Member Functions

static PI_ImportType queryImportType (const char *source)
 
static void buildFolderToken (UT_WorkBuffer &buffer, const char *switcher, const char *folder)
 
static OP_NodeparseOpSource (const char *source, const OP_Node *relative_to, UT_String &src_node_path)
 
static void buildOpSource (UT_WorkBuffer &buffer, const char *rel_node_path)
 
static bool validateOpSource (const char *source, const char *token, bool is_folder, bool is_multiparm, const char *src_node_rel_path, const UT_SymbolMap< PRM_Parm * > &parm_table)
 
static bool isAvailableForImport (const PRM_Template *templ, int subindex=-1)
 
static bool isAvailableForImport (const PRM_Parm *parm, int subindex=-1)
 
static bool parseFileSource (const char *source, UT_String &file)
 
static void buildFileSource (UT_WorkBuffer &buffer, const char *file_path)
 
static UT_UniquePtr
< PRM_ScriptPage
parseImportFile (const char *file)
 
static bool validateFileSource (const char *source, const char *token, bool is_folder, bool is_multiparm, const char *file, const UT_SymbolMap< PRM_ScriptParm * > &parm_table)
 

Detailed Description

Definition at line 39 of file PI_ImportUtils.h.

Member Function Documentation

static void PI_ImportUtils::buildFileSource ( UT_WorkBuffer buffer,
const char *  file_path 
)
static
static void PI_ImportUtils::buildFolderToken ( UT_WorkBuffer buffer,
const char *  switcher,
const char *  folder 
)
static
static void PI_ImportUtils::buildOpSource ( UT_WorkBuffer buffer,
const char *  rel_node_path 
)
static
static bool PI_ImportUtils::isAvailableForImport ( const PRM_Template templ,
int  subindex = -1 
)
static
static bool PI_ImportUtils::isAvailableForImport ( const PRM_Parm parm,
int  subindex = -1 
)
static
static bool PI_ImportUtils::parseFileSource ( const char *  source,
UT_String file 
)
static
static UT_UniquePtr<PRM_ScriptPage> PI_ImportUtils::parseImportFile ( const char *  file)
static
static OP_Node* PI_ImportUtils::parseOpSource ( const char *  source,
const OP_Node relative_to,
UT_String src_node_path 
)
static
static PI_ImportType PI_ImportUtils::queryImportType ( const char *  source)
static
static bool PI_ImportUtils::validateFileSource ( const char *  source,
const char *  token,
bool  is_folder,
bool  is_multiparm,
const char *  file,
const UT_SymbolMap< PRM_ScriptParm * > &  parm_table 
)
static
static bool PI_ImportUtils::validateOpSource ( const char *  source,
const char *  token,
bool  is_folder,
bool  is_multiparm,
const char *  src_node_rel_path,
const UT_SymbolMap< PRM_Parm * > &  parm_table 
)
static

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