NeoPZ
|
#include <TPZRestoredInstance.h>
Public Member Functions | |
TPZRestoredInstance () | |
TPZRestoredInstance (TPZSavable *) | |
virtual | ~TPZRestoredInstance () |
void | SetInstance (TPZSavable *) |
TPZSavable * | GetPointerToMyObj () const |
TPZAutoPointer< TPZSavable > | GetAutoPointerToMyObj () |
std::shared_ptr< TPZSavable > | GetSharedPtrToMyObj () |
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 | |
TPZSavable * | mpInstance |
TPZManVector< int, 3 > | mPointersVec |
TPZAutoPointer< TPZSavable > | mAutoPointerToInstance |
std::shared_ptr< TPZSavable > | mSharedPtrToInstance |
bool | is_already_read |
Definition at line 13 of file TPZRestoredInstance.h.
TPZRestoredInstance::TPZRestoredInstance | ( | ) |
Definition at line 8 of file TPZRestoredInstance.cpp.
TPZRestoredInstance::TPZRestoredInstance | ( | TPZSavable * | instance | ) |
Definition at line 11 of file TPZRestoredInstance.cpp.
|
virtual |
Definition at line 14 of file TPZRestoredInstance.cpp.
TPZAutoPointer< TPZSavable > TPZRestoredInstance::GetAutoPointerToMyObj | ( | ) |
Definition at line 26 of file TPZRestoredInstance.cpp.
References DebugStop, mAutoPointerToInstance, mpInstance, and mSharedPtrToInstance.
int TPZRestoredInstance::GetClassId | ( | ) | const |
TPZSavable * TPZRestoredInstance::GetPointerToMyObj | ( | ) | const |
Definition at line 22 of file TPZRestoredInstance.cpp.
References mpInstance.
std::shared_ptr< TPZSavable > TPZRestoredInstance::GetSharedPtrToMyObj | ( | ) |
Definition at line 38 of file TPZRestoredInstance.cpp.
References DebugStop, mAutoPointerToInstance, mpInstance, and mSharedPtrToInstance.
bool TPZRestoredInstance::IsAlreadyRead | ( | ) | const |
Definition at line 58 of file TPZRestoredInstance.cpp.
References is_already_read.
TPZVec< int > & TPZRestoredInstance::MyPointersVec | ( | ) |
Definition at line 50 of file TPZRestoredInstance.cpp.
References mPointersVec.
void TPZRestoredInstance::ResetReadStatus | ( | ) |
Definition at line 54 of file TPZRestoredInstance.cpp.
References is_already_read.
void TPZRestoredInstance::SetClassId | ( | const int & | classId | ) |
void TPZRestoredInstance::SetInstance | ( | TPZSavable * | obj | ) |
Definition at line 18 of file TPZRestoredInstance.cpp.
References mpInstance, and test::obj.
void TPZRestoredInstance::SetObjId | ( | const uint64_t & | objId | ) |
void TPZRestoredInstance::SetRead | ( | ) |
Definition at line 62 of file TPZRestoredInstance.cpp.
References is_already_read.
|
protected |
Definition at line 35 of file TPZRestoredInstance.h.
Referenced by IsAlreadyRead(), ResetReadStatus(), and SetRead().
|
protected |
Definition at line 33 of file TPZRestoredInstance.h.
Referenced by GetAutoPointerToMyObj(), and GetSharedPtrToMyObj().
|
protected |
Definition at line 31 of file TPZRestoredInstance.h.
Referenced by GetAutoPointerToMyObj(), GetPointerToMyObj(), GetSharedPtrToMyObj(), and SetInstance().
|
protected |
Definition at line 32 of file TPZRestoredInstance.h.
Referenced by MyPointersVec().
|
protected |
Definition at line 34 of file TPZRestoredInstance.h.
Referenced by GetAutoPointerToMyObj(), and GetSharedPtrToMyObj().