#include <glite/jdl/JobAdSchema.h>
Public Types | |
SCHEMA_DAC | |
SCHEMA_RTE | |
SCHEMA_TCPU | |
SCHEMA_FCPU | |
SCHEMA_OIP | |
SCHEMA_ARRAY | |
enum | attribute { SCHEMA_DAC, SCHEMA_RTE, SCHEMA_TCPU, SCHEMA_FCPU, SCHEMA_OIP, SCHEMA_ARRAY } |
Public Member Functions | |
JobAdSchema (std::vector< std::string > values) | |
std::string | get (attribute attrName) |
JobAdSchema * | Copy () |
Static Public Member Functions | |
static JobAdSchema * | glueSchema () |
static JobAdSchema | edgSchema () |
glite::jdl::JobAdSchema::JobAdSchema | ( | std::vector< std::string > | values | ) |
CUSTOM schema constructor
values | an array of string of SCHEMA_ARRAY dimension |
JobAdSchema* glite::jdl::JobAdSchema::Copy | ( | ) |
Make a deep copy of the current JobAdSchema instance
static JobAdSchema glite::jdl::JobAdSchema::edgSchema | ( | ) | [static] |
EDG schema static constructor: deprecated
std::string glite::jdl::JobAdSchema::get | ( | attribute | attrName | ) |
Retrieve the value for a specified attribute
attrName | the attribute to be retrieved |
static JobAdSchema* glite::jdl::JobAdSchema::glueSchema | ( | ) | [static] |
GLUE schema static constructor (JobAd default utilised schema)