Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
NodeOperator Class Reference

#include <NodeOperator.h>

+ Inheritance diagram for NodeOperator:
+ Collaboration diagram for NodeOperator:

Public Types

enum  OperatorType {
  OPERATOR_EQUAL = 1, OPERATOR_AND = 2, OPERATOR_OR = 3, OPERATOR_SUBSTRING = 4,
  OPERATOR_CONTAIN = 5
}
- Public Types inherited from Node
enum  NodeType { NODE_OPERATOR = 1, NODE_CONST = 2, NODE_CLIENT_SPECIFIC = 3 }

Public Member Functions

 NodeOperator (OperatorType t, SPtr< Node > &lll, SPtr< Node > &rrr)
 NodeOperator (OperatorType t, SPtr< Node > &lll, int in, int len)
 NodeOperator (OperatorType t, SPtr< Node > &lll, std::string s)
virtual ~NodeOperator ()
virtual std::string exec (SPtr< TSrvMsg > msg)
virtual std::string exec ()
- Public Member Functions inherited from Node
 Node (NodeType type)
virtual ~Node ()

Private Attributes

std::string ContainString_
int Index_
SPtr< NodeL_
int Length_
SPtr< NodeR_
OperatorType Type_

Additional Inherited Members

- Public Attributes inherited from Node
NodeType Type

Member Enumeration Documentation

Enumerator:
OPERATOR_EQUAL 
OPERATOR_AND 
OPERATOR_OR 
OPERATOR_SUBSTRING 
OPERATOR_CONTAIN 

Constructor & Destructor Documentation

NodeOperator::NodeOperator ( OperatorType  t,
SPtr< Node > &  lll,
SPtr< Node > &  rrr 
)
NodeOperator::NodeOperator ( OperatorType  t,
SPtr< Node > &  lll,
int  in,
int  len 
)
NodeOperator::NodeOperator ( OperatorType  t,
SPtr< Node > &  lll,
std::string  s 
)
NodeOperator::~NodeOperator ( )
virtual

Member Function Documentation

string NodeOperator::exec ( SPtr< TSrvMsg msg)
virtual

Implements Node.

string NodeOperator::exec ( )
virtual

Member Data Documentation

std::string NodeOperator::ContainString_
private
int NodeOperator::Index_
private
SPtr<Node> NodeOperator::L_
private
int NodeOperator::Length_
private
SPtr<Node> NodeOperator::R_
private
OperatorType NodeOperator::Type_
private

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