|
|
|
tmp Class Template ReferenceInheritance diagram for tmp:![]() ![]() Detailed Descriptiontemplate<class T>
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| tmp (T *=0) | |
| Store object pointer. | |
| tmp (const T &) | |
| Store object const reference. | |
| tmp (const tmp< T > &) | |
| Construct copy and increment reference count. | |
| ~tmp () | |
| Delete object when reference count == 0. | |
| bool | isTmp () const |
| Is this really a temporary object. | |
| bool | valid () const |
| Is this temporary object valid, i.e. is it a reference. | |
| T * | ptr () const |
| Return tmp pointer for reuse. | |
| void | clear () |
| If object pointer points to valid object:. | |
| void | clear () const |
| If object pointer points to valid object:. | |
| T & | operator() () |
| Dereference operator. | |
| const T & | operator() () const |
| Const dereference operator. | |
| operator const T & () const | |
| Const cast to the underlying type reference. | |
| T * | operator-> () |
| Return object pointer. | |
| const T * | operator-> () const |
| Return const object pointer. | |
| void | operator= (const tmp< T > &) |
| Assignment operator. | |
Construct copy and increment reference count.
Definition at line 60 of file tmpI.H.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
Here is the call graph for this function:

| bool isTmp | ( | ) | const [inline] |
| bool valid | ( | ) | const [inline] |
| T * ptr | ( | ) | const [inline] |
Return tmp pointer for reuse.
Definition at line 117 of file tmpI.H.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
Here is the call graph for this function:

| void clear | ( | ) | [inline] |
| void clear | ( | ) | const [inline] |
| T & operator() | ( | ) | [inline] |
Dereference operator.
Definition at line 163 of file tmpI.H.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
Here is the call graph for this function:

| const T & operator() | ( | ) | const [inline] |
Const dereference operator.
Definition at line 189 of file tmpI.H.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
Here is the call graph for this function:

| operator const T & | ( | ) | const [inline] |
| T * operator-> | ( | ) | [inline] |
Return object pointer.
Definition at line 217 of file tmpI.H.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
Here is the call graph for this function:

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