LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Visitor Struct Reference

Public Member Functions

 Visitor ()
 
void operator() (const RTree::Leaf *const leaf)
 

Public Attributes

unsigned int count
 
std::vector< unsigned int > vResult
 
std::set< unsigned int > sResult
 
const bool ContinueVisiting
 

Detailed Description

Definition at line 52 of file DBScanAlg.cxx.

Constructor & Destructor Documentation

Visitor::Visitor ( )
inline

Definition at line 57 of file DBScanAlg.cxx.

57 : count(0), vResult(), sResult(), ContinueVisiting(true){};
unsigned int count
Definition: DBScanAlg.cxx:53
std::set< unsigned int > sResult
Definition: DBScanAlg.cxx:55
std::vector< unsigned int > vResult
Definition: DBScanAlg.cxx:54
const bool ContinueVisiting
Definition: DBScanAlg.cxx:56

Member Function Documentation

void Visitor::operator() ( const RTree::Leaf *const  leaf)
inline

Definition at line 58 of file DBScanAlg.cxx.

59  {
60  vResult.push_back(leaf->leaf);
61  sResult.insert(leaf->leaf);
62  count++;
63  }
unsigned int count
Definition: DBScanAlg.cxx:53
std::set< unsigned int > sResult
Definition: DBScanAlg.cxx:55
std::vector< unsigned int > vResult
Definition: DBScanAlg.cxx:54

Member Data Documentation

const bool Visitor::ContinueVisiting

Definition at line 56 of file DBScanAlg.cxx.

unsigned int Visitor::count

Definition at line 53 of file DBScanAlg.cxx.

Referenced by cluster::DBScanAlg::InitScan().

std::set<unsigned int> Visitor::sResult

Definition at line 55 of file DBScanAlg.cxx.

Referenced by cluster::DBScanAlg::RegionQuery().

std::vector<unsigned int> Visitor::vResult

Definition at line 54 of file DBScanAlg.cxx.

Referenced by cluster::DBScanAlg::RegionQuery_vector().


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