21 SUSEMediaVerifier::SUSEMediaVerifier(
const std::string & vendor_r,
22 const std::string & id_r,
24 : _media_vendor(vendor_r)
32 std::ifstream str(path_r.asString().c_str());
44 + path_r.asString() +
"'"));
54 ref->provideFile (media_file, 0);
55 media_file = ref->localPath(media_file);
56 std::ifstream str(media_file.asString().c_str());
65 DBG <<
"repo vendor: " << vendor << endl;
67 DBG <<
"repo id: " <<
id << endl;
#define ZYPP_THROW(EXCPT)
Drops a logline and throws the Exception.
std::string getline(std::istream &str)
Read one line from stream.
std::string numstring(char n, int w=0)
Base class for Exception.
Wrapper for const correct access via Smart pointer types.