#include <librets/IncrementalMetadataFinder.h>
Public Member Functions | |
IncrementalMetadataFinder (MetadataLoader *loader) | |
Constructor. | |
virtual MetadataElementListPtr | FindByLevel (MetadataElement::Type type, std::string level) |
Find the metadta for a given table/object. | |
virtual MetadataElementPtr | FindByPath (MetadataElement::Type type, std::string level, std::string id) |
Find the metadata for a given table/object by Id. | |
virtual std::ostream & | Print (std::ostream &outputStream) const |
std::string | ToString () const |
virtual bool | Equals (const RetsObject *object) const |
IncrementalMetadataFinder | ( | MetadataLoader * | loader | ) |
Constructor.
loader | A pointer to the method that will handle the retrieval of the metadtata. |
virtual bool Equals | ( | const RetsObject * | object | ) | const [virtual, inherited] |
virtual MetadataElementListPtr FindByLevel | ( | MetadataElement::Type | type, | |
std::string | level | |||
) | [virtual] |
Find the metadta for a given table/object.
type | The type of the metadata such as TABLE, SYSTEM, RESOURCE. | |
level | The resource/class of the metadata such as "Property:RES". |
Implements MetadataFinder.
virtual MetadataElementPtr FindByPath | ( | MetadataElement::Type | type, | |
std::string | level, | |||
std::string | id | |||
) | [virtual] |
Find the metadata for a given table/object by Id.
type | The type of the metadata such as TABLE, SYSTEM, RESOURCE. | |
level | The resource/class of the metadata such as "Property:RES". | |
id | The Id of the specific metadata element to retrieve. |
Implements MetadataFinder.
virtual std::ostream& Print | ( | std::ostream & | outputStream | ) | const [virtual, inherited] |
Reimplemented in CapabilityUrls, DefaultMetadataCollector, DmqlQuery, FieldCriterion, GetObjectQuery, JunctionCriterion, LiteralCriterion, LookupCriterion, MetadataElement, NotCriterion, RetsXmlAttribute, RetsXmlEndDocumentEvent, RetsXmlEndElementEvent, RetsXmlStartElementEvent, RetsXmlTextEvent, and Uri.
std::string ToString | ( | ) | const [inherited] |