![]() |
Chaste Commit::675f9facbe008c5eacb9006feaeb6423206579ea
|
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 163 of file ArchiveOpener.cpp.
|
inline |
Specialization for output archives.
| rDirectory | |
| rFileNameBase | |
| procId |
Definition at line 175 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(), and ArchiveLocationInfo::SetArchiveDirectory().
|
inline |
Definition at line 251 of file ArchiveOpener.cpp.
|
inline |
Definition at line 245 of file ArchiveOpener.cpp.
References ArchiveOpener< Archive, Stream >::mpCommonArchive.
|
friend |
Definition at line 166 of file ArchiveOpener.cpp.
|
private |
The main archive.
Definition at line 275 of file ArchiveOpener.cpp.
|
private |
The file stream for the main archive.
Definition at line 269 of file ArchiveOpener.cpp.
|
private |
The secondary archive.
Definition at line 278 of file ArchiveOpener.cpp.
|
private |
The file stream for the secondary archive.
Definition at line 272 of file ArchiveOpener.cpp.