ATLAS Offline Software
Loading...
Searching...
No Matches
LinearService Class Reference

#include <LinearService.h>

Collaboration diagram for LinearService:

Public Types

typedef std::pair< std::string, double > EntryType

Public Member Functions

 LinearService ()
 LinearService (const std::string &name, double lw, const std::vector< EntryType > &cmp)
 LinearService (const std::string &name, double lw)
 Constructor for elementary material (no components)
const std::string & name () const
double length () const
const std::vector< EntryType > & components () const

Private Attributes

std::string m_name
double m_length
std::vector< EntryTypem_components

Detailed Description

Definition at line 11 of file LinearService.h.

Member Typedef Documentation

◆ EntryType

typedef std::pair< std::string, double> LinearService::EntryType

Definition at line 14 of file LinearService.h.

Constructor & Destructor Documentation

◆ LinearService() [1/3]

LinearService::LinearService ( )
inline

Definition at line 16 of file LinearService.h.

16{}

◆ LinearService() [2/3]

LinearService::LinearService ( const std::string & name,
double lw,
const std::vector< EntryType > & cmp )
inline

Definition at line 18 of file LinearService.h.

18 :
19 m_name(name), m_length(lw), m_components(cmp) {}
std::string m_name
const std::string & name() const
std::vector< EntryType > m_components

◆ LinearService() [3/3]

LinearService::LinearService ( const std::string & name,
double lw )
inline

Constructor for elementary material (no components)

Definition at line 22 of file LinearService.h.

22 :

Member Function Documentation

◆ components()

const std::vector< EntryType > & LinearService::components ( ) const
inline

Definition at line 29 of file LinearService.h.

29{return m_components;}

◆ length()

double LinearService::length ( ) const
inline

Definition at line 27 of file LinearService.h.

27{return m_length;}

◆ name()

const std::string & LinearService::name ( ) const
inline

Definition at line 25 of file LinearService.h.

25{return m_name;}

Member Data Documentation

◆ m_components

std::vector< EntryType> LinearService::m_components
private

Definition at line 35 of file LinearService.h.

◆ m_length

double LinearService::m_length
private

Definition at line 34 of file LinearService.h.

◆ m_name

std::string LinearService::m_name
private

Definition at line 33 of file LinearService.h.


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