Provides a Schema used to check the attribute in the JobAd The default utilised schema is GLUE. More...
#include <src/requestad/JobAdSchema.h>
Public Types | |
enum | attribute { SCHEMA_DAC, SCHEMA_RTE, SCHEMA_TCPU, SCHEMA_FCPU, SCHEMA_OIP, SCHEMA_ARRAY } |
Public Member Functions | |
JobAdSchema (std::vector< std::string > values) | |
CUSTOM schema constructor. | |
std::string | get (attribute attrName) |
Retrieve the value for a specified attribute attrName the attribute to be retrieved. | |
JobAdSchema * | Copy () |
Make a deep copy of the current JobAdSchema instance. | |
Static Public Member Functions | |
static JobAdSchema * | glueSchema () |
GLUE schema static constructor (JobAd default utilised schema). | |
static JobAdSchema | edgSchema () |
EDG schema static constructor: deprecated. |
Provides a Schema used to check the attribute in the JobAd The default utilised schema is GLUE.
To instanciate a schema you will need to provide an array of Strings, one per attribute
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).