![]() |
Chaste Commit::fa89f2b838c1edb21a1eaec92ee3a2eacc9255dd
|
Partial class specialization to specialize class members for output archives. More...
Collaboration diagram for ArchiveOpener< OutputArchive, std::ofstream >:Public Member Functions | |
| ArchiveOpener (const FileFinder &rDirectory, const std::string &rFileNameBase, unsigned procId) | |
| OutputArchive * | GetCommonArchive () |
Private Attributes | |
| std::ofstream * | mpCommonStream |
| std::ofstream * | mpPrivateStream |
| OutputArchive * | mpCommonArchive |
| OutputArchive * | mpPrivateArchive |
Friends | |
| class | TestArchivingHelperClasses |
Partial class specialization to specialize class members for output archives.
| OutputArchive | Type of the output archive type, which can vary between text and binary output archives from boost::archive |
Definition at line 164 of file ArchiveOpener.cpp.
|
inline |
Specialization for output archives.
| rDirectory | |
| rFileNameBase | |
| procId |
Definition at line 176 of file ArchiveOpener.cpp.
References PetscTools::AmMaster(), EXCEPTION, ArchiveLocationInfo::GetArchiveDirectory(), ArchiveLocationInfo::GetArchiveRelativePath(), ArchiveLocationInfo::GetIsDirRelativeToChasteTestOutput(), PetscTools::GetMyRank(), ArchiveLocationInfo::GetProcessUniqueFilePath(), ArchiveOpener< Archive, Stream >::mpCommonArchive, ArchiveOpener< Archive, Stream >::mpCommonStream, ArchiveOpener< Archive, Stream >::mpPrivateArchive, ArchiveOpener< Archive, Stream >::mpPrivateStream, ProcessSpecificArchive< Archive >::Set(), ArchiveLocationInfo::SetArchiveDirectory(), and FilesystemPermissions::SetFilePermissions().
|
inline |
Definition at line 250 of file ArchiveOpener.cpp.
|
inline |
Definition at line 244 of file ArchiveOpener.cpp.
References ArchiveOpener< Archive, Stream >::mpCommonArchive.
|
friend |
Definition at line 167 of file ArchiveOpener.cpp.
|
private |
The main archive.
Definition at line 274 of file ArchiveOpener.cpp.
|
private |
The file stream for the main archive.
Definition at line 268 of file ArchiveOpener.cpp.
|
private |
The secondary archive.
Definition at line 277 of file ArchiveOpener.cpp.
|
private |
The file stream for the secondary archive.
Definition at line 271 of file ArchiveOpener.cpp.