OpenSDN source code
AgentUtXmlValidate Class Reference

#include <test_xml_validate.h>

Inheritance diagram for AgentUtXmlValidate:
Collaboration diagram for AgentUtXmlValidate:

Public Member Functions

 AgentUtXmlValidate (const std::string &name, const pugi::xml_node &node, AgentUtXmlTestCase *test_case)
 
 ~AgentUtXmlValidate ()
 
virtual bool ReadXml ()
 
virtual bool ToXml (pugi::xml_node *parent)
 
virtual std::string NodeType ()
 
virtual void ToString (std::string *str)
 
virtual bool Run ()
 
- Public Member Functions inherited from AgentUtXmlNode
 AgentUtXmlNode (const std::string &name, const pugi::xml_node &node, AgentUtXmlTestCase *test_case)
 
 AgentUtXmlNode (const std::string &name, const pugi::xml_node &node, bool gen_xml, AgentUtXmlTestCase *test_case)
 
virtual ~AgentUtXmlNode ()
 
void set_gen_xml (bool val)
 
bool gen_xml () const
 
bool op_delete () const
 
void set_op_delete (bool val)
 
const std::string & name () const
 
const pugi::xml_node & node () const
 
AgentUtXmlTestCase * test_case ()
 

Private Types

typedef std::vector< AgentUtXmlValidationNode * > AgentUtXmlValidationList
 

Private Attributes

AgentUtXmlValidationList node_list_
 

Additional Inherited Members

- Protected Attributes inherited from AgentUtXmlNode
pugi::xml_node gen_node_
 

Detailed Description

Definition at line 24 of file test_xml_validate.h.

Member Typedef Documentation

◆ AgentUtXmlValidationList

Definition at line 26 of file test_xml_validate.h.

Constructor & Destructor Documentation

◆ AgentUtXmlValidate()

AgentUtXmlValidate::AgentUtXmlValidate ( const std::string &  name,
const pugi::xml_node &  node,
AgentUtXmlTestCase *  test_case 
)

Definition at line 72 of file test_xml_validate.cc.

◆ ~AgentUtXmlValidate()

AgentUtXmlValidate::~AgentUtXmlValidate ( )

Definition at line 78 of file test_xml_validate.cc.

Member Function Documentation

◆ NodeType()

string AgentUtXmlValidate::NodeType ( )
virtual

Implements AgentUtXmlNode.

Definition at line 91 of file test_xml_validate.cc.

◆ ReadXml()

bool AgentUtXmlValidate::ReadXml ( )
virtual

Implements AgentUtXmlNode.

Definition at line 95 of file test_xml_validate.cc.

Here is the call graph for this function:

◆ Run()

bool AgentUtXmlValidate::Run ( void  )
virtual

Reimplemented from AgentUtXmlNode.

Definition at line 127 of file test_xml_validate.cc.

Here is the call graph for this function:

◆ ToString()

void AgentUtXmlValidate::ToString ( std::string *  str)
virtual

Reimplemented from AgentUtXmlNode.

Definition at line 85 of file test_xml_validate.cc.

Here is the call graph for this function:

◆ ToXml()

bool AgentUtXmlValidate::ToXml ( pugi::xml_node *  parent)
virtual

Implements AgentUtXmlNode.

Definition at line 122 of file test_xml_validate.cc.

Member Data Documentation

◆ node_list_

AgentUtXmlValidationList AgentUtXmlValidate::node_list_
private

Definition at line 38 of file test_xml_validate.h.


The documentation for this class was generated from the following files: