Cross-Platform C++

ot::xml
class Attribute

#include "ot/xml/Attribute.h"

ot::ManagedObject Represents an attribute from an element start tag located within a parsed XML document.




Constructor/Destructor Summary
Attribute()
        
Attribute(const Attribute& rhs)
        
Attribute(const QName& name, const String& type, int nIndex)
        
Attribute(const QName& name, const String& value, const String& type)
        

Method Summary
 int getIndex() const
        
 const QName& getName() const
        
 const String& getType() const
        
 const String& getValue() const
        
 bool isDefaulted() const
        
 void setName(const QName& name)
        
 void setType(const String& type)
        
 void setValue(const String& value)
        

Methods inherited from class ot::ManagedObject
addRef(), getRefCount(), onFinalRelease(), operator=(const ManagedObject&), release()

Constructor/Destructor Detail

Attribute

 Attribute()


Attribute

 Attribute(const Attribute& rhs)


Attribute

 Attribute(const QName& name,
           const String& type,
           int nIndex)


Attribute

 Attribute(const QName& name,
           const String& value,
           const String& type)


Method Detail

getIndex

int getIndex() const


getName

const QNamegetName() const


getType

const StringgetType() const


getValue

const StringgetValue() const


isDefaulted

bool isDefaulted() const


setName

void setName(const QName& name)


setType

void setType(const String& type)


setValue

void setValue(const String& value)



Cross-Platform C++

Found a bug or missing feature? Please email us at support@elcel.com

Copyright © 2000-2005 ElCel Technology   Trademark Acknowledgements