Blender
V3.3
|
#include <IO_dupli_persistent_id.hh>
Public Member Functions | |
PersistentID () | |
PersistentID (const DupliObject *dupli_ob) | |
bool | is_from_same_instancer_as (const PersistentID &other) const |
PersistentID | instancer_pid () const |
std::string | as_object_name_suffix () const |
Protected Types | |
typedef std::array< int, array_length_ > | PIDArray |
Protected Member Functions | |
PersistentID (const PIDArray &persistent_id_values) | |
Protected Attributes | |
PIDArray | persistent_id_ |
Static Protected Attributes | |
constexpr static int | array_length_ = MAX_DUPLI_RECUR |
Friends | |
bool | operator== (const PersistentID &persistent_id_a, const PersistentID &persistent_id_b) |
bool | operator< (const PersistentID &persistent_id_a, const PersistentID &persistent_id_b) |
std::ostream & | operator<< (std::ostream &os, const PersistentID &persistent_id) |
Definition at line 16 of file IO_dupli_persistent_id.hh.
|
protected |
Definition at line 19 of file IO_dupli_persistent_id.hh.
|
explicitprotected |
Definition at line 25 of file dupli_persistent_id.cc.
References persistent_id_.
blender::io::PersistentID::PersistentID | ( | ) |
Definition at line 13 of file dupli_persistent_id.cc.
References persistent_id_.
Referenced by instancer_pid().
|
explicit |
Definition at line 18 of file dupli_persistent_id.cc.
References array_length_, DupliObject::persistent_id, and persistent_id_.
std::string blender::io::PersistentID::as_object_name_suffix | ( | ) | const |
Definition at line 72 of file dupli_persistent_id.cc.
References array_length_, and persistent_id_.
PersistentID blender::io::PersistentID::instancer_pid | ( | ) | const |
Definition at line 55 of file dupli_persistent_id.cc.
References array_length_, persistent_id_, and PersistentID().
Referenced by blender::io::DupliParentFinder::insert(), and blender::io::TEST_F().
bool blender::io::PersistentID::is_from_same_instancer_as | ( | const PersistentID & | other | ) | const |
Definition at line 30 of file dupli_persistent_id.cc.
References array_length_, and persistent_id_.
Referenced by blender::io::TEST_F().
|
friend |
Definition at line 94 of file dupli_persistent_id.cc.
|
friend |
Definition at line 135 of file dupli_persistent_id.cc.
|
friend |
Definition at line 115 of file dupli_persistent_id.cc.
|
staticconstexprprotected |
Definition at line 18 of file IO_dupli_persistent_id.hh.
Referenced by as_object_name_suffix(), instancer_pid(), is_from_same_instancer_as(), and PersistentID().
|
protected |
Definition at line 20 of file IO_dupli_persistent_id.hh.
Referenced by as_object_name_suffix(), instancer_pid(), is_from_same_instancer_as(), and PersistentID().