CNORXZ
Container with Native Operation Routines and Expressions
Loading...
Searching...
No Matches
obj_handle.cc.h
Go to the documentation of this file.
1// -*- C++ -*-
14#ifndef __cxz_obj_handle_cc_h__
15#define __cxz_obj_handle_cc_h__
16
17#include "obj_handle.h"
18
19namespace CNORXZ
20{
21
22 template <typename T>
24
25 template <typename T>
27
28 template <typename T>
29 ObjHandle<T>::ObjHandle(const ObjHandle& a) : mC(a.mC->copy()) {}
30
31 template <typename T>
33
34 template <typename T>
36 {
37 mC = std::make_unique<T>(*a.mC);
38 return *this;
39 }
40
41 template <typename T>
43 {
44 mC = a.mC;
45 return *this;
46 }
48 template <typename T>
50 {
51 return *mC;
52 }
53
54 template <typename T>
56 {
57 return &*mC;
58 }
59
60 template <typename T>
62 {
63 return *mC;
64 }
65
66 template <typename T>
68 {
69 return &*mC;
70 }
71
72}
74#endif
ObjHandle & operator=(const ObjHandle &a)
std::unique_ptr< T > Uptr
Definition types.h:54
Sptr< Range > rangeCast(const RangePtr r)
ObjHandle template declaration.