cartobase
5.0.5
|
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... | |
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::TypedObject< T >, carto::TypedObject< SyntaxedInterfaceType< T > >, carto::GenericObject, carto::ArrayInterface, and carto::PropertySet.