15#ifndef AGGREGATION_H_6014714286
16#define AGGREGATION_H_6014714286
42template<
typename AssociatedObjectType >
86template<
typename AssociatedObjectType >
Defines LibCarna::base::Association.
Represents an aggregation, i.e. a weak reference.
static const Aggregation< AssociatedObjectType > NULL_PTR
Holds instance of this class template that behaves like a nullptr pointer.
Aggregation(const Aggregation< AssociatedObjectType > &other)
Copies reference from other.
static Aggregation< AssociatedObjectType > createNullPtr()
Creates instance of this class template that behaves like a nullptr pointer. For internal usage only....
Aggregation(AssociatedObjectType &associatedObject)
Instantiates.
Represents an association.
AssociatedObjectType * get() const
Returns raw pointer to the referenced object.