#include <element.h>
Inheritance diagram for Spm::Core::Element:
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 | |
virtual | ~Element () |
const miniXml::ustring & | getDescription () |
const miniXml::ustring & | getDescription () const |
void | setName (const miniXml::ustring &name) |
void | setDescription (const miniXml::ustring &description) |
const Category * | getCategory () |
const Category * | getCategory () const |
void | setCategory (Category *aCategory) |
void | add (Versionned *aBranch) |
Versionned * | remove (const miniXml::ustring &aBranch) |
std::vector< Versionned * > & | getVersions () |
const std::vector< Versionned * > & | getVersions () const |
const Versionned * | getVersionned (const miniXml::ustring &branchName) const |
Versionned * | getVersionned (const miniXml::ustring &branchName) |
Versionned * | remove (Versionned *branch) |
iterator | find (Versionned *branch) |
const_iterator | find (Versionned *branch) const |
iterator | find (const miniXml::ustring &name) |
const_iterator | find (const miniXml::ustring &name) const |
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 |
Static Public Member Functions | |
static void | formatName (miniXml::ustring &version) |
Protected Member Functions | |
Element () | |
Protected Attributes | |
Category * | category |
miniXml::ustring | description |
miniXml::ustring | elementURL |
std::vector< Versionned * > | versions_ |
Friends | |
class | ElementStore |
typedef std::vector<Versionned *>::iterator Spm::Core::Element::iterator |
typedef std::vector<Versionned *>::const_iterator Spm::Core::Element::const_iterator |
typedef std::vector<Versionned *>::reverse_iterator Spm::Core::Element::reverse_iterator |
typedef std::vector<Versionned *>::const_reverse_iterator Spm::Core::Element::const_reverse_iterator |
Spm::Core::Element::Element | ( | ) | [protected] |
virtual Spm::Core::Element::~Element | ( | ) | [virtual] |
static void Spm::Core::Element::formatName | ( | miniXml::ustring & | version | ) | [static] |
const miniXml::ustring& Spm::Core::Element::getDescription | ( | ) |
const miniXml::ustring& Spm::Core::Element::getDescription | ( | ) | const |
void Spm::Core::Element::setName | ( | const miniXml::ustring & | name | ) |
name | The new name of the Element |
void Spm::Core::Element::setDescription | ( | const miniXml::ustring & | description | ) |
description | The new description of the Element |
void Spm::Core::Element::setCategory | ( | Category * | aCategory | ) |
void Spm::Core::Element::add | ( | Versionned * | aBranch | ) |
aBranch | The Branch to add |
Versionned* Spm::Core::Element::remove | ( | const miniXml::ustring & | aBranch | ) |
aBranch | The name of the Branch to remove |
std::vector<Versionned *>& Spm::Core::Element::getVersions | ( | ) |
const std::vector<Versionned *>& Spm::Core::Element::getVersions | ( | ) | const |
const Versionned* Spm::Core::Element::getVersionned | ( | const miniXml::ustring & | branchName | ) | const |
Versionned* Spm::Core::Element::getVersionned | ( | const miniXml::ustring & | branchName | ) |
Versionned* Spm::Core::Element::remove | ( | Versionned * | branch | ) |
iterator Spm::Core::Element::find | ( | Versionned * | branch | ) | [inline] |
const_iterator Spm::Core::Element::find | ( | Versionned * | branch | ) | const [inline] |
iterator Spm::Core::Element::find | ( | const miniXml::ustring & | name | ) |
const_iterator Spm::Core::Element::find | ( | const miniXml::ustring & | name | ) | const |
bool Spm::Core::Element::operator< | ( | const Element * | e | ) | const |
bool Spm::Core::Element::operator< | ( | const Element & | e | ) | const |
iterator Spm::Core::Element::begin | ( | ) | [inline] |
iterator Spm::Core::Element::end | ( | ) | [inline] |
const_iterator Spm::Core::Element::begin | ( | ) | const [inline] |
const_iterator Spm::Core::Element::end | ( | ) | const [inline] |
reverse_iterator Spm::Core::Element::rbegin | ( | ) | [inline] |
reverse_iterator Spm::Core::Element::rend | ( | ) | [inline] |
const_reverse_iterator Spm::Core::Element::rbegin | ( | ) | const [inline] |
const_reverse_iterator Spm::Core::Element::rend | ( | ) | const [inline] |
friend class ElementStore [friend] |
Reimplemented in Spm::Core::Package.
Category* Spm::Core::Element::category [protected] |
miniXml::ustring Spm::Core::Element::description [protected] |
miniXml::ustring Spm::Core::Element::elementURL [protected] |
std::vector<Versionned *> Spm::Core::Element::versions_ [protected] |