#include <WMSGetCapabilities.h>
Inheritance diagram for WMSGetCapabilities:

Public Member Functions | |
| WMSGetCapabilities (TdkConDescriptor &descriptor) | |
| ~WMSGetCapabilities () | |
| std::string | getCapabilities (std::string url, long projectId, long viewId) |
Private Member Functions | |
| NodoXML * | createRootNode (std::string url) |
| NodoXML * | createCapabilityNode (std::string url) |
| NodoXML * | createLayerCollectionNode (TdkView *view) |
| NodoXML * | createLayerNode (TdkTheme *theme, TeProjection *viewProj) |
| std::string | createHeader () |
Private Attributes | |
| TdkConDescriptor & | _descriptor |
| WMSGetCapabilities::WMSGetCapabilities | ( | TdkConDescriptor & | descriptor | ) |
Constructor. Constructs a WMSGetCapabilities object.
| Database | connection information reference. |
| WMSGetCapabilities::~WMSGetCapabilities | ( | ) |
Destructor. Destroys a WMSGetCapabilities object. (note that the destructor is not virtual, so this class is not indented to be inherited from)
| std::string WMSGetCapabilities::getCapabilities | ( | std::string | url, | |
| long | projectId, | |||
| long | viewId | |||
| ) |
Builds a XML string listing the WMS capabilities of the server.
| URL | of the WMS address to be included in the attribute xlink:href of the OnlineResource node of the XML string. | |
| Id | of the selected project. | |
| Id | of the selected project's view. |
| NodoXML * WMSGetCapabilities::createRootNode | ( | std::string | url | ) | [private] |
Auxiliary method that creates the root node of the capabilities XML tree.
| URL | of the WMS address to be included in the attribute xlink:href of the OnlineResource node of the XML string. |
| NodoXML * WMSGetCapabilities::createCapabilityNode | ( | std::string | url | ) | [private] |
Auxiliary method that creates the capabilities node of the capabilities XML tree.
| URL | of the WMS address to be included in the attribute xlink:href of the OnlineResource node of the XML string. |
Auxiliary method to create a XML node for a given view.
| view | the node will be representing. |
| NodoXML * WMSGetCapabilities::createLayerNode | ( | TdkTheme * | theme, | |
| TeProjection * | viewProj | |||
| ) | [private] |
Auxiliary method to create a XML node for a given theme.
| Theme | that the node will represent. | |
| Projection | that is used by the view. |
| std::string WMSGetCapabilities::createHeader | ( | ) | [private] |
Creates a basic WMS XML header.
TdkConDescriptor& WMSGetCapabilities::_descriptor [private] |
Database connection information reference. Contains all the necessary data to create a connection to the TDK database.
1.5.2