class libfwbuilder::RuleElement


Inheritance:


Public Methods

[more] RuleElement()
[more] DECLARE_FWOBJECT_SUBTYPE(RuleElement)
[more]virtual void fromXML(xmlNodePtr parent)
[more]void setAnyElement()
[more]virtual string getAnyElementId()
[more]bool isAny()
[more]virtual void addRef(FWObject* obj)
Adds reference object pointing to 'obj' as a child of 'this'.
[more]virtual void removeRef(FWObject* obj)
Removes reference to given object among children of 'this'.
[more]bool getNeg()
[more]void setNeg(bool flag)
[more]void toggleNeg()


Inherited from FWObject:

Public Methods

ovirtual xmlNodePtr toXML(xmlNodePtr xml_parent_node)
ovoid setXMLName(const string &)
oint ref()
oint unref()
ovirtual FWObject& operator=(const FWObject &)
ovirtual FWObject& duplicate(const FWObject* obj)
ovoid Show()
ovoid Hide()
oFWObject* getParent()
ovoid setParent(FWObject* p)
obool exists(const string &name) const
ovoid remStr(const string &name)
oconst string& getStr(const string& name) const
ovoid setStr(const string &name, const string &val)
oint getInt(const string &name) const
ovoid setInt(const string &name, int val)
obool getBool(const string &name) const
ovoid setBool(const string &name, bool val)
ovoid setBool(const string &name, const string &val)
oconst string& getName() const
ovoid setName(const string& n)
oconst string& getComment() const
ovoid setComment(const string& c)
oconst string& getLibrary() const
ovoid setLibrary(const string& c)
oconst string& getId() const
ovoid setId(const string& c)
ovoid addAt(const string& where_id, FWObject* obj)
ovirtual void add(FWObject* obj)
ovirtual void insert_before(FWObject* o1, FWObject* obj)
ovirtual void insert_after(FWObject* o1, FWObject* obj)
ovirtual void swapObjects(FWObject* o1, FWObject* o2)
ovirtual bool GUISortOrder(const FWObject* a, const FWObject* b)
ovirtual void sortChildren()
ovirtual void remove(FWObject* obj, bool delete_if_last=true)
ovirtual void removeAllInstances(FWObject* obj)
ovirtual void removeAllReferences(FWObject* obj)
ovirtual FWReference* createRef( FWObject* obj )
ovirtual bool validateChild(FWObject* o)
ovoid clearChildren()
ovoid clearChildren(const string &type_name)
oint getChildrenCount()
ovirtual void dump(bool recursive, bool brief, int offset=0)
ovirtual void dump(std::ofstream &f, bool recursive, bool brief, int offset=0)
oFWObject* getRoot()
ovirtual FWObject* getById(const string &id, bool recursive=false, bool dereference=false)
ovirtual vector<FWObject*> getByType(const string &type_name)
ovirtual FWObject* getFirstByType(const string &type_name)
ovoid setDirty(bool f, bool recursive=false)
obool isDirty(bool recursive)
omap<string, string> ::iterator dataBegin()
omap<string, string> ::iterator dataEnd()

Protected Fields

ostring xml_name
omap<string, string> data

Protected Methods

ovoid _adopt(FWObject* obj)
oFWObject* _find(const string& name)


Documentation

o RuleElement()

o DECLARE_FWOBJECT_SUBTYPE(RuleElement)

ovirtual void fromXML(xmlNodePtr parent)

ovoid setAnyElement()

ovirtual string getAnyElementId()

obool isAny()

ovirtual void addRef(FWObject* obj)
Adds reference object pointing to 'obj' as a child of 'this'. If RuleElement contained "any", it is removed

ovirtual void removeRef(FWObject* obj)
Removes reference to given object among children of 'this'. If this object was the last one, appropriate "any" object is added instead

obool getNeg()

ovoid setNeg(bool flag)

ovoid toggleNeg()


Direct child classes:
RuleElementTSrv
RuleElementTSrc
RuleElementTDst
RuleElementSrv
RuleElementSrc
RuleElementOSrv
RuleElementOSrc
RuleElementODst
RuleElementInterval
RuleElementDst

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.