|
Public Member Functions |
| | Branch () |
| | Branch (const Branch &) |
| | Branch (Element *aElement) throw (Util::NullPointerException) |
| | Branch (const std::string &aVersion, Element *aElement) throw (Util::NullPointerException, BadNameException) |
| | Branch (const std::string &aMajor, const std::string &aMinor, const std::string &extraVersion, Element *aElement) |
| | ~Branch () |
| void | setActual (const std::string &actual) |
| void | setMinor (const std::string &aMinor) |
| void | setMajor (const std::string &aMajor) |
| std::string | getName () |
| const std::string | getMajor () |
| const std::string | getMinor () |
| const std::string | getActualVersion () |
| const std::string | getMajor () const |
| const std::string | getMinor () const |
| const std::string | getActualVersion () const |
| std::string | getName () const |
| void | setPrefix (const boost::filesystem::path &prefix) |
| void | setFlags (const std::string &flags) |
| const boost::filesystem::path & | getPrefix () |
| const boost::filesystem::path & | getPrefix () const |
| const std::string & | getFlags () |
| const std::string & | getFlags () const |
| void | setUrl (const std::string &url) |
| const std::string & | getUrl () |
| const std::string & | getUrl () const |
const std::map< std::string,
std::string > & | getExtraInformations () |
const std::map< std::string,
std::string > & | getExtraInformations () const |
| const std::string & | getExtraInformation (const std::string &key) throw (UnknownKeyException) |
| const std::string & | getExtraInformation (const std::string &key) const throw (UnknownKeyException) |
| void | addExtraInformation (const std::string &key, const std::string &val) throw (AlreadyExistingKeyException) |
| void | removeExtraInformation (const std::string &key) throw (UnknownKeyException) |
| void | setExtraInformation (const std::map< std::string, std::string > &extra) |
| void | setExtraInformation (const std::string &key, const std::string &val) throw (UnknownKeyException) |
| const std::string & | getOwner () |
| const std::string & | getOwner () const |
| void | setOwner (const std::string &aUser) |
| bool | queryForFile (const boost::filesystem::path &file) const |
| | Check if a file belong to this Branch.
|
| void | setFiles (const std::list< boost::filesystem::path > &branchFiles) |
| const std::list< boost::filesystem::path > & | getFiles () |
| void | setSize (unsigned long size) |
| const unsigned long & | getSize () |
| const unsigned long & | getSize () const |
| void | addElement (const Branch *branchOfElement) |
| | Add an Element.
|
| void | delElement (const std::string &elementName) |
| | remove an Element
|
| const std::list< Branch * > & | getElements () |
| const std::list< Branch * > & | getElements () const |
| const Branch * | getElement (const std::string &elementName) throw (UnknownElementException) |
| | Get the Branch associated to an Element.
|
| const Element * | getElement () |
| const Element * | getElement () const |
| bool | operator< (const Branch &b) const |
| bool | operator< (const std::string &branchVersion) |
| bool | operator== (const std::string &branchVersion) |
| bool | operator== (const Branch &otherBranch) const |
Static Public Member Functions |
| static std::string | getBranchName (const std::string major, const std::string minor, const std::string micro) |
Friends |
| class | PackageSystem |
| class | Element |
| class | Store |