Belle II Software light-2406-ragdoll
GeoComponent Class Reference

Describe one component of the Geometry. More...

#include <GeoComponent.h>

Inheritance diagram for GeoComponent:
Collaboration diagram for GeoComponent:

Public Member Functions

 GeoComponent ()=default
 empty constructor for ROOT
 
 GeoComponent (const std::string &name, const std::string &creator, const std::string &library)
 full constructor
 
void setName (const std::string &name)
 set name of the component
 
void setCreator (const std::string &creator)
 set name of the creator used to construct the component
 
void setLibrary (const std::string &library)
 set name of the library to load for the creator
 
const std::string & getName () const
 get name of the component
 
const std::string & getCreator () const
 get name of the creator used to construct the component
 
const std::string & getLibrary () const
 get name of the library to load for the creator
 

Private Member Functions

 ClassDef (GeoComponent, 1)
 Add ROOT reflection info.
 

Private Attributes

std::string m_name
 name of the component
 
std::string m_creator
 name of the creator used to construct the component
 
std::string m_library
 name of the library to load for the creator
 

Detailed Description

Describe one component of the Geometry.

Definition at line 19 of file GeoComponent.h.

Constructor & Destructor Documentation

◆ GeoComponent()

GeoComponent ( const std::string &  name,
const std::string &  creator,
const std::string &  library 
)
inline

full constructor

Definition at line 24 of file GeoComponent.h.

24 : TObject(),
25 m_name(name), m_creator(creator), m_library(library) {}
std::string m_library
name of the library to load for the creator
Definition: GeoComponent.h:44
std::string m_creator
name of the creator used to construct the component
Definition: GeoComponent.h:42
std::string m_name
name of the component
Definition: GeoComponent.h:40

Member Function Documentation

◆ getCreator()

const std::string & getCreator ( ) const
inline

get name of the creator used to construct the component

Definition at line 35 of file GeoComponent.h.

35{ return m_creator; }

◆ getLibrary()

const std::string & getLibrary ( ) const
inline

get name of the library to load for the creator

Definition at line 37 of file GeoComponent.h.

37{ return m_library; }

◆ getName()

const std::string & getName ( ) const
inline

get name of the component

Definition at line 33 of file GeoComponent.h.

33{ return m_name; }

◆ setCreator()

void setCreator ( const std::string &  creator)
inline

set name of the creator used to construct the component

Definition at line 29 of file GeoComponent.h.

29{ m_creator = creator; }

◆ setLibrary()

void setLibrary ( const std::string &  library)
inline

set name of the library to load for the creator

Definition at line 31 of file GeoComponent.h.

31{ m_library = library; }

◆ setName()

void setName ( const std::string &  name)
inline

set name of the component

Definition at line 27 of file GeoComponent.h.

27{ m_name = name; }

Member Data Documentation

◆ m_creator

std::string m_creator
private

name of the creator used to construct the component

Definition at line 42 of file GeoComponent.h.

◆ m_library

std::string m_library
private

name of the library to load for the creator

Definition at line 44 of file GeoComponent.h.

◆ m_name

std::string m_name
private

name of the component

Definition at line 40 of file GeoComponent.h.


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