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