|  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
 | | |  |  |  | 
 XSNamedMap< TVal > Class Template ReferenceInheritance diagram for XSNamedMap< TVal >: [legend]List of all members. 
|  |  | 
 Public Member Functions |  |  |  |  | XSNamedMap (const unsigned int maxElems, const unsigned int modulus, XMLStringPool *uriStringPool, const bool adoptElems, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) |  |  |  |  | ~XSNamedMap () |  |  |  | unsigned int | getLength () |  |  | The number of XSObjectsin theXSObjectList.
 |  | TVal * | item (unsigned int index) |  |  | Returns the indexth item in the collection.
 |  | TVal * | itemByName (const XMLCh *compNamespace, const XMLCh *localName) |  |  | Retrieves a component specified by local name and namespace URI. 
 |  |  |  | void | addElement (TVal *const toAdd, const XMLCh *key1, const XMLCh *key2) |  template<class TVal>class XSNamedMap< TVal >
 Constructor & Destructor Documentation
 
 
 Member Function Documentation
 
  
    | 
        
          | template<class TVal> |  
          | void XSNamedMap< TVal >::addElement | ( | TVal *const | toAdd, |  
          |  |  | const XMLCh * | key1, |  
          |  |  | const XMLCh * | key2 |  
          |  | ) |  |  |  
 
  
    | 
        
          | template<class TVal> |  
          | unsigned int XSNamedMap< TVal >::getLength | ( |  | ) |  |  |  
  
    |  | 
The number of XSObjectsin theXSObjectList. 
The range of valid child object indices is 0 to mapLength-1inclusive. |  
 
  
    | 
        
          | template<class TVal> |  
          | TVal* XSNamedMap< TVal >::item | ( | unsigned int | index | ) |  |  |  
  
    |  | 
Returns the indexth item in the collection. 
The index starts at 0. If indexis greater than or equal to the number of objects in the list, this returnsnull. Parameters:
  
    |  | index | index into the collection. | 
 Returns:The XSObjectat theindexth position in theXSObjectList, ornullif that is not a valid index.
 |  
 
  
    | 
        
          | template<class TVal> |  
          | TVal* XSNamedMap< TVal >::itemByName | ( | const XMLCh * | compNamespace, |  
          |  |  | const XMLCh * | localName |  
          |  | ) |  |  |  
  
    |  | 
Retrieves a component specified by local name and namespace URI. 
 
applications must use the value null as the
 compNamespaceparameter for components whose targetNamespace property is absent. Parameters:
  
    |  | compNamespace | The namespace URI of the component to retrieve. |  |  | localName | The local name of the component to retrieve. | 
 Returns:A component (of any type) with the specified local name and namespace URI, or nullif they do not identify any node in this map.
 |  The documentation for this class was generated from the following file:
 | 
 
 | 
 |