SFrame 3.6
|
#include <cxxabi.h>
#include <cstdlib>
#include <vector>
#include <TCollection.h>
#include <TList.h>
#include "core/include/ISCycleBaseHist.h"
#include "core/include/SLogger.h"
Go to the source code of this file.
Defines | |
#define | SFRAME_PLUGINS_SSummedVar_ICC |
Functions | |
template<class Type > | |
std::vector< Type > | operator+ (const std::vector< Type > &left, const std::vector< Type > &right) |
Summation operator for vectors. | |
template<class KeyType , class ValueType > | |
std::map< KeyType, ValueType > | operator+ (const std::map< KeyType, ValueType > &left, const std::map< KeyType, ValueType > &right) |
Summation operator for maps. |
#define SFRAME_PLUGINS_SSummedVar_ICC |
Definition at line 15 of file SSummedVar.icc.
std::vector< Type > operator+ | ( | const std::vector< Type > & | left, |
const std::vector< Type > & | right | ||
) |
Summation operator for vectors.
In order to be able to express the summation of primitive types and vectors in the same way, the easiest was to overload the + operator.
Definition at line 39 of file SSummedVar.icc.
References REPORT_ERROR, and SError::StopExecution.
std::map< KeyType, ValueType > operator+ | ( | const std::map< KeyType, ValueType > & | left, |
const std::map< KeyType, ValueType > & | right | ||
) |
Summation operator for maps.
In order to be able to use std::maps in the SSummedVar class, a summation for map types has to exist as well.
Definition at line 78 of file SSummedVar.icc.
References REPORT_ERROR, and SError::StopExecution.