OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AgentUtXmlNode Class Referenceabstract

#include <test_xml.h>

Inheritance diagram for AgentUtXmlNode:
Collaboration diagram for AgentUtXmlNode:

Public Member Functions

 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 ()
 
virtual bool ReadXml ()=0
 
virtual bool ToXml (pugi::xml_node *parent)=0
 
virtual std::string NodeType ()=0
 
virtual void ToString (std::string *str)
 
virtual bool Run ()
 
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
 
AgentUtXmlTestCasetest_case ()
 

Protected Attributes

pugi::xml_node gen_node_
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (AgentUtXmlNode)
 

Private Attributes

pugi::xml_node node_
 
std::string name_
 
bool op_delete_
 
bool gen_xml_
 
AgentUtXmlTestCasetest_case_
 

Detailed Description

Definition at line 112 of file test_xml.h.

Constructor & Destructor Documentation

AgentUtXmlNode::AgentUtXmlNode ( const std::string &  name,
const pugi::xml_node &  node,
AgentUtXmlTestCase test_case 
)
AgentUtXmlNode::AgentUtXmlNode ( const std::string &  name,
const pugi::xml_node &  node,
bool  gen_xml,
AgentUtXmlTestCase test_case 
)
AgentUtXmlNode::~AgentUtXmlNode ( )
virtual

Definition at line 463 of file test_xml.cc.

Member Function Documentation

AgentUtXmlNode::DISALLOW_COPY_AND_ASSIGN ( AgentUtXmlNode  )
private
bool AgentUtXmlNode::gen_xml ( ) const
inline

Definition at line 127 of file test_xml.h.

const std::string& AgentUtXmlNode::name ( ) const
inline

Definition at line 130 of file test_xml.h.

const pugi::xml_node& AgentUtXmlNode::node ( ) const
inline

Definition at line 131 of file test_xml.h.

bool AgentUtXmlNode::op_delete ( ) const
inline

Definition at line 128 of file test_xml.h.

virtual bool AgentUtXmlNode::Run ( void  )
inlinevirtual
void AgentUtXmlNode::set_gen_xml ( bool  val)
inline

Definition at line 126 of file test_xml.h.

void AgentUtXmlNode::set_op_delete ( bool  val)
inline

Definition at line 129 of file test_xml.h.

AgentUtXmlTestCase* AgentUtXmlNode::test_case ( )
inline

Definition at line 132 of file test_xml.h.

Member Data Documentation

pugi::xml_node AgentUtXmlNode::gen_node_
protected

Definition at line 134 of file test_xml.h.

bool AgentUtXmlNode::gen_xml_
private

Definition at line 139 of file test_xml.h.

std::string AgentUtXmlNode::name_
private

Definition at line 137 of file test_xml.h.

pugi::xml_node AgentUtXmlNode::node_
private

Definition at line 136 of file test_xml.h.

bool AgentUtXmlNode::op_delete_
private

Definition at line 138 of file test_xml.h.

AgentUtXmlTestCase* AgentUtXmlNode::test_case_
private

Definition at line 140 of file test_xml.h.


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