CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 71 of file SimpleSAXParser.h.

Constructor & Destructor Documentation

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

Definition at line 75 of file SimpleSAXParser.h.

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

Definition at line 77 of file SimpleSAXParser.h.

77 : key(attr.key), value(attr.value) {}

Member Function Documentation

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

Definition at line 79 of file SimpleSAXParser.h.

References key.

79 { return this->key < attribute.key; }

Member Data Documentation

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