#include <treenode.hpp>
Definition at line 100 of file treenode.hpp.
◆ RelationshipNode()
Definition at line 335 of file treenode.cpp.
337 :
340{
341 Data.append ( QVariant ( QString::fromStdString (
relation.p_name ) ) );
342
343 std::vector<tref> DataList;
345
350 {
351 try
352 {
355 ObjectParent,
356 relation );
357 DataList.push_back (
Data );
358 }
359 catch ( daq::dbe::config_object_retrieval_result_is_null const & e )
360 {
361
362 }
363 }
364 else
365 {
366 DataList =
368 ObjectParent,
370 }
371
372 for (
tref const & Object : DataList )
373 {
374 new ObjectNode ( Object,
true,
static_cast<treenode *
> (
this ) );
375 }
376
377 if ( DataList.size() > 0 )
378 {
380 }
381
383}
dunedaq::conffwk::relationship_t relation_t_definition
treenode * GetParent() const
void SetHasStructure(bool Structure)
virtual tref GetObject() const
treenode(treenode *ParentNode=nullptr)
Including QT Headers.
void SetWasFetched(bool Fetched)
tref relation< tref >(tref object, dunedaq::conffwk::relationship_t const &r)
T relation(tref item, dunedaq::conffwk::relationship_t const &relation)
inner::configobject::tref tref
cardinality_t p_cardinality
◆ ~RelationshipNode()
| dbe::RelationshipNode::~RelationshipNode |
( |
| ) |
|
|
default |
◆ GetData()
| QVariant dbe::RelationshipNode::GetData |
( |
const int | Column, |
|
|
int | role = Qt::DisplayRole ) const |
|
virtual |
Reimplemented from dbe::treenode.
Definition at line 387 of file treenode.cpp.
388{
389 switch ( role )
390 {
391
392 case Qt::DisplayRole:
393 return Data.value ( Column );
394
395 case Qt::DecorationRole:
396
397 if ( Column == 0 )
398 {
399 return QIcon ( ":/Images/SLink.png" );
400 }
401 }
402
403 return QVariant();
404}
◆ relation_t()
◆ relation_t_definition
The documentation for this class was generated from the following files:
- /github/workspace/dunedaq/sourcecode/dbe/include/dbe/treenode.hpp
- /github/workspace/dunedaq/sourcecode/dbe/src/structure/treenode.cpp