DataDirector API
Public Member Functions | List of all members
RuleElement Class Reference

#include <ChunkProducer.h>

Public Member Functions

 RuleElement ()
 
void SetAttribute (ChunkAttribute *attr, const std::string &attrName, const std::string &attrValue)
 
ChunkAttributeGetAttribute () const
 
std::string & GetName ()
 
std::string & GetValue ()
 

Detailed Description

A RuleElement. One clause of a RuleDefinition

Constructor & Destructor Documentation

RuleElement ( )
inline

Constructor

Member Function Documentation

ChunkAttribute* GetAttribute ( ) const
inline
Returns
Gets the attribute associated with this rule
std::string& GetName ( )
inline
Returns
Gets the attribute name with this rule
std::string& GetValue ( )
inline
Returns
Gets the attribute value with this rule
void SetAttribute ( ChunkAttribute attr,
const std::string &  attrName,
const std::string &  attrValue 
)
inline

Set the attribute associated with this rule

Parameters
attrThe Chunk attribute associated with this rule
attrNameThe name of the attribute
attrValueThe attribute value to match

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