#include <branch.h>
Inheritance diagram for Spm::Core::Branch:
Public Types | |
typedef std::vector< Versionned * >::iterator | iterator |
typedef std::vector< Versionned * >::const_iterator | const_iterator |
typedef std::vector< Versionned * >::reverse_iterator | reverse_iterator |
typedef std::vector< Versionned * >::const_reverse_iterator | const_reverse_iterator |
Public Member Functions | |
Branch () | |
Branch (Element *aElement) | |
Branch (const miniXml::ustring &aMajor, const miniXml::ustring &aMinor, Element *aElement) | |
~Branch () | |
void | add (Versionned *v) |
Versionned * | remove (const miniXml::ustring &name) |
Remove a property. | |
void | remove (Versionned *v) |
bool | have (Versionned *v) |
bool | have (Versionned *v) const |
const std::vector< Versionned * > & | versions () |
const std::vector< Versionned * > & | versions () 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 |
bool | operator< (const Branch &b) const |
bool | operator< (const miniXml::ustring &branchVersion) |
bool | operator== (const miniXml::ustring &branchVersion) |
bool | operator== (const Branch &otherBranch) const |
Static Public Member Functions | |
static miniXml::ustring | getBranchName (const miniXml::ustring major, const miniXml::ustring minor) |
Friends | |
class | PackageSystem |
class | Element |
class | ElementStore |
typedef std::vector<Versionned *>::iterator Spm::Core::Branch::iterator |
Reimplemented from Spm::Util::PropertyList.
typedef std::vector<Versionned *>::const_iterator Spm::Core::Branch::const_iterator |
Reimplemented from Spm::Util::PropertyList.
typedef std::vector<Versionned *>::reverse_iterator Spm::Core::Branch::reverse_iterator |
Reimplemented from Spm::Util::PropertyList.
typedef std::vector<Versionned *>::const_reverse_iterator Spm::Core::Branch::const_reverse_iterator |
Reimplemented from Spm::Util::PropertyList.
Spm::Core::Branch::Branch | ( | ) | [inline] |
Spm::Core::Branch::Branch | ( | Element * | aElement | ) |
Spm::Core::Branch::Branch | ( | const miniXml::ustring & | aMajor, | |
const miniXml::ustring & | aMinor, | |||
Element * | aElement | |||
) |
Spm::Core::Branch::~Branch | ( | ) |
static miniXml::ustring Spm::Core::Branch::getBranchName | ( | const miniXml::ustring | major, | |
const miniXml::ustring | minor | |||
) | [static] |
void Spm::Core::Branch::add | ( | Versionned * | v | ) |
Versionned* Spm::Core::Branch::remove | ( | const miniXml::ustring & | key | ) |
Remove a property.
key | The identifier of a property |
Reimplemented from Spm::Util::PropertyList.
void Spm::Core::Branch::remove | ( | Versionned * | v | ) |
bool Spm::Core::Branch::have | ( | Versionned * | v | ) |
bool Spm::Core::Branch::have | ( | Versionned * | v | ) | const |
const std::vector<Versionned *>& Spm::Core::Branch::versions | ( | ) | [inline] |
const std::vector<Versionned *>& Spm::Core::Branch::versions | ( | ) | const [inline] |
iterator Spm::Core::Branch::begin | ( | ) | [inline] |
iterator Spm::Core::Branch::end | ( | ) | [inline] |
Reimplemented from Spm::Util::PropertyList.
const_iterator Spm::Core::Branch::begin | ( | ) | const [inline] |
Reimplemented from Spm::Util::PropertyList.
const_iterator Spm::Core::Branch::end | ( | ) | const [inline] |
Reimplemented from Spm::Util::PropertyList.
reverse_iterator Spm::Core::Branch::rbegin | ( | ) | [inline] |
Reimplemented from Spm::Util::PropertyList.
reverse_iterator Spm::Core::Branch::rend | ( | ) | [inline] |
Reimplemented from Spm::Util::PropertyList.
const_reverse_iterator Spm::Core::Branch::rbegin | ( | ) | const [inline] |
Reimplemented from Spm::Util::PropertyList.
const_reverse_iterator Spm::Core::Branch::rend | ( | ) | const [inline] |
Reimplemented from Spm::Util::PropertyList.
bool Spm::Core::Branch::operator< | ( | const Branch & | b | ) | const |
bool Spm::Core::Branch::operator< | ( | const miniXml::ustring & | branchVersion | ) |
bool Spm::Core::Branch::operator== | ( | const miniXml::ustring & | branchVersion | ) |
bool Spm::Core::Branch::operator== | ( | const Branch & | otherBranch | ) | const |
friend class PackageSystem [friend] |
friend class Element [friend] |
friend class ElementStore [friend] |