Header part of collection of shared pointer to serializable objects declaration macros.
More...
#include <IPSDKBaseData/PtrColl/BasePtrColl.h>
Go to the source code of this file.
|
| #define | IPSDK_DECLARE_PTR_COLL(libraryName, className, dataType) |
| | macro allowing to declare a collection of shared pointer to serializable objects More...
|
| |
Header part of collection of shared pointer to serializable objects declaration macros.
- Author
- E. Noirfalise
- Date
- 2015/06/18
- Copyright
- 2015 Reactiv'IP, all right reserved.
◆ IPSDK_DECLARE_PTR_COLL
| #define IPSDK_DECLARE_PTR_COLL |
( |
|
libraryName, |
|
|
|
className, |
|
|
|
dataType |
|
) |
| |
Value:{ \
IPSDK_DECLARE_SERIAL_WITHOUT_COPY(libraryName, className) \
public: \
typedef dataType ValueType; \
typedef boost::shared_ptr<dataType > StorageType; \
typedef boost::shared_ptr<const dataType > ConstStorageType; \
typedef std::vector<StorageType> CollType; \
typedef std::vector<ConstStorageType> ConstCollType; \
className() {} \
~className() {} \
const ConstCollType& getColl() const; \
CollType& getColl();
virtual bool haveSkeleton() const =0
virtual const std::string & getElementsClassName() const =0
retrieve class name associated to concrete elements into collection
Base class for collection (std::vector) of shared pointer to serializable objects.
Definition: BasePtrColl.h:33
macro allowing to declare a collection of shared pointer to serializable objects