Rok4Server  0.25.4
 All Classes Files Functions Variables Enumerations Enumerator Pages
Public Member Functions | Private Attributes | List of all members
MetadataURL Class Reference

Metadata handler for the capabilities documents. More...

#include <MetadataURL.h>

Inheritance diagram for MetadataURL:
Inheritance graph
Collaboration diagram for MetadataURL:
Collaboration graph

Public Member Functions

 MetadataURL (std::string format, std::string href, std::string type)
 Create a MetadataURL.
 MetadataURL (const MetadataURL &origMtdUrl)
 Copy Constructor.
MetadataURLoperator= (MetadataURL const &other)
 Assignement.
bool operator== (const MetadataURL &other) const
 Test whether 2 MetadataURLs are equals.
bool operator!= (const MetadataURL &other) const
 Test whether 2 MetadataURLs are different.
std::string getType ()
 Return the metadata type.
virtual ~MetadataURL ()
 Default destructor.
- Public Member Functions inherited from ResourceLocator
 ResourceLocator (std::string format, std::string href)
 Create a ResourceLocator.
 ResourceLocator (const ResourceLocator &origRL)
 Copy Constructor.
ResourceLocatoroperator= (ResourceLocator const &other)
 Assignement.
bool operator== (const ResourceLocator &other) const
 Test whether 2 ResourceLocators are equals.
bool operator!= (const ResourceLocator &other) const
 Test whether 2 ResourceLocators are different.
const std::string getFormat () const
 Return the linked file mime type.
const std::string getHRef () const
 Return the file link in URL format.
virtual ~ResourceLocator ()
 Default destructor.

Private Attributes

std::string type
 Metadata type.

Detailed Description

Metadata handler for the capabilities documents.

Author
Institut national de l'information géographique et forestière

A MetadataURL represent a metadata link element in the differents capabilities documents.

Constructor & Destructor Documentation

MetadataURL::MetadataURL ( std::string  format,
std::string  href,
std::string  type 
)

Create a MetadataURL.

Parameters
[in]formatlinked file mime type
[in]hreffile link as a URL
[in]typemetadata type
MetadataURL::MetadataURL ( const MetadataURL origMtdUrl)

Copy Constructor.

Create a MetadataURL from another

Parameters
[in]origMtdUrlMetadataURL to copy

Member Function Documentation

std::string MetadataURL::getType ( )
inline

Return the metadata type.

Returns
type

Here is the caller graph for this function:

bool MetadataURL::operator!= ( const MetadataURL other) const

Test whether 2 MetadataURLs are different.

Returns
true if one of their attributes is different
bool MetadataURL::operator== ( const MetadataURL other) const

Test whether 2 MetadataURLs are equals.

Returns
true if all their attributes are identical

Here is the call graph for this function:


The documentation for this class was generated from the following files: