Blender V5.3
blender::bke::path_templates::ExpressionInfo Struct Reference

#include <BKE_path_templates.hh>

Public Attributes

IndexRange byte_range
StringRef variable_name

Detailed Description

Info about a template variable expression in a string.

Definition at line 254 of file BKE_path_templates.hh.

Member Data Documentation

◆ byte_range

IndexRange blender::bke::path_templates::ExpressionInfo::byte_range

Byte index range (exclusive on the right) of the expression in the string.

This includes the starting/ending braces of the expression.

Definition at line 260 of file BKE_path_templates.hh.

Referenced by blender::bke::path_templates::next_template_variable_expression().

◆ variable_name

StringRef blender::bke::path_templates::ExpressionInfo::variable_name

Reference to the variable name as written in the template string.

Note that this points into the template string, and does not own the value.

Definition at line 267 of file BKE_path_templates.hh.

Referenced by blender::bke::path_templates::next_template_variable_expression().


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