Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

Phx::XmlDescriptionNode::AttribSpec Class Reference

Attributes in a description can either be a singleton or a collection. This AttribSpec structure allows one to specify an attribute by name, or name and selector (for collections) to XmlDescriptionNode APIs. More...

#include <PhxXmlDescription.h>

List of all members.

Public Member Functions

 AttribSpec (const String &name)
 Constructs an AttribSpec specifying a singleton attribute with name given.
 AttribSpec (const String &name, const String &index)
 Constructs an AttribSpec specifying a single attribute within a collection of attributes.
const String & name (void) const
 Gets the name of the attribute specified by this AttribSpec.
const String & index (void) const
 Gets the index of the attribute specified by this AttribSpec. or "" if the attribute is a singleton.


Detailed Description

Attributes in a description can either be a singleton or a collection. This AttribSpec structure allows one to specify an attribute by name, or name and selector (for collections) to XmlDescriptionNode APIs.


Constructor & Destructor Documentation

Phx::XmlDescriptionNode::AttribSpec::AttribSpec const String &  name  )  [inline]
 

Constructs an AttribSpec specifying a singleton attribute with name given.

Parameters:
name The name of the attribute.

Phx::XmlDescriptionNode::AttribSpec::AttribSpec const String &  name,
const String &  index
[inline]
 

Constructs an AttribSpec specifying a single attribute within a collection of attributes.

Parameters:
name The name of the collection attribute.
index The selector specifying the attribute within the collection. If this is "", it is equivalent to calling the singleton version of the constructor.


The documentation for this class was generated from the following file:
Generated on Mon Jul 10 19:45:30 2006 for Phoenix OSFS by  doxygen 1.4.2