C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

A pair of smart pointers. More...

#include <templ_sptr.h>

+ Collaboration diagram for SPtrPair< RefItem >:

Public Member Functions

 SPtrPair (const SPtrPair &sPair)
 Copy constructor.
 
SPtrPairoperator= (const SPtrPair &sPair)
 The assignment operator.
 

Public Attributes

SPtr< RefItem > first
 A smart pointer to the first object.
 
SPtr< RefItem > second
 A smart pointer to the second object. Constructor.
 

Detailed Description

template<class RefItem>
struct SPtrPair< RefItem >

A pair of smart pointers.

A pair of smart pointers.
It is comfortable to use this when it is required to pass as an argument of a function or a result, a pair of smart pointers to objects with reference counters. All data and methods of the class are purposely made public.


The documentation for this struct was generated from the following file: