15 #ifndef __IPSDKBASEDATA_DATAITEMLEAFCOLL_H__ 16 #define __IPSDKBASEDATA_DATAITEMLEAFCOLL_H__ 20 #pragma warning (push) 21 #pragma warning (disable : 4251) 23 #include <IPSDKBaseData/DataItem/LeafColl/BaseDataItemLeafColl.h> 60 return g_dataItemValueType;
84 return static_cast<ipUInt32>(_coll.size());
90 _coll.push_back(value);
110 #endif // __IPSDKBASEDATA_DATAITEMLEAFCOLL_H__ Template class for collection of data item leafs.
Definition: DataItemTypes.h:31
#define IPSDK_DECLARE_SERIAL_WITH_COPY(libraryName, className)
macro enabling serialization on class
Definition: SerializationHdrMacro.h:73
CollType _coll
collection of data associated to object
Definition: DataItemLeafColl.h:102
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
void push_back(const ValueType &value)
push back a new element into collection
Definition: DataItemLeafColl.h:88
ipUInt32 getSize() const
retrieve collection size
Definition: DataItemLeafColl.h:82
Header part of macros set for class serialization.
void clear()
remove all items from collection
Definition: DataItemLeafColl.h:94
eDataItemValueType getDataItemValueType() const
retrieve data item value type
Definition: DataItemLeafColl.h:58
CollType & getColl()
get data item collection associated to object
Definition: DataItemLeafColl.h:69
eDataItemValueType
Enumerate describing data items value type.
Definition: DataItemTypes.h:70
std::vector< T > CollType
collection type associated to object
Definition: DataItemLeafColl.h:46
T ValueType
value type associated to object
Definition: DataItemLeafColl.h:40
const CollType & getColl() const
get data item collection associated to object
Definition: DataItemLeafColl.h:65
structure used to retrieve enumerate value from data item value type
Definition: DataItemTypes.h:184
#define IPSDKBASEDATA_API
Import/Export macro for library IPSDKUtil.
Definition: IPSDKBaseDataExports.h:27
bool isEmpty() const
check whether collection is empty
Definition: DataItemLeafColl.h:76
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53