IncrementalMetadataFinder Class Reference

(Internal) IncrementalMetadataFinder implements MetadataFinder and will locate metadata as needed. More...

#include <librets/IncrementalMetadataFinder.h>

Inheritance diagram for IncrementalMetadataFinder:

RetsObject MetadataFinder

List of all members.

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


Detailed Description

(Internal) IncrementalMetadataFinder implements MetadataFinder and will locate metadata as needed.

Constructor & Destructor Documentation

Constructor.

Parameters:
loader A pointer to the method that will handle the retrieval of the metadtata.


Member Function Documentation

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.

Parameters:
type The type of the metadata such as TABLE, SYSTEM, RESOURCE.
level The resource/class of the metadata such as "Property:RES".
Returns:
A pointer to the MetadataElementList containing the metadata.

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.

Parameters:
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.
Returns:
A pointer to the MetadataElement containing the metadata.

Implements MetadataFinder.

virtual std::ostream& Print ( std::ostream &  outputStream  )  const [virtual, inherited]

std::string ToString (  )  const [inherited]


Generated by  doxygen