Does not inherit.
<rwsf/XmlBinding/XmlBindingKeyRefFinder.h>
Class rwsf::XmlBindingKeyRefFinder allows the storage and retrieval of keys and keyrefs from a map. The fields are a key to the map, and so must be a single value even though there may be multiple keys.
XmlBindingKeyRefFinder()
Default constructor.
static XmlBindingKeyRefFinder* getInstance();
Returns the associated XmlBindingKeyRefFinder instance. If an instance does not exist, creates one.
void addKey(const rwsf::XmlName& name, const std::string& fields, const XmlBindingHandle& instance);
Store using key name and composite field values.
void addKeyRef(const rwsf::XmlName& name, const std::string& fields, XmlBindingHandle& instance);
Store using key name and composite field values.
XmlBindingHandle findKey(const rwsf::XmlName& name, const std::string& fields) const;
Look up using key name and composite field values
std::string composeFields(std::vector<std::string>) const;
Creates a single string out of a set of fields to use as a key into the map.
©2004-2007 Copyright Quovadx, Inc. All Rights Reserved.
Quovadx and Rogue Wave are registered trademarks of Quovadx, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.