Blender V5.3
blender::animrig::EvaluationResult Class Reference

#include <ANIM_evaluation.hh>

Inherited by blender::animrig::tests::AccessibleEvaluationResult.

Public Member Functions

 EvaluationResult ()=default
 operator bool () const
bool is_empty () const
void reserve (const int64_t size)
void store (const ParsedRNAPathRef rna_path, const int array_index, const float value, PathResolvedRNA prop_rna)
const AnimatedProperty * lookup_ptr (const PropIdentifier &key) const
AnimatedProperty * lookup_ptr (const PropIdentifier &key)
EvaluationMap::ItemIterator items () const

Protected Types

using EvaluationMap = Map<PropIdentifier, AnimatedProperty>

Protected Attributes

EvaluationMap result_

Detailed Description

Definition at line 71 of file ANIM_evaluation.hh.

Member Typedef Documentation

◆ EvaluationMap

Constructor & Destructor Documentation

◆ EvaluationResult()

blender::animrig::EvaluationResult::EvaluationResult ( )
default

Member Function Documentation

◆ is_empty()

bool blender::animrig::EvaluationResult::is_empty ( ) const
inline

◆ items()

EvaluationMap::ItemIterator blender::animrig::EvaluationResult::items ( ) const
inline

◆ lookup_ptr() [1/2]

AnimatedProperty * blender::animrig::EvaluationResult::lookup_ptr ( const PropIdentifier & key)
inline

◆ lookup_ptr() [2/2]

const AnimatedProperty * blender::animrig::EvaluationResult::lookup_ptr ( const PropIdentifier & key) const
inline

◆ operator bool()

blender::animrig::EvaluationResult::operator bool ( ) const
inline

Definition at line 79 of file ANIM_evaluation.hh.

References is_empty().

◆ reserve()

void blender::animrig::EvaluationResult::reserve ( const int64_t size)
inline

When the expected count of entries is known, reserving with size instead of growing on demand is more performant.

Definition at line 92 of file ANIM_evaluation.hh.

References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::reserve(), and result_.

◆ store()

Member Data Documentation

◆ result_

EvaluationMap blender::animrig::EvaluationResult::result_
protected

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