Go to the documentation of this file.
12 #ifndef ZYPP_MEDIA_MEDIAACCESS_H
13 #define ZYPP_MEDIA_MEDIAACCESS_H
23 #include <zypp/APIConfig.h>
53 typedef intrusive_ptr<MediaAccess>
Ptr;
54 typedef intrusive_ptr<const MediaAccess>
constPtr;
77 bool exactIdMatch)
const;
138 void attach(
bool next =
false);
160 unsigned int & index)
const;
203 void release(
const std::string & ejectDev =
"" );
297 void dirInfo( std::list<std::string> & retlist,
298 const Pathname & dirname,
bool dots =
true )
const;
313 const Pathname & dirname,
bool dots =
true )
const;
332 virtual std::ostream &
dumpOn( std::ostream &
str )
const;
435 std::ostream &
operator<<( std::ostream &
str,
const MediaAccess & obj );
442 #endif // ZYPP_MEDIA_MEDIAACCESS_H
Base class for reference counted objects.
#define ZYPP_THROW(EXCPT)
Drops a logline and throws the Exception.
Store and operate with byte count.
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
Easy-to use interface to the ZYPP dependency resolver.
std::list< DirEntry > DirContent
Returned by readdir.
#define ZYPP_RETHROW(EXCPT)
Drops a logline and rethrows, updating the CodeLocation.
bool empty() const
Test for an empty path.
String related utilities and Regular expression matching.
#define ZYPP_CAUGHT(EXCPT)
Drops a logline telling the Exception was caught (in order to handle it).
const std::string & asString() const
String representation.