struct QPanda::Dependencies¶
Overview¶
Represents a sequence of dependencies (should be treated as parallel dependencies) for each node. More…
#include <OBMTQMapping.h> struct Dependencies { // typedefs typedef std::vector<Dep>::iterator Iterator; typedef std::vector<Dep>::const_iterator ConstIterator; // fields std::vector<Dep> mDeps; QNodeRef mCallPoint; // methods const Dep& operator [] (uint32_t i) const; Dep& operator [] (uint32_t i); bool empty() const; uint32_t size() const; Iterator begin(); ConstIterator begin() const; Iterator end(); ConstIterator end() const; };
Detailed Documentation¶
Represents a sequence of dependencies (should be treated as parallel dependencies) for each node.
Methods¶
const Dep& operator [] (uint32_t i) const
Forwards to the mDeps attribute.
Dep& operator [] (uint32_t i)
Forwards to the mDeps attribute.
bool empty() const
Forwards to the mDeps attribute.
uint32_t size() const
Forwards to the mDeps attribute.
Iterator begin()
Forwards to the mDeps attribute.
ConstIterator begin() const
Forwards to the mDeps attribute.
Iterator end()
Forwards to the mDeps attribute.
ConstIterator end() const
Forwards to the mDeps attribute.