BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
CriteriaItemValue Class Reference

#include <CriteriaItemValue.h>

Public Member Functions

 CriteriaItemValue ()
 
virtual ~CriteriaItemValue ()
 
void reset ()
 
void setValue (float value)
 
bool getValue (float &value) const
 
 CriteriaItemValue ()
 
virtual ~CriteriaItemValue ()
 
void reset ()
 
void setValue (float value)
 
bool getValue (float &value) const
 

Detailed Description

Constructor & Destructor Documentation

◆ CriteriaItemValue() [1/2]

CriteriaItemValue::CriteriaItemValue ( )

Definition at line 3 of file CriteriaItemValue.cxx.

4 : m_stat(false) {}

◆ ~CriteriaItemValue() [1/2]

CriteriaItemValue::~CriteriaItemValue ( )
virtual

Definition at line 6 of file CriteriaItemValue.cxx.

6{}

◆ CriteriaItemValue() [2/2]

CriteriaItemValue::CriteriaItemValue ( )

◆ ~CriteriaItemValue() [2/2]

virtual CriteriaItemValue::~CriteriaItemValue ( )
virtual

Member Function Documentation

◆ getValue() [1/2]

bool CriteriaItemValue::getValue ( float &  value) const
inline

◆ getValue() [2/2]

bool CriteriaItemValue::getValue ( float &  value) const
inline

Definition at line 18 of file InstallArea/include/HltDataTypes/HltDataTypes/CriteriaItemValue.h.

18 {
19 if (m_stat) value = m_value;
20 return m_stat;
21 }

◆ reset() [1/2]

◆ reset() [2/2]

void CriteriaItemValue::reset ( )
inline

Definition at line 11 of file InstallArea/include/HltDataTypes/HltDataTypes/CriteriaItemValue.h.

11{ m_stat = false; }

◆ setValue() [1/2]

void CriteriaItemValue::setValue ( float  value)
inline

◆ setValue() [2/2]

void CriteriaItemValue::setValue ( float  value)
inline

Definition at line 13 of file InstallArea/include/HltDataTypes/HltDataTypes/CriteriaItemValue.h.

13 {
14 m_value = value;
15 m_stat = true;
16 }

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