Deepsolver
|
Classes | |
struct | PkgInfo |
struct | ProvideMapItem |
struct | RelInfo |
Public Member Functions | |
void | addPkg (const PkgFile &pkgFile) |
void | addProvideMapItem (const std::string &provideName, const std::string &packageName) |
void | commit () |
void | saveToFile (const std::string &fileName) const |
Saves prepared package scope content to binary file on disk. |
void PackageScopeContentBuilder::saveToFile | ( | const std::string & | fileName | ) | const |
This method can perform complete saving of all internal data to file on disk for further loading with PackageScopeContentLoader class. Since data is saved in binary format the created file is not protected from different binary data representation on various machines (little endian vs big endian) and is suited only for using on the same computer it was saved.
[in] | fileName | The name of the file to save data to |