15 #ifndef __IPSDKBASEPROCESSING_DYNAMICNOSPLIT_H__ 16 #define __IPSDKBASEPROCESSING_DYNAMICNOSPLIT_H__ 18 #include <IPSDKBaseProcessing/DataSplit/Dynamic/BaseDynamicSplit.h> 26 template <
typename TProcessor,
typename TAttribute>
85 template <
typename TProcessor,
typename TAttribute>
91 template <
typename TProcessor,
typename TAttribute>
92 DynamicNoSplit<TProcessor, TAttribute>::~DynamicNoSplit()
97 template <
typename TProcessor,
typename TAttribute>
101 return g_splitDynamicType;
104 template <
typename TProcessor,
typename TAttribute>
105 inline const std::string&
108 return TAttribute::getObjectNameStr();
111 template <
typename TProcessor,
typename TAttribute>
112 inline const std::string&
115 return TAttribute::getToolTipStr();
118 template <
typename TProcessor,
typename TAttribute>
125 this->initUnSplitted(elementsLocationInfo);
131 template <
typename TProcessor,
typename TAttribute>
137 "This attribute is not part of processor class");
139 return dynamic_cast<const TProcessor*
>(&processor) != 0;
142 template <
typename TProcessor,
typename TAttribute>
150 TProcessor& tProcessor =
static_cast<TProcessor&
>(processor);
153 tProcessor.TProcessor::template set<TAttribute>(_value);
164 #endif // __IPSDKBASEPROCESSING_DYNAMICNOSPLIT_H__ const std::string & getAttributeToolTip() const
retrieve attribute tooltip associated to split operation
Definition: DynamicNoSplit.h:113
eSplitDynamicType getSplitDynamicType() const
retrieve dynamic split operation type
Definition: DynamicNoSplit.h:99
void init(const ParameterType &value)
object initialization method
Definition: DynamicNoSplit.h:120
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
ipUInt64 insertNonLocalized(const ElementsRange &elementsRange, const ipUInt64 dataMemorySize)
insertion of a new non localized information into collection
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
eSplitDynamicType
Enumerate describing dynamic split operation type.
Definition: DynamicSplitTypes.h:36
TProcessor ProcessorType
processor type associated to object
Definition: DynamicNoSplit.h:35
TAttribute AttributeType
attribute type associated to object
Definition: DynamicNoSplit.h:38
TAttribute::StorageType ParameterType
parameter type associated to object
Definition: DynamicNoSplit.h:41
BoolResult processAttribute(BaseProcessor &processor, const ipUInt64 elementIdx, const ipUInt64 nbElements, const core::BaseRequestOrigin &requestOrigin)
initialize processor attribute associate to split operation for a given element index ...
Definition: DynamicNoSplit.h:144
Base class for processor class.
Definition: BaseProcessor.h:43
structure allowing to check whether a given attribute exists in attribute collection information ...
Definition: AttributeCollInfoCheckMacros.h:131
Base class for data dynamic split objets used for data dispatch.
Definition: BaseDynamicSplit.h:31
const std::string & getAttributeName() const
retrieve attribute name associated to split operation
Definition: DynamicNoSplit.h:106
Class allowing to store information about elements range (start offset and number of elements) ...
Definition: ElementsRange.h:27
Base class for request origin description.
Definition: BaseRequestOrigin.h:28
No split operation for dynamic split objects.
Definition: DynamicSplitTypes.h:38
static const eSplitDynamicType::domain g_splitDynamicType
type associated to split operation
Definition: DynamicNoSplit.h:32
Template class for un-splitted data used for dynamic data dispatch.
Definition: DynamicNoSplit.h:27
bool checkProcessorType(const BaseProcessor &processor)
check processor type in derived class
Definition: DynamicNoSplit.h:133
ParameterType _value
object associated value
Definition: DynamicNoSplit.h:79
Class allowing to store elements location informations.
Definition: ElementsLocationInfo.h:32