18 #ifndef __HUSD_OutputProcessor_h__
19 #define __HUSD_OutputProcessor_h__
42 SHOULD_SAVE_FALSE = 0,
44 SHOULD_SAVE_NO_OPINION = 2
97 {
return SHOULD_SAVE_NO_OPINION; }
126 void registerOutputProcessor(
131 void unregisterOutputProcessor(
HUSD_API UT_StringHolder HUSDremoveHfsOutputProcessorName()
virtual bool hidden() const
virtual bool processSavePath(const UT_StringRef &asset_path, const UT_StringRef &referencing_layer_path, bool asset_is_layer, UT_String &newpath, UT_String &error)
virtual bool processLayer(const UT_StringRef &identifier, UT_String &error)
virtual void beginSave(OP_Node *config_node, const UT_Options &config_overrides, OP_Node *lop_node, fpreal t, const UT_Options &stage_variables, UT_String &error)
std::shared_ptr< T > UT_SharedPtr
Wrapper around std::shared_ptr.
HUSD_API HUSD_OutputProcessorPtr HUSDcreateOutputProcessor(const UT_StringRef &name)
UT_Array< HUSD_OutputProcessorPtr > HUSD_OutputProcessorArray
virtual void endSave(OP_Node *config_node, const UT_Options &config_overrides, OP_Node *lop_node, fpreal t, const UT_Options &stage_variables, const UT_StringArray &saved_paths, const UT_String &error_messages, UT_String &error)
GLuint const GLchar * name
std::function< T > UT_Function
A map of string to various well defined value types.
virtual HUSD_ShouldSave shouldSave(const UT_StringRef &save_path, const UT_StringRef &identifier, UT_String &error)
virtual bool processReferenceExpression(const UT_StringRef &asset_expression, const UT_StringRef &referencing_layer_path, bool asset_is_layer, UT_String &newpath, UT_String &error)
virtual bool processReferencePath(const UT_StringRef &asset_path, const UT_StringRef &referencing_layer_path, bool asset_is_layer, UT_String &newpath, UT_String &error)
UT_Function< HUSD_OutputProcessorPtr()> HUSD_OutputProcessorFactory
UT_SharedPtr< HUSD_OutputProcessor > HUSD_OutputProcessorPtr