#include <element.h>
Inheritance diagram for Spm::Core::Element:

Public Types | |
| typedef std::list< Branch * >::iterator | iterator |
| typedef std::list< Branch * >::const_iterator | const_iterator |
| typedef std::list< Branch * >::reverse_iterator | reverse_iterator |
| typedef std::list< Branch * >::const_reverse_iterator | const_reverse_iterator |
Public Member Functions | |
| virtual | ~Element () |
| const std::string & | getDescription () |
| const std::string & | getDescription () const |
| void | setName (const std::string &name) |
| void | setDescription (const std::string &description) |
| const Category * | getCategory () |
| const Category * | getCategory () const |
| void | setCategory (Category *aCategory) |
| void | addBranch (Branch *aBranch) throw (AlreadyExistingBranchException) |
| void | removeBranch (const std::string &aBranch) throw (UnknownBranchException, NoRightException) |
| std::list< Branch * > & | getBranches () |
| const std::list< Branch * > & | getBranches () const |
| std::list< Branch * > | getUserBranches (const std::string &user) |
| std::list< Branch * > | getSystemBranches () |
| const Branch * | getBranch (const std::string &branchName) throw (UnknownBranchException) |
| Branch * | getRefBranch (const std::string &branchName) throw (UnknownBranchException) |
| virtual bool | uninstall (const std::string &branchName="") throw (UnknownBranchException) |
| uninstall the Element (or a Branch) | |
| virtual Branch * | queryForFile (const std::string &file) throw (FileNotFoundException) |
| Check if a file belong to this Element. | |
| std::list< Branch * > | findSameBranch (const std::string &branchName) throw (UnknownBranchException) |
| bool | operator< (const Element *e) const |
| bool | operator< (const Element &e) const |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| reverse_iterator | rbegin () |
| reverse_iterator | rend () |
| const_reverse_iterator | rbegin () const |
| const_reverse_iterator | rend () const |
Protected Member Functions | |
| Element () | |
Protected Attributes | |
| Category * | category |
| std::string | description |
| std::string | elementURL |
| std::list< Branch * > | branches |
Friends | |
| class | Store |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Check if a file belong to this Element.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
uninstall the Element (or a Branch)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6