|
Blender V5.3
|
#include <RNA_path.hh>
Public Member Functions | |
| ParsedRNAPath ()=default | |
| ParsedRNAPath (ParsedRNAPathRef path) | |
| std::string | to_string () const |
| operator ParsedRNAPathRef () const | |
Static Public Member Functions | |
| static std::optional< ParsedRNAPath > | from_string (StringRefNull path) |
Public Attributes | |
| Vector< rna_path::Item, N > | items |
Storage for a parsed path, using a variable inline buffer to avoid allocations. This class helps to amortize the cost of string parsing across multiple uses of the RNA path. If this is just stored on the stack, a larger inline buffer can make more sense.
| N | The inline buffer size of the vector for optimized storage of common shorter paths. |
Definition at line 142 of file RNA_path.hh.
|
default |
|
inline |
Definition at line 147 of file RNA_path.hh.
References items.
|
static |
Definition at line 194 of file rna_path.cc.
References blender::StringRefNull::c_str(), blender::blender::StringRefBase::is_empty(), blender::rna_path_token(), blender::rna_path_token_in_brackets(), and blender::UString::UString().
Referenced by blender::animsys_evaluate_overrides(), blender::BKE_fcurve_blend_read_data(), blender::animrig::tests::AnimationEvaluationTest::evaluate_single_property(), blender::nladata_flush_channels(), blender::RNA_path_resolve(), blender::RNA_path_resolve_elements(), blender::RNA_path_resolve_full(), blender::RNA_path_resolve_full_maybe_null(), blender::RNA_path_resolve_property(), blender::RNA_path_resolve_property_and_item_pointer(), blender::RNA_path_resolve_property_and_item_pointer_full(), blender::RNA_path_resolve_property_full(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::tests::TEST(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), and blender::animrig::tests::TEST_F().
|
inline |
Definition at line 153 of file RNA_path.hh.
| std::string blender::ParsedRNAPath< N >::to_string | ( | ) | const |
Definition at line 285 of file rna_path.cc.
References items, and blender::rna_path::to_string().
| Vector<rna_path::Item, N> blender::ParsedRNAPath< N >::items |
Definition at line 144 of file RNA_path.hh.
Referenced by ParsedRNAPath(), and to_string().