Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Detail::TSchemaRuleSet::TMatches Class Reference

Definition at line 28 of file TSchemaRuleSet.h.

Public Member Functions

const TSchemaRuleGetRuleWithSource (const TString &name) const
 Return the rule that has 'name' as a source.
 
const TSchemaRuleGetRuleWithTarget (const TString &name) const
 Return the rule that has 'name' as a target.
 
Bool_t HasRuleWithSource (const TString &name, Bool_t needingAlloc) const
 Return true if the set of rules has at least one rule that has the data member named 'name' as a source.
 
Bool_t HasRuleWithTarget (const TString &name, Bool_t willset) const
 Return true if the set of rules has at least one rule that has the data member named 'name' as a target.
 
 operator bool ()
 

#include <TSchemaRuleSet.h>

Inheritance diagram for ROOT::Detail::TSchemaRuleSet::TMatches:
[legend]

Member Function Documentation

◆ GetRuleWithSource()

const TSchemaRule * TSchemaRuleSet::TMatches::GetRuleWithSource ( const TString name) const

Return the rule that has 'name' as a source.

Definition at line 467 of file TSchemaRuleSet.cxx.

◆ GetRuleWithTarget()

const TSchemaRule * TSchemaRuleSet::TMatches::GetRuleWithTarget ( const TString name) const

Return the rule that has 'name' as a target.

Definition at line 478 of file TSchemaRuleSet.cxx.

◆ HasRuleWithSource()

Bool_t TSchemaRuleSet::TMatches::HasRuleWithSource ( const TString name,
Bool_t  needingAlloc 
) const

Return true if the set of rules has at least one rule that has the data member named 'name' as a source.

If needingAlloc is true, only the rule that requires the data member to be cached will be taken in consideration.

Definition at line 492 of file TSchemaRuleSet.cxx.

◆ HasRuleWithTarget()

Bool_t TSchemaRuleSet::TMatches::HasRuleWithTarget ( const TString name,
Bool_t  willset 
) const

Return true if the set of rules has at least one rule that has the data member named 'name' as a target.

If willset is true, only the rule that will set the value of the data member.

Definition at line 522 of file TSchemaRuleSet.cxx.

◆ operator bool()

ROOT::Detail::TSchemaRuleSet::TMatches::operator bool ( )
inline

Definition at line 31 of file TSchemaRuleSet.h.

  • core/meta/inc/TSchemaRuleSet.h
  • core/meta/src/TSchemaRuleSet.cxx