libzypp
17.37.17
ManagedFile.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
12
#ifndef ZYPP_MANAGEDFILE_H
13
#define ZYPP_MANAGEDFILE_H
14
15
#include <iosfwd>
16
17
#include <
zypp/Pathname.h
>
18
#include <
zypp/AutoDispose.h
>
19
21
namespace
zypp
22
{
23
27
using
ManagedFile
=
AutoDispose<const Pathname>
;
28
30
}
// namespace zypp
32
#endif
// ZYPP_MANAGEDFILE_H
zypp::AutoDispose
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Definition
AutoDispose.h:95
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition
CodePitfalls.doc:2
zypp::ManagedFile
AutoDispose< const Pathname > ManagedFile
A Pathname plus associated cleanup code to be executed when path is no longer needed.
Definition
ManagedFile.h:27
AutoDispose.h
Pathname.h
zypp-core
ManagedFile.h
Generated by
1.14.0