ONE - On-device Neural Engine
|
A Dep represents the edge between a Bag and its dependent Object. More...
#include <Dep.h>
Public Member Functions | |
Dep ()=default | |
Dep (const Dep &)=delete | |
Dep (Dep &&)=delete | |
~Dep () | |
Bag * | bag (void) const |
void | bag (Bag *) |
Object * | object (void) const |
void | object (Object *object) |
A Dep represents the edge between a Bag and its dependent Object.
WARNING A Dep will update dependent Object set (stored BagInfo) only when users properly initialize object and link values.
|
default |
|
delete |
|
delete |
coco::Dep::~Dep | ( | ) |
void coco::Dep::bag | ( | Bag * | bag | ) |
Definition at line 27 of file Dep.cpp.
References bag(), and coco::Bag::deps().
|
inline |
Definition at line 45 of file Dep.h.
Referenced by bag(), coco::Object::bag(), coco::Object::bag(), and ~Dep().
|
inline |
|
inline |