#include <glite/jdl/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) | |
| std::string | get (attribute attrName) |
| JobAdSchema * | Copy () |
Static Public Member Functions | |
| static JobAdSchema * | glueSchema () |
| static JobAdSchema | edgSchema () |
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)
1.6.1