83#define BKE_TEMPLATE_EXPRESSION_ABBREVIATION "{" BLI_STR_UTF8_HORIZONTAL_ELLIPSIS "}"
292 size_t starting_offset);
337 const ID *path_owner_id,
371 const bNode &owning_node);
std::optional< int64_t > get_integer(StringRef name) const
bool add_filename_only(StringRef var_name, StringRefNull full_path, StringRef fallback)
bool add_float(StringRef name, double value)
bool add_path_up_to_file(StringRef var_name, StringRefNull full_path, StringRef fallback)
bool remove(StringRef name)
std::optional< double > get_float(StringRef name) const
std::optional< StringRefNull > get_filepath(StringRef name) const
std::optional< StringRefNull > get_string(StringRef name) const
bool add_integer(StringRef name, int64_t value)
bool contains(StringRef name) const
bool add_string(StringRef name, StringRef value)
bool add_filepath(StringRef name, StringRef value)
std::optional< ExpressionInfo > next_template_variable_expression(StringRef text, size_t starting_offset)
bool operator==(const Error &left, const Error &right)
void BKE_add_template_variables_general(bke::path_templates::VariableMap &variables, const ID *path_owner_id, const bke::BlenderProject *project)
bool BKE_path_contains_template_syntax(StringRef path)
Vector< bke::path_templates::Error > BKE_path_apply_template_alloc(char **path, int path_maxncpy, const bke::path_templates::VariableMap &template_variables)
void BKE_report_path_template_errors(ReportList *reports, eReportType report_type, StringRef path, Span< bke::path_templates::Error > errors)
std::string BKE_path_template_error_to_string(const bke::path_templates::Error &error, StringRef path)
void BKE_add_template_variables_for_render_path(bke::path_templates::VariableMap &variables, const Scene &scene)
void BKE_add_template_variables_for_node(bke::path_templates::VariableMap &variables, const bNode &owning_node)
Vector< bke::path_templates::Error > BKE_path_apply_template(char *path, int path_maxncpy, const bke::path_templates::VariableMap &template_variables)
std::string BKE_path_template_escape(StringRef text)
std::optional< bke::path_templates::VariableMap > BKE_build_template_variables_for_prop(const bContext *C, PointerRNA *ptr, PropertyRNA *prop)
void BKE_add_template_variables_for_project(bke::path_templates::VariableMap &variables, const bke::BlenderProject &project)
Vector< bke::path_templates::Error > BKE_path_validate_template(StringRef path, const bke::path_templates::VariableMap &template_variables)
std::optional< std::string > BKE_path_template_format_float(StringRef format_specifier, double value)
std::optional< std::string > BKE_path_template_format_int(StringRef format_specifier, int64_t value)