Deepsolver
Classes | Public Member Functions
PackageScopeContentBuilder Class Reference

List of all members.

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.

Member Function Documentation

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.

Parameters:
[in]fileNameThe name of the file to save data to