NeoPZ
Public Member Functions | Protected Attributes | List of all members
TPZRestoredInstance Class Reference

#include <TPZRestoredInstance.h>

Collaboration diagram for TPZRestoredInstance:
[legend]

Public Member Functions

 TPZRestoredInstance ()
 
 TPZRestoredInstance (TPZSavable *)
 
virtual ~TPZRestoredInstance ()
 
void SetInstance (TPZSavable *)
 
TPZSavableGetPointerToMyObj () const
 
TPZAutoPointer< TPZSavableGetAutoPointerToMyObj ()
 
std::shared_ptr< TPZSavableGetSharedPtrToMyObj ()
 
TPZVec< int > & MyPointersVec ()
 
void SetObjId (const uint64_t &objId)
 
void SetClassId (const int &classId)
 
int GetClassId () const
 
void ResetReadStatus ()
 
bool IsAlreadyRead () const
 
void SetRead ()
 

Protected Attributes

TPZSavablempInstance
 
TPZManVector< int, 3 > mPointersVec
 
TPZAutoPointer< TPZSavablemAutoPointerToInstance
 
std::shared_ptr< TPZSavablemSharedPtrToInstance
 
bool is_already_read
 

Detailed Description

Definition at line 13 of file TPZRestoredInstance.h.

Constructor & Destructor Documentation

◆ TPZRestoredInstance() [1/2]

TPZRestoredInstance::TPZRestoredInstance ( )

Definition at line 8 of file TPZRestoredInstance.cpp.

◆ TPZRestoredInstance() [2/2]

TPZRestoredInstance::TPZRestoredInstance ( TPZSavable instance)

Definition at line 11 of file TPZRestoredInstance.cpp.

◆ ~TPZRestoredInstance()

TPZRestoredInstance::~TPZRestoredInstance ( )
virtual

Definition at line 14 of file TPZRestoredInstance.cpp.

Member Function Documentation

◆ GetAutoPointerToMyObj()

TPZAutoPointer< TPZSavable > TPZRestoredInstance::GetAutoPointerToMyObj ( )

◆ GetClassId()

int TPZRestoredInstance::GetClassId ( ) const

◆ GetPointerToMyObj()

TPZSavable * TPZRestoredInstance::GetPointerToMyObj ( ) const

Definition at line 22 of file TPZRestoredInstance.cpp.

References mpInstance.

◆ GetSharedPtrToMyObj()

std::shared_ptr< TPZSavable > TPZRestoredInstance::GetSharedPtrToMyObj ( )

◆ IsAlreadyRead()

bool TPZRestoredInstance::IsAlreadyRead ( ) const

Definition at line 58 of file TPZRestoredInstance.cpp.

References is_already_read.

◆ MyPointersVec()

TPZVec< int > & TPZRestoredInstance::MyPointersVec ( )

Definition at line 50 of file TPZRestoredInstance.cpp.

References mPointersVec.

◆ ResetReadStatus()

void TPZRestoredInstance::ResetReadStatus ( )

Definition at line 54 of file TPZRestoredInstance.cpp.

References is_already_read.

◆ SetClassId()

void TPZRestoredInstance::SetClassId ( const int &  classId)

◆ SetInstance()

void TPZRestoredInstance::SetInstance ( TPZSavable obj)

Definition at line 18 of file TPZRestoredInstance.cpp.

References mpInstance, and test::obj.

◆ SetObjId()

void TPZRestoredInstance::SetObjId ( const uint64_t &  objId)

◆ SetRead()

void TPZRestoredInstance::SetRead ( )

Definition at line 62 of file TPZRestoredInstance.cpp.

References is_already_read.

Member Data Documentation

◆ is_already_read

bool TPZRestoredInstance::is_already_read
protected

Definition at line 35 of file TPZRestoredInstance.h.

Referenced by IsAlreadyRead(), ResetReadStatus(), and SetRead().

◆ mAutoPointerToInstance

TPZAutoPointer<TPZSavable> TPZRestoredInstance::mAutoPointerToInstance
protected

Definition at line 33 of file TPZRestoredInstance.h.

Referenced by GetAutoPointerToMyObj(), and GetSharedPtrToMyObj().

◆ mpInstance

TPZSavable* TPZRestoredInstance::mpInstance
protected

◆ mPointersVec

TPZManVector<int, 3> TPZRestoredInstance::mPointersVec
protected

Definition at line 32 of file TPZRestoredInstance.h.

Referenced by MyPointersVec().

◆ mSharedPtrToInstance

std::shared_ptr<TPZSavable> TPZRestoredInstance::mSharedPtrToInstance
protected

Definition at line 34 of file TPZRestoredInstance.h.

Referenced by GetAutoPointerToMyObj(), and GetSharedPtrToMyObj().


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