#include "OSConfig.h"
#include <string>
#include <vector>
Include dependency graph for OSGeneral.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Definition in file OSGeneral.h.
enum ENUM_CPUSPEEDUNIT |
Definition at line 461 of file OSGeneral.h.
enum ENUM_STORAGEUNIT |
Definition at line 497 of file OSGeneral.h.
enum ENUM_TIMEUNIT |
ENUM_TIMEUNIT_tick | |
ENUM_TIMEUNIT_millisecond | |
ENUM_TIMEUNIT_second | |
ENUM_TIMEUNIT_minute | |
ENUM_TIMEUNIT_hour | |
ENUM_TIMEUNIT_day | |
ENUM_TIMEUNIT_week | |
ENUM_TIMEUNIT_month | |
ENUM_TIMEUNIT_year |
Definition at line 529 of file OSGeneral.h.
enum ENUM_TIMETYPE |
Definition at line 561 of file OSGeneral.h.
enum ENUM_TIMECATEGORY |
ENUM_TIMECATEGORY_total | |
ENUM_TIMECATEGORY_input | |
ENUM_TIMECATEGORY_preprocessing | |
ENUM_TIMECATEGORY_optimization | |
ENUM_TIMECATEGORY_postprocessing | |
ENUM_TIMECATEGORY_output | |
ENUM_TIMECATEGORY_other |
Definition at line 581 of file OSGeneral.h.
enum ENUM_LOCATIONTYPE |
Definition at line 609 of file OSGeneral.h.
enum ENUM_TRANSPORT_TYPE |
ENUM_TRANSPORT_TYPE_osp | |
ENUM_TRANSPORT_TYPE_http | |
ENUM_TRANSPORT_TYPE_smtp | |
ENUM_TRANSPORT_TYPE_ftp | |
ENUM_TRANSPORT_TYPE_other |
Definition at line 629 of file OSGeneral.h.
enum ENUM_SERVICE_TYPE |
ENUM_SERVICE_TYPE_analyzer | |
ENUM_SERVICE_TYPE_solver | |
ENUM_SERVICE_TYPE_scheduler | |
ENUM_SERVICE_TYPE_modeler | |
ENUM_SERVICE_TYPE_registry | |
ENUM_SERVICE_TYPE_agent | |
ENUM_SERVICE_TYPE_simulations |
Definition at line 653 of file OSGeneral.h.
ENUM_GENERAL_RESULT_STATUS_error | |
ENUM_GENERAL_RESULT_STATUS_warning | |
ENUM_GENERAL_RESULT_STATUS_normal |
Definition at line 681 of file OSGeneral.h.
ENUM_SYSTEM_CURRENT_STATE_busy | |
ENUM_SYSTEM_CURRENT_STATE_busyButAccepting | |
ENUM_SYSTEM_CURRENT_STATE_idle | |
ENUM_SYSTEM_CURRENT_STATE_idleButNotAccepting | |
ENUM_SYSTEM_CURRENT_STATE_noResponse |
Definition at line 701 of file OSGeneral.h.
enum ENUM_JOB_STATUS |
ENUM_JOB_STATUS_waiting | |
ENUM_JOB_STATUS_running | |
ENUM_JOB_STATUS_killed | |
ENUM_JOB_STATUS_finished | |
ENUM_JOB_STATUS_unknown |
Definition at line 725 of file OSGeneral.h.
enum ENUM_BASIS_STATUS |
ENUM_BASIS_STATUS_basic | |
ENUM_BASIS_STATUS_atLower | |
ENUM_BASIS_STATUS_atUpper | |
ENUM_BASIS_STATUS_isFree | |
ENUM_BASIS_STATUS_superbasic | |
ENUM_BASIS_STATUS_unknown |
Definition at line 750 of file OSGeneral.h.
enum ENUM_SOLUTION_STATUS |
Definition at line 776 of file OSGeneral.h.
ENUM_SOLUTION_SUBSTATUSTYPE_stoppedByLimit | |
ENUM_SOLUTION_SUBSTATUSTYPE_stoppedByBounds | |
ENUM_SOLUTION_SUBSTATUSTYPE_other |
Definition at line 810 of file OSGeneral.h.
enum ENUM_VARTYPE |
ENUM_VARTYPE_CONTINUOUS | |
ENUM_VARTYPE_INTEGER | |
ENUM_VARTYPE_BINARY | |
ENUM_VARTYPE_SEMICONTINUOUS | |
ENUM_VARTYPE_SEMIINTEGER | |
ENUM_VARTYPE_STRING |
Definition at line 830 of file OSGeneral.h.
int returnCPUSpeedUnit | ( | std::string | unit | ) | [inline] |
Definition at line 476 of file OSGeneral.h.
References ENUM_CPUSPEEDUNIT_flops, ENUM_CPUSPEEDUNIT_gigaflops, ENUM_CPUSPEEDUNIT_gigahertz, ENUM_CPUSPEEDUNIT_hertz, ENUM_CPUSPEEDUNIT_kiloflops, ENUM_CPUSPEEDUNIT_kilohertz, ENUM_CPUSPEEDUNIT_megaflops, ENUM_CPUSPEEDUNIT_megahertz, ENUM_CPUSPEEDUNIT_petaflops, ENUM_CPUSPEEDUNIT_teraflops, and ENUM_CPUSPEEDUNIT_terahertz.
Referenced by verifyCPUSpeedUnit().
bool verifyCPUSpeedUnit | ( | std::string | unit | ) | [inline] |
Definition at line 492 of file OSGeneral.h.
References returnCPUSpeedUnit().
Referenced by OSResult::setAvailableCPUSpeedUnit(), OSOption::setMinCPUSpeedUnit(), and OSResult::setUsedCPUSpeedUnit().
int returnStorageUnit | ( | std::string | unit | ) | [inline] |
Definition at line 510 of file OSGeneral.h.
References ENUM_STORAGEUNIT_byte, ENUM_STORAGEUNIT_exabyte, ENUM_STORAGEUNIT_gigabyte, ENUM_STORAGEUNIT_kilobyte, ENUM_STORAGEUNIT_megabyte, ENUM_STORAGEUNIT_petabyte, ENUM_STORAGEUNIT_terabyte, ENUM_STORAGEUNIT_yottabyte, and ENUM_STORAGEUNIT_zettabyte.
Referenced by verifyStorageUnit().
bool verifyStorageUnit | ( | std::string | unit | ) | [inline] |
Definition at line 524 of file OSGeneral.h.
References returnStorageUnit().
Referenced by OSResult::setAvailableDiskSpaceUnit(), OSResult::setAvailableMemoryUnit(), OSOption::setMinDiskSpaceUnit(), OSOption::setMinMemoryUnit(), OSResult::setUsedDiskSpaceUnit(), and OSResult::setUsedMemoryUnit().
int returnTimeUnit | ( | std::string | unit | ) | [inline] |
Definition at line 542 of file OSGeneral.h.
References ENUM_TIMEUNIT_day, ENUM_TIMEUNIT_hour, ENUM_TIMEUNIT_millisecond, ENUM_TIMEUNIT_minute, ENUM_TIMEUNIT_month, ENUM_TIMEUNIT_second, ENUM_TIMEUNIT_tick, ENUM_TIMEUNIT_week, and ENUM_TIMEUNIT_year.
Referenced by verifyTimeUnit().
bool verifyTimeUnit | ( | std::string | unit | ) | [inline] |
Definition at line 556 of file OSGeneral.h.
References returnTimeUnit().
Referenced by OSResult::addTimingInformation(), OSOption::setMaxTimeUnit(), and OSResult::setTimingInformation().
int returnTimeType | ( | std::string | type | ) | [inline] |
Definition at line 568 of file OSGeneral.h.
References ENUM_TIMETYPE_cpuTime, ENUM_TIMETYPE_elapsedTime, and ENUM_TIMETYPE_other.
Referenced by verifyTimeType().
bool verifyTimeType | ( | std::string | type | ) | [inline] |
Definition at line 576 of file OSGeneral.h.
References returnTimeType().
Referenced by OSResult::setTimingInformation().
int returnTimeCategory | ( | std::string | category | ) | [inline] |
Definition at line 592 of file OSGeneral.h.
References ENUM_TIMECATEGORY_input, ENUM_TIMECATEGORY_optimization, ENUM_TIMECATEGORY_other, ENUM_TIMECATEGORY_output, ENUM_TIMECATEGORY_postprocessing, ENUM_TIMECATEGORY_preprocessing, and ENUM_TIMECATEGORY_total.
Referenced by verifyTimeCategory().
bool verifyTimeCategory | ( | std::string | category | ) | [inline] |
Definition at line 604 of file OSGeneral.h.
References returnTimeCategory().
Referenced by OSResult::setTimingInformation().
int returnLocationType | ( | std::string | type | ) | [inline] |
Definition at line 616 of file OSGeneral.h.
References ENUM_LOCATIONTYPE_ftp, ENUM_LOCATIONTYPE_http, and ENUM_LOCATIONTYPE_local.
Referenced by verifyLocationType().
bool verifyLocationType | ( | std::string | type | ) | [inline] |
Definition at line 624 of file OSGeneral.h.
References returnLocationType().
Referenced by OSOption::setInstanceLocationType().
int returnTransportType | ( | std::string | type | ) | [inline] |
Definition at line 638 of file OSGeneral.h.
References ENUM_TRANSPORT_TYPE_ftp, ENUM_TRANSPORT_TYPE_http, ENUM_TRANSPORT_TYPE_osp, ENUM_TRANSPORT_TYPE_other, and ENUM_TRANSPORT_TYPE_smtp.
Referenced by verifyTransportType().
bool verifyTransportType | ( | std::string | type | ) | [inline] |
Definition at line 648 of file OSGeneral.h.
References returnTransportType().
Referenced by OSOption::setContactTransportType().
int returnServiceType | ( | std::string | type | ) | [inline] |
Definition at line 664 of file OSGeneral.h.
References ENUM_SERVICE_TYPE_agent, ENUM_SERVICE_TYPE_analyzer, ENUM_SERVICE_TYPE_modeler, ENUM_SERVICE_TYPE_registry, ENUM_SERVICE_TYPE_scheduler, ENUM_SERVICE_TYPE_simulations, and ENUM_SERVICE_TYPE_solver.
Referenced by verifyServiceType().
bool verifyServiceType | ( | std::string | type | ) | [inline] |
Definition at line 676 of file OSGeneral.h.
References returnServiceType().
Referenced by OSOption::setServiceType().
int returnGeneralResultStatus | ( | std::string | status | ) | [inline] |
Definition at line 688 of file OSGeneral.h.
References ENUM_GENERAL_RESULT_STATUS_error, ENUM_GENERAL_RESULT_STATUS_normal, and ENUM_GENERAL_RESULT_STATUS_warning.
Referenced by verifyGeneralResultStatus().
bool verifyGeneralResultStatus | ( | std::string | status | ) | [inline] |
int returnSystemCurrentState | ( | std::string | status | ) | [inline] |
Definition at line 710 of file OSGeneral.h.
References ENUM_SYSTEM_CURRENT_STATE_busy, ENUM_SYSTEM_CURRENT_STATE_busyButAccepting, ENUM_SYSTEM_CURRENT_STATE_idle, ENUM_SYSTEM_CURRENT_STATE_idleButNotAccepting, and ENUM_SYSTEM_CURRENT_STATE_noResponse.
Referenced by verifySystemCurrentState().
bool verifySystemCurrentState | ( | std::string | status | ) | [inline] |
Definition at line 720 of file OSGeneral.h.
References returnSystemCurrentState().
Referenced by OSResult::setCurrentState().
int returnJobStatus | ( | std::string | status | ) | [inline] |
Definition at line 734 of file OSGeneral.h.
References ENUM_JOB_STATUS_finished, ENUM_JOB_STATUS_killed, ENUM_JOB_STATUS_running, ENUM_JOB_STATUS_unknown, and ENUM_JOB_STATUS_waiting.
Referenced by verifyJobStatus().
bool verifyJobStatus | ( | std::string | status | ) | [inline] |
Definition at line 744 of file OSGeneral.h.
References returnJobStatus().
Referenced by OSResult::setJobStatus().
int returnBasisStatus | ( | std::string | status | ) | [inline] |
Definition at line 760 of file OSGeneral.h.
References ENUM_BASIS_STATUS_atLower, ENUM_BASIS_STATUS_atUpper, ENUM_BASIS_STATUS_basic, ENUM_BASIS_STATUS_isFree, ENUM_BASIS_STATUS_superbasic, and ENUM_BASIS_STATUS_unknown.
Referenced by verifyBasisStatus().
bool verifyBasisStatus | ( | std::string | status | ) | [inline] |
Definition at line 771 of file OSGeneral.h.
References returnBasisStatus().
Referenced by OSOption::setInitBasisStatusDense().
int returnSolutionStatus | ( | std::string | status | ) | [inline] |
Definition at line 790 of file OSGeneral.h.
References ENUM_SOLUTION_STATUS_bestSoFar, ENUM_SOLUTION_STATUS_error, ENUM_SOLUTION_STATUS_feasible, ENUM_SOLUTION_STATUS_globallyOptimal, ENUM_SOLUTION_STATUS_infeasible, ENUM_SOLUTION_STATUS_locallyOptimal, ENUM_SOLUTION_STATUS_optimal, ENUM_SOLUTION_STATUS_other, ENUM_SOLUTION_STATUS_unbounded, and ENUM_SOLUTION_STATUS_unsure.
Referenced by verifySolutionStatus().
bool verifySolutionStatus | ( | std::string | status | ) | [inline] |
Definition at line 805 of file OSGeneral.h.
References returnSolutionStatus().
Referenced by OSResult::setSolutionStatusType().
int returnSolutionSubstatusType | ( | std::string | type | ) | [inline] |
Definition at line 817 of file OSGeneral.h.
References ENUM_SOLUTION_SUBSTATUSTYPE_other, ENUM_SOLUTION_SUBSTATUSTYPE_stoppedByBounds, and ENUM_SOLUTION_SUBSTATUSTYPE_stoppedByLimit.
Referenced by verifySolutionSubstatusType().
bool verifySolutionSubstatusType | ( | std::string | type | ) | [inline] |
Definition at line 825 of file OSGeneral.h.
References returnSolutionSubstatusType().
Referenced by OSResult::setSolutionSubstatusType().
int returnVarType | ( | char | vt | ) | [inline] |
Definition at line 840 of file OSGeneral.h.
References ENUM_VARTYPE_BINARY, ENUM_VARTYPE_CONTINUOUS, ENUM_VARTYPE_INTEGER, ENUM_VARTYPE_SEMICONTINUOUS, ENUM_VARTYPE_SEMIINTEGER, and ENUM_VARTYPE_STRING.
Referenced by OSInstance::processVariables(), and verifyVarType().
bool verifyVarType | ( | char | vt | ) | [inline] |