LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
RootDirectorySentry.h
Go to the documentation of this file.
1
#ifndef art_Framework_Services_Optional_detail_RootDirectorySentry_h
2
#define art_Framework_Services_Optional_detail_RootDirectorySentry_h
3
4
//=================================================================
5
// RootDirectorySentry
6
//
7
// Description: Manages the status of the ROOT directory
8
//
9
// Usage: Construct an instance of this object in a routine in which you
10
// expect a ROOT histogram to be automatically added to the current
11
// directory in a file. The destructor will be sure to reset ROOT to
12
// its previous setting.
13
//=================================================================
14
15
namespace
art
{
16
namespace
detail {
17
18
class
RootDirectorySentry
{
19
public
:
20
RootDirectorySentry
();
21
~RootDirectorySentry
() noexcept(
false
);
22
23
private
:
24
RootDirectorySentry
(
RootDirectorySentry
const
&) =
delete
;
25
RootDirectorySentry
&
operator=
(
RootDirectorySentry
const
&) =
delete
;
26
bool
status_
;
27
};
28
29
}
// detail
30
}
// art
31
32
#endif
/* art_Framework_Services_Optional_detail_RootDirectorySentry_h */
33
art::detail::RootDirectorySentry::operator=
RootDirectorySentry & operator=(RootDirectorySentry const &)=delete
art::detail::RootDirectorySentry::~RootDirectorySentry
~RootDirectorySentry() noexcept(false)
Definition:
RootDirectorySentry.cc:10
art::detail::RootDirectorySentry::status_
bool status_
Definition:
RootDirectorySentry.h:26
art::detail::RootDirectorySentry
Definition:
RootDirectorySentry.h:18
art
HLT enums.
Definition:
ServiceProviderWrappers.h:36
art::detail::RootDirectorySentry::RootDirectorySentry
RootDirectorySentry()
Definition:
RootDirectorySentry.cc:4
art
Framework
Services
Optional
detail
RootDirectorySentry.h
Generated on Wed Dec 12 2018 14:42:34 for LArSoft by
1.8.11