110 inline bool isTmp()
const;
114 inline bool empty()
const;
118 inline bool valid()
const;
133 inline T*
ptr()
const;
137 inline void clear()
const;
146 inline operator const T&()
const;
A class for managing temporary objects without reference counting.
void operator=(T *)
Assignment to pointer changing this tmpNrc to a temporary T.
bool valid() const
Is this temporary object valid,.
T & ref()
Return non-const reference or generate a fatal error.
T * operator->()
Return object pointer.
word typeName() const
Return the type name of the tmpNrc.
~tmpNrc()
Destructor: deletes temporary object when the reference count is 0.
bool empty() const
Return true if this temporary object empty,.
bool isTmp() const
Return true if this is really a temporary object.
tmpNrc(T *=0)
Store object pointer.
T * ptr() const
Return tmpNrc pointer for reuse.
void clear() const
If object pointer points to valid object:
const T & operator()() const
Const dereference operator.
A class for handling words, derived from string.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)