LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
gm2.cc
Go to the documentation of this file.
1
#include "
art/Framework/Art/artapp.h
"
2
#include "
art/Framework/Art/detail/info_success.h
"
3
4
#include "
messagefacility/MessageLogger/MessageLogger.h
"
5
6
#include <iostream>
7
8
int
main
(
int
argc,
char
* argv[] ) {
9
int
result =
artapp
(argc,argv);
10
// Make sure the message logger is shut down and any backlog cleared
11
// so our message really is the last one put out.
12
mf::EndMessageFacility
();
13
// End message.
14
if
(result ==
art::detail::info_success
()) {
15
return
0;
16
}
17
std::cout
18
<<
"Art has completed and will exit with status "
19
<< result
20
<<
"."
21
<< std::endl;
22
return
result;
23
}
24
25
// Local Variables:
26
// mode: c++
27
// End:
mf::EndMessageFacility
void EndMessageFacility()
Definition:
MessageLogger.cc:617
MessageLogger.h
main
int main(int argc, char *argv[])
Definition:
gm2.cc:8
info_success.h
artapp
int artapp(int argc, char *argv[])
Definition:
artapp.cc:23
art::detail::info_success
constexpr int info_success()
Definition:
info_success.h:9
artapp.h
art
Framework
Art
gm2.cc
Generated on Wed Dec 12 2018 14:42:31 for LArSoft by
1.8.11