74 <<
"object of type " <<
typeid(
T).
name()
75 <<
" already allocated"
105 <<
"object of type " <<
typeid(
T).
name()
106 <<
" is not allocated"
120 <<
"object of type " <<
typeid(
T).
name()
121 <<
" is not allocated"
135 <<
"object of type " <<
typeid(
T).
name()
136 <<
" is not allocated"
150 <<
"object of type " <<
typeid(
T).
name()
151 <<
" is not allocated"
172 <<
"object of type " <<
typeid(
T).
name()
173 <<
" is not allocated"
184 return const_cast<UautoPtr<T>&
>(*this).operator->();
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
void operator=(T *)
Take over the object pointer from parameter.
bool valid() const
Return true if the UautoPtr valid (ie, the pointer is set)
T & operator*()
Return reference to the object data.
T * operator->()
Return object pointer.
T & operator()()
Return reference to the object data.
bool empty() const
Return true if the UautoPtr is empty (ie, no pointer set)
UautoPtr(T *=nullptr)
Store object pointer.
T * ptr()
Return object pointer for reuse.
void clear()
Set pointer to nullptr.
void reset(T *=nullptr)
Set pointer to that given.
void set(T *)
Set pointer to that given.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
word name(const bool)
Return a word representation of a bool.
errorManip< error > abort(error &err)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)