Deepsolver
|
Classes | |
struct | PkgInfo |
struct | RelInfo |
Public Member Functions | |
void | commit () |
void | onNewPkgFile (const PkgFile &pkgFile) |
Accepts new package file entry. | |
void | saveToFile (const std::string &fileName) const |
Saves prepared package scope content to binary file on disk. |
void PackageScopeContentBuilder::onNewPkgFile | ( | const PkgFile & | pkgFile | ) | [virtual] |
This method is called each time new package file information is available.
[in] | pkgFile | The newly available package file entry |
Implements AbstractPackageRecipient.
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 |