TrioCFD 1.9.9_beta
TrioCFD documentation
Loading...
Searching...
No Matches
Memoire_ptr Class Reference

Pointer within the TRUST memory for an Objet_U. More...

#include <Memoire_ptr.h>

Public Member Functions

 Memoire_ptr (Objet_U *ptr=0)
 Constructor.
int libre () const
 Indicates whether the memory pointer is free, i.e. whether it points to a non-null Objet_U.
void set (Objet_U *ptr)
 Assigns an Objet_U to a memory pointer.
Objet_Uobj ()
 Returns a reference to the Objet_U pointed to by the memory pointer.
Memoire_ptroperator= (const Memoire_ptr &)
 Assignment operator between memory pointers. In the case A=B, the Objet_U pointed to by A becomes the Objet_U pointed to by B.

Public Attributes

int next

Detailed Description

Pointer within the TRUST memory for an Objet_U.

See also
Objet_U Memoire

Definition at line 27 of file Memoire_ptr.h.

Constructor & Destructor Documentation

◆ Memoire_ptr()

Memoire_ptr::Memoire_ptr ( Objet_U * ptr = 0)

Constructor.

Parameters
ptrthe Objet_U to point to

Definition at line 23 of file Memoire_ptr.cpp.

Member Function Documentation

◆ libre()

int Memoire_ptr::libre ( ) const
inline

Indicates whether the memory pointer is free, i.e. whether it points to a non-null Objet_U.

Returns
(int) 1 if the pointer is free

Definition at line 46 of file Memoire_ptr.h.

◆ obj()

Objet_U & Memoire_ptr::obj ( )
inline

Returns a reference to the Objet_U pointed to by the memory pointer.

Returns
(Objet_U&) reference to the pointed-to Objet_U

Definition at line 64 of file Memoire_ptr.h.

◆ operator=()

Memoire_ptr & Memoire_ptr::operator= ( const Memoire_ptr & mptr)
inline

Assignment operator between memory pointers. In the case A=B, the Objet_U pointed to by A becomes the Objet_U pointed to by B.

Parameters
(constMemoire_ptr& mptr) the memory pointer B
Returns
(Memoire_ptr&) the memory pointer A

Definition at line 76 of file Memoire_ptr.h.

◆ set()

void Memoire_ptr::set ( Objet_U * ptr)
inline

Assigns an Objet_U to a memory pointer.

Parameters
(Objet_U*ptr) pointer to an Objet_U

Definition at line 55 of file Memoire_ptr.h.

Member Data Documentation

◆ next

int Memoire_ptr::next

Definition at line 31 of file Memoire_ptr.h.


The documentation for this class was generated from the following files: