ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::GeometryContextOstreamWrapper< T > Struct Template Reference

Helper struct that stores an object and a context, and will print it to an outstream. More...

#include <Acts/Geometry/GeometryContext.hpp>

Public Member Functions

 GeometryContextOstreamWrapper (const GeometryContextOstreamWrapper &)=delete
 GeometryContextOstreamWrapper (const T &object, const GeometryContext &gctx)
 Constructor wrapping an object with geometry context for output streaming.
 GeometryContextOstreamWrapper (GeometryContextOstreamWrapper &&)=delete
GeometryContextOstreamWrapperoperator= (const GeometryContextOstreamWrapper &)=delete
GeometryContextOstreamWrapperoperator= (GeometryContextOstreamWrapper &&)=delete

Detailed Description

template<typename T>
struct Acts::GeometryContextOstreamWrapper< T >

Helper struct that stores an object and a context, and will print it to an outstream.

This allows you to write

std::cout << surface->toStream(geoContext) << std::endl;

Constructor & Destructor Documentation

◆ GeometryContextOstreamWrapper() [1/3]

template<typename T>
Acts::GeometryContextOstreamWrapper< T >::GeometryContextOstreamWrapper ( const T & object,
const GeometryContext & gctx )

Constructor wrapping an object with geometry context for output streaming.

Parameters
objectThe object to wrap for streaming
gctxThe geometry context to associate with the object

◆ GeometryContextOstreamWrapper() [2/3]

template<typename T>
Acts::GeometryContextOstreamWrapper< T >::GeometryContextOstreamWrapper ( const GeometryContextOstreamWrapper< T > & )
delete

◆ GeometryContextOstreamWrapper() [3/3]

template<typename T>
Acts::GeometryContextOstreamWrapper< T >::GeometryContextOstreamWrapper ( GeometryContextOstreamWrapper< T > && )
delete

Member Function Documentation

◆ operator=() [1/2]

template<typename T>
GeometryContextOstreamWrapper & Acts::GeometryContextOstreamWrapper< T >::operator= ( const GeometryContextOstreamWrapper< T > & )
delete

◆ operator=() [2/2]

template<typename T>
GeometryContextOstreamWrapper & Acts::GeometryContextOstreamWrapper< T >::operator= ( GeometryContextOstreamWrapper< T > && )
delete