Inheritance:
Public Methods
-
Firewall()
-
virtual ~Firewall()
-
virtual void fromXML(xmlNodePtr parent)
-
virtual xmlNodePtr toXML(xmlNodePtr parent)
-
DECLARE_FWOBJECT_SUBTYPE(Firewall)
-
virtual bool validateChild(FWObject* o)
- verify whether given object type is approppriate as a child
-
void setDefaults()
- This method sets default values to the platform-specific firewall parameters.
-
FirewallOptions* getOptionsObject()
- This method returns reference to the object representing firewall's platform-specific options (class FirewallOptions)
-
Policy* getPolicy()
-
NAT* getNAT()
Inherited from Host:
Public Methods
-
bool Appropriate(Interface* i)
-
void addInterface(Interface* i)
-
void removeInterface(Interface* i)
Public Methods
-
void setXMLName(const string &)
-
int ref()
-
int unref()
-
virtual FWObject& operator=(const FWObject &)
-
virtual FWObject& duplicate(const FWObject* obj)
-
void Show()
-
void Hide()
-
FWObject* getParent()
-
void setParent(FWObject* p)
-
bool exists(const string &name) const
-
void remStr(const string &name)
-
const string& getStr(const string& name) const
-
void setStr(const string &name, const string &val)
-
int getInt(const string &name) const
-
void setInt(const string &name, int val)
-
bool getBool(const string &name) const
-
void setBool(const string &name, bool val)
-
void setBool(const string &name, const string &val)
-
const string& getName() const
-
void setName(const string& n)
-
const string& getComment() const
-
void setComment(const string& c)
-
const string& getLibrary() const
-
void setLibrary(const string& c)
-
const string& getId() const
-
void setId(const string& c)
-
void addAt(const string& where_id, FWObject* obj)
-
virtual void add(FWObject* obj)
-
virtual void insert_before(FWObject* o1, FWObject* obj)
-
virtual void insert_after(FWObject* o1, FWObject* obj)
-
virtual void swapObjects(FWObject* o1, FWObject* o2)
-
virtual bool GUISortOrder(const FWObject* a, const FWObject* b)
-
virtual void sortChildren()
-
virtual void remove(FWObject* obj, bool delete_if_last=true)
-
virtual void removeAllInstances(FWObject* obj)
-
virtual void addRef(FWObject* obj)
-
virtual void removeRef(FWObject* obj)
-
virtual void removeAllReferences(FWObject* obj)
-
virtual FWReference* createRef( FWObject* obj )
-
void clearChildren()
-
void clearChildren(const string &type_name)
-
int getChildrenCount()
-
virtual void dump(bool recursive, bool brief, int offset=0)
-
virtual void dump(std::ofstream &f, bool recursive, bool brief, int offset=0)
-
FWObject* getRoot()
-
virtual FWObject* getById(const string &id, bool recursive=false, bool dereference=false)
-
virtual vector<FWObject*> getByType(const string &type_name)
-
virtual FWObject* getFirstByType(const string &type_name)
-
void setDirty(bool f, bool recursive=false)
-
bool isDirty(bool recursive)
-
map<string, string> ::iterator dataBegin()
-
map<string, string> ::iterator dataEnd()
Protected Fields
-
string xml_name
-
map<string, string> data
Protected Methods
-
void _adopt(FWObject* obj)
-
FWObject* _find(const string& name)
Documentation
Firewall()
virtual ~Firewall()
virtual void fromXML(xmlNodePtr parent)
virtual xmlNodePtr toXML(xmlNodePtr parent)
DECLARE_FWOBJECT_SUBTYPE(Firewall)
virtual bool validateChild(FWObject* o)
-
verify whether given object type is approppriate as a child
void setDefaults()
-
This method sets default values to the platform-specific
firewall parameters. It makes changes only to those parameters
which are not defined yet; this makes it safe to call this
method often, for example every time user changes firewall
platform in the dialog. Since this method would not reset
those parameters which have already been set, user won't lose
parameters values switching to another platform and then back
again.
FirewallOptions* getOptionsObject()
-
This method returns reference to the object representing
firewall's platform-specific options (class FirewallOptions)
Policy* getPolicy()
NAT* getNAT()
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.