WXP::StatPrior Class Reference
This class defines station priority values.
More...
#include "../include/StatPrior.h"
List of all members.
Public Member Functions |
| | StatPrior () |
| | StatPrior (float size, const char *str) |
|
int | init () |
|
int | set () |
|
int | set (int val) |
| int | setSize (float size) |
| int | setParam (const char *str) |
| int | set (float size, const char *str) |
| int | get () |
| bool | check (int prior) |
|
int | print () |
Detailed Description
This class defines station priority values.
- Author:
- Dan Vietor
Constructor & Destructor Documentation
| StatPrior::StatPrior |
( |
float |
size, |
|
|
const char * |
str | |
|
) |
| | |
Constructor - Initializes the class to the priority and domain size
- Parameters:
-
| size | The domain size |
| str | The string defining priority info |
Member Function Documentation
| bool StatPrior::check |
( |
int |
pr |
) |
|
Checks a priority against set priority
- Returns:
- true or false
Returns the priority
- Returns:
- The priority
| int StatPrior::set |
( |
float |
rsize, |
|
|
const char * |
str | |
|
) |
| | |
Sets the class to the priority and domain size
- Parameters:
-
| rsize | The domain size |
| str | The string defining priority info |
References WXP::StrLib::copy().
| int StatPrior::setParam |
( |
const char * |
str |
) |
|
Sets the priority
- Parameters:
-
| str | The string defining priority info |
References WXP::StrLib::copy().
| int StatPrior::setSize |
( |
float |
rsize |
) |
|
Sets the priority based on domain size
- Parameters:
-
The documentation for this class was generated from the following files: