WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
DomainTool.h
1#ifndef _WINC_DOMAINTOOL
2#define _WINC_DOMAINTOOL
3
4#include <WXP/Domain.h>
5#include <WXP/DomainVal.h>
6#include <WXP/Strings.h>
7
8namespace WXP {
9 class DomainTool {
10 static int setParam( DomainVal &val, const char *param, const char *field );
11 static int setParams( DomainVal &val, Strings &params, const char *fmt );
12 public:
13 static int proj( const char *proj );
14 static int decode( DomainVal &val, const char *str );
15 static int decode( Domain &domain, const char *str );
16 static int set( Domain &domain, const char *def );
17 static int set( Domain &domain );
18 };
19}
20#endif
This class has tools to manipulate domains.
Definition DomainTool.h:9
static int proj(const char *proj)
Definition DomainTool.cc:64
static int set(Domain &domain, const char *def)
Definition DomainTool.cc:407
static int decode(DomainVal &val, const char *str)
Definition DomainTool.cc:218
This class stores and manipulates domain data.
Definition Domain.h:19
This class creates a list of strings.
Definition Strings.h:5
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct defines basic domain parameters.
Definition DomainVal.h:5