Public Types | Public Member Functions
Tonido::Plugin::ManifestFileData Class Reference

Represents file data in the Manifest. More...

List of all members.

Public Types

typedef boost::shared_ptr
< ManifestFileData
SharedPtr

Public Member Functions

 ManifestFileData (const std::string &a_fileName, const std::string &a_checksum, const std::string &a_filePath, bool a_isExecutable)
 Ctor.
 ~ManifestFileData ()
 Dtor.
const std::string & getFileName ()
 Gets the file name associated with this manifest file data.
const std::string & getCheckSum ()
 Gets the file checksum associated with this manifest file data.
const std::string & getFilePath ()
 Gets the file path associated with this manifest file data.
bool isExecutable ()
 Gets whether the file has the executable bit set.
bool isLocalFileOk (const std::string &a_prefix)
 Checks if the local file is ok.
bool isLocalReplacementFileOk (const std::string &a_prefix)
 Checks if the replacement file that was downloaded is ok.
bool removeReplacement (const std::string &a_prefix)
 Removes an old replacement file.

Detailed Description

Represents file data in the Manifest.


Constructor & Destructor Documentation

Tonido::Plugin::ManifestFileData::ManifestFileData ( const std::string &  a_fileName,
const std::string &  a_checksum,
const std::string &  a_filePath,
bool  a_isExecutable 
)

Ctor.

Details if needed

Tonido::Plugin::ManifestFileData::~ManifestFileData ( )

Dtor.

Details if needed


Generated on Wed Oct 12 2011 21:46:53. © CodeLathe LLC 2007-2011. All Rights Reserved.