xc
Factors.h
1 // -*-c++-*-
2 //----------------------------------------------------------------------------
3 // xc utils library; general purpose classes and functions.
4 //
5 // Copyright (C) Luis C. PĂ©rez Tato
6 //
7 // XC utils is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation, either version 3 of the License, or
10 // (at your option) any later version.
11 //
12 // This software is distributed in the hope that it will be useful, but
13 // WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with this program.
19 // If not, see <http://www.gnu.org/licenses/>.
20 //----------------------------------------------------------------------------
21 //Factors.h
22 //Container for the partial safety factors and the combination factors.
23 
24 #ifndef FACTORS_H
25 #define FACTORS_H
26 
27 #include "CombinationFactorsMap.h"
28 #include "PartialSafetyFactorsMap.h"
29 
30 namespace cmb_acc{
32 //
34 class Factors: public CommandEntity
35  {
36  private:
37  PartialSafetyFactorsMap partial_safety_factors;
38  CombinationFactorsMap combination_factors;
39 
40  public:
42 
43  const CombinationFactorsMap *getPtrCombinationFactors(void) const
44  { return &combination_factors; }
45  const CombinationFactorsMap &getCombinationFactors(void) const
46  { return combination_factors; }
47  const PartialSafetyFactorsMap *getPtrPartialSafetyFactors(void) const
48  { return &partial_safety_factors; }
49  const PartialSafetyFactorsMap &getPartialSafetyFactors(void) const
50  { return partial_safety_factors; }
51  };
52 } //fin namespace nmb_acc.
53 
54 #endif
Contenedor de coeficientes de simultaneidad de acciones.
Definition: CombinationFactorsMap.h:39
Partial safety factors container.
Definition: PartialSafetyFactorsMap.h:37
Routines to generate combinations of actions.
Almacena todas las familias de acciones.
Definition: Factors.h:34
Objet that can execute python scripts.
Definition: CommandEntity.h:40
Factors(const PartialSafetyFactorsMap &psf=PartialSafetyFactorsMap(), const CombinationFactorsMap &cf=CombinationFactorsMap())
Default constructor.
Definition: Factors.cc:27