MCPcopy Create free account
hub / github.com/actor-framework/actor-framework / activated

Method activated

libcaf_test/caf/test/context.cpp:33–35  ·  view source on GitHub ↗

Checks whether `ptr` has been activated this run, i.e., whether we can find it in `unwind_stack`.

Source from the content-addressed store, hash-verified

31/// Checks whether `ptr` has been activated this run, i.e., whether we can
32/// find it in `unwind_stack`.
33bool context::activated(block* ptr) const noexcept {
34 return std::find(path.begin(), path.end(), ptr) != path.end();
35}
36
37/// Tries to find `name` in `parameters` and otherwise raises an exception.
38const std::string& context::parameter(const std::string& name) const {

Callers 2

commitMethod · 0.80
commitMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected