cartobase
5.1.2
|
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. More... | |
![]() | |
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::GenericObject, carto::ArrayInterface, carto::PropertySet, and carto::TypedObject< T >.