CbmRoot
Loading...
Searching...
No Matches
CollapsibleElement Class Reference

Interface to the element, which can contain daughter elements. More...

#include <CbmQaReportElement.h>

Inheritance diagram for CollapsibleElement:
[legend]
Collaboration diagram for CollapsibleElement:
[legend]

Public Member Functions

virtual ~CollapsibleElement ()=default
 Destructor.
 
virtual void Add (std::shared_ptr< Element > pElement)
 Adds element.
 
const std::vector< std::shared_ptr< Element > > GetDaughterElements () const
 Get daughter elements.
 
 Element (std::string_view label, std::string_view title)
 Constructor.
 
 Element ()=default
 Default constructor.
 

Private Attributes

std::vector< std::shared_ptr< Element > > fvDaughterElements
 Daughter elements.
 

Detailed Description

Interface to the element, which can contain daughter elements.

Definition at line 71 of file CbmQaReportElement.h.

Constructor & Destructor Documentation

◆ ~CollapsibleElement()

virtual cbm::qa::report::CollapsibleElement::~CollapsibleElement ( )
virtualdefault

Destructor.

Member Function Documentation

◆ Add()

virtual void cbm::qa::report::CollapsibleElement::Add ( std::shared_ptr< Element > pElement)
inlinevirtual

Adds element.

Definition at line 80 of file CbmQaReportElement.h.

◆ Element() [1/2]

cbm::qa::report::Element::Element ( )
default

Default constructor.

◆ Element() [2/2]

cbm::qa::report::Element::Element ( std::string_view label,
std::string_view title )
inline

Constructor.

Parameters
labelElement label
titleElement title

Definition at line 32 of file CbmQaReportElement.h.

◆ GetDaughterElements()

const std::vector< std::shared_ptr< Element > > cbm::qa::report::CollapsibleElement::GetDaughterElements ( ) const
inline

Get daughter elements.

Definition at line 87 of file CbmQaReportElement.h.

Member Data Documentation

◆ fvDaughterElements

std::vector<std::shared_ptr<Element> > cbm::qa::report::CollapsibleElement::fvDaughterElements
private

Daughter elements.

Definition at line 90 of file CbmQaReportElement.h.


The documentation for this class was generated from the following file: