15 #ifndef __IPSDKBASEDATA_BASEDATAITEMNODECOLL_H__ 16 #define __IPSDKBASEDATA_BASEDATAITEMNODECOLL_H__ 20 #pragma warning (push) 21 #pragma warning (disable : 4251) 23 #include <IPSDKBaseData/DataItem/BaseDataItem.h> 39 static const bool g_bIsColl =
true;
40 static const bool g_bNode =
true;
41 static const bool g_bLeaf =
false;
104 return _coll.empty();
129 #pragma warning (pop) 131 #endif // __IPSDKBASEDATA_BASEDATAITEMNODECOLL_H__ const BaseCollType & getBaseColl() const
retrieve base collection
Definition: BaseDataItemNodeColl.h:113
#define IPSDK_DECLARE_SERIAL_WITH_COPY(libraryName, className)
macro enabling serialization on class
Definition: SerializationHdrMacro.h:73
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
Definition: DataItemTypes.h:55
Base class used to store data item nodes collection.
Definition: BaseDataItemNodeColl.h:30
static const eDataItemType::domain g_itemType
flags indicating item type
Definition: BaseDataItemNodeColl.h:42
boost::shared_ptr< BaseDataItemNode > DataItemNodePtr
shared pointer to DataItemNode
Definition: DataItemTypes.h:158
bool isEmpty() const
check whether collection is empty
Definition: BaseDataItemNodeColl.h:102
Base class for data item nodes.
Definition: BaseDataItemNode.h:29
ipUInt32 getSize() const
retrieve collection size
Definition: BaseDataItemNodeColl.h:108
void clear()
remove all items from collection
Definition: BaseDataItemNodeColl.h:119
#define IPSDKBASEDATA_API
Import/Export macro for library IPSDKUtil.
Definition: IPSDKBaseDataExports.h:27
Base class for data items.
Definition: BaseDataItem.h:27
boost::enable_if< typename boost::mpl::and_< typename boost::is_same< boost::mpl::int_< AttributeType::g_attributeType >, boost::mpl::int_< eAttributeType::eAT_DataItem > >::type, typename boost::is_same< boost::mpl::int_< LeafCollType::g_itemType >, boost::mpl::int_< eDataItemType::eDIT_LeafColl > >::type >::type, RulePtr >::type isEmpty(const boost::shared_ptr< AttributeType > &pAttribute)
functions allowing to check that a leaf collection is empty
Definition: LeafCollSizeRuleOperators.h:65
eDataItemType
Enumerate describing data items type.
Definition: DataItemTypes.h:43
BaseCollType _coll
collection of nodes associated to object
Definition: BaseDataItemNodeColl.h:89
eDataItemType getDataItemType() const
retrieve data item type
Definition: BaseDataItemNodeColl.h:96
std::vector< DataItemNodePtr > BaseCollType
collection of nodes shared pointers
Definition: BaseDataItemNodeColl.h:46
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53