◆ addEntry()
bool aCManifest::addEntry |
( |
const QString & |
fname, |
|
|
int |
type |
|
) |
| |
|
virtual |
Add new entry to manifest.
- Parameters
-
fname | - file name to add |
type | - type of entry. |
- Returns
- true if success
mf_metadata=0, mf_template, mf_dir, mf_script, mf_form, mf_picture, mf_other=100
References isValid().
Referenced by aContainer::addFile().
◆ clear()
void aCManifest::clear |
( |
| ) |
|
|
virtual |
◆ create()
void aCManifest::create |
( |
| ) |
|
|
virtual |
◆ first()
◆ isExists()
bool aCManifest::isExists |
( |
const QString & |
fname | ) |
|
|
virtual |
I don't remember for what need this function
- Parameters
-
References isValid().
◆ isValid()
bool aCManifest::isValid |
( |
| ) |
|
|
virtual |
◆ lastError()
QString aCManifest::lastError |
( |
| ) |
const |
|
virtual |
◆ next()
◆ read()
bool aCManifest::read |
( |
const QString & |
fname | ) |
|
|
virtual |
◆ removeEntry()
bool aCManifest::removeEntry |
( |
const QString & |
fname, |
|
|
bool |
withChilds |
|
) |
| |
|
virtual |
Remove entry from manifest.
- Parameters
-
fname | - file name to remove |
withChilds | - remove childs node too or not |
- Returns
- true if success
References isValid().
◆ toString()
QString aCManifest::toString |
( |
| ) |
|
|
virtual |
- Returns
- manifest as string
◆ write()
bool aCManifest::write |
( |
const QString & |
fname | ) |
|
|
virtual |
Store manifest to file
- Returns
- true if success
References aLog::print().
The documentation for this class was generated from the following files: