DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dbe::config::api::graph::linked::to Namespace Reference

Functions

template<typename T >
std::vector< T > object (tref const &)
 
template<>
std::vector< inner::configobject::trefobject< inner::configobject::tref > (inner::configobject::tref const &o)
 

Function Documentation

◆ object()

template<typename T >
std::vector< T > dbe::config::api::graph::linked::to::object ( tref const & )

Get objects referencing a given object

e.g. when querying on A

A<-c-B , and another A<-c-D returns {B,D} but A<-c-B , A<-d-B return {B}

Parameters
anobject for which objects must be retrieved
Returns
a vector objects which link to this object

◆ object< inner::configobject::tref >()

Definition at line 308 of file config_api_graph.cpp.

342{
343 // Use with caution ... takes for ever to complete due to the underlying
344 // ConfigObject implementation
345 return o.referenced_by ( "*", false );
346}