test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
SimpleSAXParser::Attribute Struct Reference

#include <SimpleSAXParser.h>

Public Member Functions

 Attribute (const std::string &iKey, const std::string &iValue)
 
 Attribute (const Attribute &attr)
 
bool operator< (const Attribute &attribute) const
 

Public Attributes

std::string key
 
std::string value
 

Detailed Description

Definition at line 74 of file SimpleSAXParser.h.

Constructor & Destructor Documentation

SimpleSAXParser::Attribute::Attribute ( const std::string &  iKey,
const std::string &  iValue 
)
inline

Definition at line 79 of file SimpleSAXParser.h.

80  :key(iKey), value(iValue)
81  {}
SimpleSAXParser::Attribute::Attribute ( const Attribute attr)
inline

Definition at line 83 of file SimpleSAXParser.h.

84  :key(attr.key), value(attr.value)
85  {}

Member Function Documentation

bool SimpleSAXParser::Attribute::operator< ( const Attribute attribute) const
inline

Definition at line 87 of file SimpleSAXParser.h.

References key.

88  {
89  return this->key < attribute.key;
90  }

Member Data Documentation

std::string SimpleSAXParser::Attribute::key
std::string SimpleSAXParser::Attribute::value