ARC SDK
|
ApplicationEnvironment. More...
#include <arc/compute/ExecutionTarget.h>
Public Member Functions | |
ApplicationEnvironment (const std::string &Name) | |
ApplicationEnvironment (const std::string &Name, const std::string &Version) | |
ApplicationEnvironment & | operator= (const Software &sv) |
![]() | |
Software () | |
Dummy constructor. More... | |
Software (const std::string &name_version) | |
Create a Software object. More... | |
Software (const std::string &name, const std::string &version) | |
Create a Software object. More... | |
Software (const std::string &family, const std::string &name, const std::string &version) | |
Create a Software object. More... | |
bool | empty () const |
Indicates whether the object is empty. More... | |
bool | operator== (const Software &sw) const |
Equality operator. More... | |
bool | operator!= (const Software &sw) const |
Inequality operator. More... | |
bool | operator> (const Software &sw) const |
Greater-than operator. More... | |
bool | operator< (const Software &sw) const |
Less-than operator. More... | |
bool | operator>= (const Software &sw) const |
Greater-than or equal operator. More... | |
bool | operator<= (const Software &sw) const |
Less-than or equal operator. More... | |
std::string | operator() () const |
Get string representation. More... | |
operator std::string (void) const | |
Cast to string. More... | |
const std::string & | getFamily () const |
Get family. More... | |
const std::string & | getName () const |
Get name. More... | |
const std::string & | getVersion () const |
Get version. More... | |
const std::list< std::string > & | getOptions () const |
void | addOption (const std::string &opt) |
void | addOptions (const std::list< std::string > &opts) |
Data Fields | |
std::string | State |
int | FreeSlots |
int | FreeJobs |
int | FreeUserSeats |
Additional Inherited Members | |
![]() | |
enum | ComparisonOperatorEnum { NOTEQUAL = 0, EQUAL = 1, GREATERTHAN = 2, LESSTHAN = 3, GREATERTHANOREQUAL = 4, LESSTHANOREQUAL = 5 } |
Comparison operator enum. More... | |
typedef bool(Software::* | ComparisonOperator )(const Software &) const |
Definition of a comparison operator method pointer. More... | |
![]() | |
static ComparisonOperator | convert (const ComparisonOperatorEnum &co) |
Convert a ComparisonOperatorEnum value to a comparison method pointer. More... | |
static std::string | toString (ComparisonOperator co) |
Convert Software::ComparisonOperator to a string. More... | |
![]() | |
static const std::string | VERSIONTOKENS |
Tokens used to split version string. More... | |
The ApplicationEnviroment is closely related to the definition given in GLUE2. By extending the Software class the two GLUE2 attributes AppName and AppVersion are mapped to two private members. However these can be obtained through the inheriated member methods getName and getVersion.
GLUE2 description: A description of installed application software or software environment characteristics available within one or more Execution Environments.