WXP::DomainTool Class Reference
[Utility objects]

This class has tools to manipulate domains. More...

#include "../include/DomainTool.h"

List of all members.

Static Public Member Functions

static int proj (const char *proj)
static int decode (DomainVal &val, const char *str)
static int decode (Domain &domain, const char *str)
static int set (Domain &domain, const char *def)
static int set (Domain &domain)

Detailed Description

This class has tools to manipulate domains.

Author:
Dan Vietor

Member Function Documentation

int DomainTool::decode ( Domain domain,
const char *  str 
) [static]

Sets the domain parameters given a string.

Return values:
domain Output domain class.
Parameters:
str String containing projection information.

References decode(), and WXP::Domain::set().

int DomainTool::decode ( DomainVal val,
const char *  str 
) [static]
int DomainTool::proj ( const char *  proj  )  [static]
int DomainTool::set ( Domain domain  )  [static]

Sets the domain parameters from resource values.

Return values:
domain Output domain class.
Parameters:
def Default domain string.

References decode().

int DomainTool::set ( Domain domain,
const char *  def 
) [static]

Sets the domain parameters from resource values. It first checks "plot_domain" resource and then sets to default value.

Return values:
domain Output domain class.
Parameters:
def Default domain string.

References decode().

Referenced by WXP::UpaPlot::getDomain(), WXP::SfcPlot::getDomain(), WXP::RcmPlot::getDomain(), WXP::RawPlot::getDomain(), WXP::RadPlot::getDomain(), WXP::MosPlot::getDomain(), and WXP::MdrPlot::getDomain().


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

Generated on 8 Jan 2010 for WXP C++ Library by  doxygen 1.6.1