|
cartobase 6.0.6
|
All container objects inherit the SizeInterface. More...
#include <cartobase/object/object.h>


Public Member Functions | |
| virtual | ~SizeInterface () |
| virtual size_t | size () const =0 |
| Number of sub-elements. | |
Public Member Functions inherited from carto::Interface | |
| virtual | ~Interface () |
All container objects inherit the SizeInterface.
|
virtual |
|
pure virtual |
Number of sub-elements.
This method may throw an exception if the stored object has not a size-compatible interface
Implemented in carto::ArrayInterface, carto::GenericObject, carto::PropertySet, carto::TypedObject< T >, and carto::TypedObject< const T >.