15#ifndef COMPOSITION_H_6014714286
16#define COMPOSITION_H_6014714286
54template<
typename AssociatedObjectType >
75 if( associatedObject )
77 delete associatedObject;
Defines LibCarna::base::Association.
Represents an association.
AssociatedObjectType * get() const
Returns raw pointer to the referenced object.
Represents a composition, i.e. a strong reference. This basically is a std::unique_ptr that supports ...
Composition(AssociatedObjectType *associatedObject)
Instantiates.
virtual ~Composition()
Deletes the associated object, if there is one.