Public Member Functions | Private Attributes | List of all members
lar_content::BranchGrowingAlgorithm::Association Class Reference

Association class. More...

#include <BranchGrowingAlgorithm.h>

Public Member Functions

 Association ()
 Default constructor. More...
 
 Association (const unsigned int order, const AssociationType type)
 Constructor. More...
 
void SetOrder (const unsigned int order)
 Set association order. More...
 
void SetType (const AssociationType associationType)
 Set association type. More...
 
unsigned int GetOrder () const
 Get association order. More...
 
AssociationType GetType () const
 Get association type. More...
 

Private Attributes

unsigned int m_order
 
AssociationType m_type
 

Detailed Description

Association class.

Definition at line 38 of file BranchGrowingAlgorithm.h.

Constructor & Destructor Documentation

lar_content::BranchGrowingAlgorithm::Association::Association ( )
inline
lar_content::BranchGrowingAlgorithm::Association::Association ( const unsigned int  order,
const AssociationType  type 
)
inline

Constructor.

Parameters
orderthe association order
typethe association type

Definition at line 135 of file BranchGrowingAlgorithm.h.

Member Function Documentation

unsigned int lar_content::BranchGrowingAlgorithm::Association::GetOrder ( ) const
inline

Get association order.

Returns
the association order

Definition at line 155 of file BranchGrowingAlgorithm.h.

156 {
157  return m_order;
158 }
BranchGrowingAlgorithm::AssociationType lar_content::BranchGrowingAlgorithm::Association::GetType ( ) const
inline

Get association type.

Returns
the association type

Definition at line 162 of file BranchGrowingAlgorithm.h.

163 {
164  return m_type;
165 }
void lar_content::BranchGrowingAlgorithm::Association::SetOrder ( const unsigned int  order)
inline

Set association order.

Parameters
orderthe association order

Definition at line 141 of file BranchGrowingAlgorithm.h.

142 {
143  m_order = order;
144 }
void lar_content::BranchGrowingAlgorithm::Association::SetType ( const AssociationType  associationType)
inline

Set association type.

Parameters
associationTypethe association type

Definition at line 148 of file BranchGrowingAlgorithm.h.

149 {
150  m_type = associationType;
151 }

Member Data Documentation

unsigned int lar_content::BranchGrowingAlgorithm::Association::m_order
private

Definition at line 83 of file BranchGrowingAlgorithm.h.

AssociationType lar_content::BranchGrowingAlgorithm::Association::m_type
private

Definition at line 84 of file BranchGrowingAlgorithm.h.


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