#include <librets/DefaultMetadataCollector.h>
Public Member Functions | |
DefaultMetadataCollector () | |
virtual | ~DefaultMetadataCollector () |
void | AddElement (MetadataElementPtr element) |
Add the metadata element to the list. | |
MetadataElementListPtr | FindByLevel (MetadataElement::MetadataType 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 |
Prints the object in a standard form for debugging and error reporting. | |
std::string | ToString () const |
virtual bool | Equals (const RetsObject *object) const |
virtual ~DefaultMetadataCollector | ( | ) | [virtual] |
void AddElement | ( | MetadataElementPtr | element | ) | [virtual] |
Add the metadata element to the list.
element | A pointer to the MetadataElemnent to add to the list. |
Implements MetadataElementCollector.
virtual bool Equals | ( | const RetsObject * | object | ) | const [virtual, inherited] |
MetadataElementListPtr FindByLevel | ( | MetadataElement::MetadataType | 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] |
Prints the object in a standard form for debugging and error reporting.
Reimplemented from RetsObject.
std::string ToString | ( | ) | const [inherited] |