IpeXmlAttributes Class Reference
[Ipe Base]

Stores attributes of an XML tag. More...

List of all members.

Public Types

Public Member Functions


Detailed Description

Stores attributes of an XML tag.


Member Typedef Documentation

typedef Map::const_iterator IpeXmlAttributes::const_iterator

Iterator for (key, value) pairs.


Constructor & Destructor Documentation

IpeXmlAttributes::IpeXmlAttributes (  ) 

Constructor for an empty collection.


Member Function Documentation

const_iterator IpeXmlAttributes::begin (  )  const [inline]

Return const iterator for first attribute.

const_iterator IpeXmlAttributes::end (  )  const [inline]

Return const iterator for end of attributes.

void IpeXmlAttributes::Clear (  ) 

Remove all attributes.

IpeString IpeXmlAttributes::operator[] ( IpeString  str  )  const

Return attribute with given key.

Returns an empty string if no attribute with this key exists.

bool IpeXmlAttributes::Has ( IpeString  str,
IpeString val 
) const

Check whether attribute exists, set val if so.

void IpeXmlAttributes::Add ( IpeString  key,
IpeString  val 
)

Add a new attribute.

void IpeXmlAttributes::SetSlash (  )  [inline]

Set that the tag contains the final /.

bool IpeXmlAttributes::Slash (  )  const [inline]

Return whether tag contains the final /.


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