9 #ifndef ThePEG_ParVector_H
10 #define ThePEG_ParVector_H
14 #include "ThePEG/Config/ThePEG.h"
15 #include "InterfaceBase.h"
16 #include "ParVector.fh"
27 inline void putUnitImpl2(ostream & os, T v, T u,
DimensionT) {
35 inline void putUnitImpl2(ostream & os, T v, T u,
StandardT) {
100 const type_info & newTypeInfo,
int newSize,
101 bool depSafe,
bool readonly,
int limits)
103 newTypeInfo, depSafe,
122 string arguments)
const;
184 virtual string def()
const = 0;
277 template <
typename Type>
317 string newClassName,
const type_info & newTypeInfo,
318 Type newUnit,
int newSize,
bool depSafe,
319 bool readonly,
int limits)
321 newTypeInfo, newSize,
322 depSafe, readonly, limits),
theUnit(newUnit) {}
333 virtual string type()
const;
463 virtual string def()
const;
468 virtual Type
tdef()
const = 0;
531 template <
typename T,
typename Type>
540 typedef void (T::*
SetFn)(Type, int);
546 typedef void (T::*
InsFn)(Type, int);
580 typedef Type (T::*
DefFn)(int)
const;
645 Member newMember,
int newSize, Type newDef, Type newMin,
646 Type newMax,
bool depSafe =
false,
bool readonly =
false,
647 bool limits =
true,
SetFn newSetFn = 0,
652 typeid(T), Type(), newSize, depSafe, readonly,
718 Type newUnit,
int newSize, Type newDef, Type newMin,
719 Type newMax,
bool depSafe =
false,
bool readonly =
false,
720 bool limits =
true,
SetFn newSetFn = 0,
725 typeid(T), newUnit, newSize, depSafe, readonly,
788 Member newMember,
int newSize, Type newDef, Type newMin,
789 Type newMax,
bool depSafe =
false,
bool readonly =
false,
795 typeid(T), Type(), newSize, depSafe, readonly,
861 Type newUnit,
int newSize, Type newDef, Type newMin,
862 Type newMax,
bool depSafe =
false,
bool readonly =
false,
868 typeid(T), newUnit, newSize, depSafe, readonly,
935 virtual Type
tdef()
const;
1052 #ifndef ThePEG_TEMPLATES_IN_CC_FILE
1053 #include "ParVector.tcc"