Blender  V3.3
Public Member Functions | Protected Attributes | List of all members
blender::deg::RootPChanMap Struct Reference

#include <deg_builder_pchanmap.h>

Public Member Functions

void print_debug ()
 
void add_bone (const char *bone, const char *root)
 
bool has_common_root (const char *bone1, const char *bone2) const
 

Protected Attributes

Map< StringRefNull, Set< StringRefNull > > map_
 

Detailed Description

Definition at line 14 of file deg_builder_pchanmap.h.

Member Function Documentation

◆ add_bone()

void blender::deg::RootPChanMap::add_bone ( const char *  bone,
const char *  root 
)

◆ has_common_root()

bool blender::deg::RootPChanMap::has_common_root ( const char *  bone1,
const char *  bone2 
) const

◆ print_debug()

void blender::deg::RootPChanMap::print_debug ( )

Debug contents of map.

Definition at line 17 of file deg_builder_pchanmap.cc.

References blender::StringRefBase::data(), and map_.

Member Data Documentation

◆ map_

Map<StringRefNull, Set<StringRefNull> > blender::deg::RootPChanMap::map_
protected

The strings are only referenced by this map. Users of RootPChanMap have to make sure that the life-time of the strings is long enough.

Definition at line 29 of file deg_builder_pchanmap.h.

Referenced by add_bone(), has_common_root(), and print_debug().


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