CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
SimpleSAXParser::Attribute Struct Reference

#include <SimpleSAXParser.h>

Public Member Functions

 Attribute (const Attribute &attr)
 
 Attribute (const std::string &iKey, const std::string &iValue)
 
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

◆ Attribute() [1/2]

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) {}

◆ Attribute() [2/2]

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

◆ operator<()

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

Definition at line 79 of file SimpleSAXParser.h.

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

References key.

Member Data Documentation

◆ key

std::string SimpleSAXParser::Attribute::key

◆ value

std::string SimpleSAXParser::Attribute::value
SimpleSAXParser::Attribute::key
std::string key
Definition: SimpleSAXParser.h:72
SimpleSAXParser::Attribute::value
std::string value
Definition: SimpleSAXParser.h:73