|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
The ArchiveDescriptor class contains metadata on an archive. More...
#include <ArchiveDescriptor.h>
Public Member Functions | |
| ArchiveDescriptor (ArchiveType archive_type) | |
| Public constructor. | |
| ArchiveType | archive_type () const |
| Retrieve the type of archive. | |
| std::time_t | time_created () const |
| Retrieve the time of creation of the archive. | |
| std::string | hostname () const |
| Retrieve the hostname of the machine creating the archive. | |
| std::string | username () const |
| Retrieve the hostname of the machine creating the archive. | |
| ArchiveDescriptor (ArchiveType archive_type) | |
| Public constructor. | |
| ArchiveType | archive_type () const |
| Retrieve the type of archive. | |
| std::time_t | time_created () const |
| Retrieve the time of creation of the archive. | |
| std::string | hostname () const |
| Retrieve the hostname of the machine creating the archive. | |
| std::string | username () const |
| Retrieve the hostname of the machine creating the archive. | |
Private Member Functions | |
| ArchiveDescriptor () | |
| template<class Archive> | |
| void | serialize (Archive &ar, const unsigned int version) |
| ArchiveDescriptor () | |
| template<class Archive> | |
| void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
| ArchiveType | archive_type_ |
| std::time_t | time_created_ = std::time_t() |
| std::string | hostname_ |
| std::string | username_ |
Friends | |
| class | boost::serialization::access |
| template<class Base, class Derived, ArchiveType archive_type> | |
| class | InputArchive |
| Provide boost serialization access. | |
| template<class Base, class Derived, ArchiveType archive_type> | |
| class | InputArchiveLoop |
| template<class Base, class Derived, ArchiveType archive_type> | |
| class | InputArchive |
| Provide boost serialization access. | |
| template<class Base, class Derived, ArchiveType archive_type> | |
| class | InputArchiveLoop |
This class class precedes a stream of serialized StorableTimeslice or StorableMicroslice objects.
Definition at line 33 of file ArchiveDescriptor.h.
|
inlineexplicit |
| archive_type | The type of archive (e.g., timeslice, microslice). |
Definition at line 41 of file ArchiveDescriptor.h.
References archive_type(), archive_type_, fles::system::current_hostname(), fles::system::current_username(), hostname_, time_created_, and username_.
|
inlineprivate |
Definition at line 69 of file ArchiveDescriptor.h.
|
inlineexplicit |
| archive_type | The type of archive (e.g., timeslice, microslice). |
Definition at line 41 of file ArchiveDescriptor.h.
References archive_type(), archive_type_, fles::system::current_hostname(), fles::system::current_username(), hostname_, time_created_, and username_.
|
inlineprivate |
Definition at line 69 of file ArchiveDescriptor.h.
|
inline |
Definition at line 50 of file ArchiveDescriptor.h.
References archive_type_.
Referenced by ArchiveDescriptor().
|
inline |
Definition at line 50 of file ArchiveDescriptor.h.
References archive_type_.
|
inline |
Definition at line 56 of file ArchiveDescriptor.h.
References hostname_.
|
inline |
Definition at line 56 of file ArchiveDescriptor.h.
References hostname_.
|
inlineprivate |
Definition at line 72 of file ArchiveDescriptor.h.
References archive_type_, hostname_, time_created_, fles::TimesliceArchive, and username_.
|
inlineprivate |
Definition at line 72 of file ArchiveDescriptor.h.
References archive_type_, hostname_, time_created_, fles::TimesliceArchive, and username_.
|
inline |
Definition at line 53 of file ArchiveDescriptor.h.
References time_created_.
|
inline |
Definition at line 53 of file ArchiveDescriptor.h.
References time_created_.
|
inline |
Definition at line 59 of file ArchiveDescriptor.h.
References username_.
|
inline |
Definition at line 59 of file ArchiveDescriptor.h.
References username_.
|
friend |
Definition at line 62 of file ArchiveDescriptor.h.
References boost::serialization::access.
Referenced by boost::serialization::access.
|
friend |
Definition at line 65 of file ArchiveDescriptor.h.
References InputArchive.
Referenced by InputArchive.
|
friend |
Definition at line 65 of file ArchiveDescriptor.h.
References InputArchive.
|
friend |
Definition at line 67 of file ArchiveDescriptor.h.
References InputArchiveLoop.
Referenced by InputArchiveLoop.
|
friend |
Definition at line 67 of file ArchiveDescriptor.h.
References InputArchiveLoop.
|
private |
Definition at line 84 of file ArchiveDescriptor.h.
Referenced by ArchiveDescriptor(), archive_type(), and serialize().
|
private |
Definition at line 86 of file ArchiveDescriptor.h.
Referenced by ArchiveDescriptor(), hostname(), and serialize().
|
private |
Definition at line 85 of file ArchiveDescriptor.h.
Referenced by ArchiveDescriptor(), serialize(), and time_created().
|
private |
Definition at line 87 of file ArchiveDescriptor.h.
Referenced by ArchiveDescriptor(), serialize(), and username().