|
|
|
tmp< T > Class Template ReferenceA class for managing temporary objects. More...
Inheritance diagram for tmp< T >:
![]()
Collaboration diagram for tmp< T >:
![]()
Detailed Descriptiontemplate<class T>
A class for managing temporary objects.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| bool isTmp | ( | ) | const [inline] |
Return true if this is really a temporary object.
Definition at line 84 of file tmpI.H.
Referenced by Foam::xferCopyTo().

| bool empty | ( | ) | const [inline] |
| bool valid | ( | ) | const [inline] |
| T * ptr | ( | ) | const [inline] |
Return tmp pointer for reuse.
Definition at line 105 of file tmpI.H.
Referenced by Foam::operator*(), Foam::operator+(), and Foam::operator-().

| void clear | ( | ) | const [inline] |
If object pointer points to valid object:.
delete object and set pointer to NULL
Definition at line 131 of file tmpI.H.
Referenced by boundBox::boundBox(), surfaceInterpolationScheme< Type >::interpolate(), Foam::operator&(), and Foam::fvm::SuSp().

| T & operator() | ( | ) | [inline] |
Dereference operator.
Definition at line 144 of file tmpI.H.
Referenced by tmp< T >::operator->().

| const T & operator() | ( | ) | const [inline] |
| operator const T & | ( | ) | const [inline] |
| T * operator-> | ( | ) | [inline] |
Return object pointer.
Definition at line 201 of file tmpI.H.
References tmp< T >::operator()().

| const T * operator-> | ( | ) | const [inline] |
| void operator= | ( | const tmp< T > & | t | ) | [inline] |