12#ifndef AGGREGATION_H_6014714286
13#define AGGREGATION_H_6014714286
39template<
typename AssociatedObjectType >
83template<
typename AssociatedObjectType >
Defines Carna::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.
static Aggregation< AssociatedObjectType > createNullPtr()
Creates instance of this class template that behaves like a nullptr pointer. For internal usage only....
Aggregation(const Aggregation< AssociatedObjectType > &other)
Copies reference from other.
Aggregation(AssociatedObjectType &associatedObject)
Instantiates.
Represents an association.
AssociatedObjectType * get() const
Returns raw pointer to the referenced object.