Changeset View
Changeset View
Standalone View
Standalone View
source/blender/io/common/IO_dupli_persistent_id.hh
| Show All 35 Lines | protected: | ||||
| PIDArray persistent_id_; | PIDArray persistent_id_; | ||||
| explicit PersistentID(const PIDArray &persistent_id_values); | explicit PersistentID(const PIDArray &persistent_id_values); | ||||
| public: | public: | ||||
| PersistentID(); | PersistentID(); | ||||
| explicit PersistentID(const DupliObject *dupli_ob); | explicit PersistentID(const DupliObject *dupli_ob); | ||||
| /* Return true iff the persistent IDs are the same, ignoring the first digit. */ | /* Return true if the persistent IDs are the same, ignoring the first digit. */ | ||||
| bool is_from_same_instancer_as(const PersistentID &other) const; | bool is_from_same_instancer_as(const PersistentID &other) const; | ||||
| /* Construct the persistent ID of this instance's instancer. */ | /* Construct the persistent ID of this instance's instancer. */ | ||||
| PersistentID instancer_pid() const; | PersistentID instancer_pid() const; | ||||
| /* Construct a string representation by reversing the persistent ID. | /* Construct a string representation by reversing the persistent ID. | ||||
| * In case of a duplicator that is duplicated itself as well, this | * In case of a duplicator that is duplicated itself as well, this | ||||
| * results in strings like: | * results in strings like: | ||||
| Show All 13 Lines | |||||