jdl-api-cpp-3.4.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
glite::jdl::JobAdSchema Class Reference

#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)
 
JobAdSchemaCopy ()
 

Static Public Member Functions

static JobAdSchemaglueSchema ()
 
static JobAdSchema edgSchema ()
 

Detailed Description

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

Version
0.1
Author
Alessandro Maraschini aless.nosp@m.andr.nosp@m.o.mar.nosp@m.asch.nosp@m.ini@d.nosp@m.atam.nosp@m.at.it

Member Enumeration Documentation

Enumerator
SCHEMA_DAC 

other.DataAccessCost attribute

SCHEMA_RTE 

other.GlueHostApplicationSoftwareRunTimeEnvironment attribute. Appended for MPI jobs in Requirements expression

SCHEMA_TCPU 

other.GlueCEInfoTotalCPUs attribute. Appended for MPI jobs in Requirements expression

SCHEMA_FCPU 

other.GlueCEStateFreeCPUs attribute Set for MPI jobs as a default rank (if not given)

SCHEMA_OIP 

other.GlueHostNetworkAdapterOutboundIP Added for Interactive Jobs in requirements expression

SCHEMA_ARRAY 

Max index array dimension for Schema Attributes

Constructor & Destructor Documentation

glite::jdl::JobAdSchema::JobAdSchema ( std::vector< std::string >  values)

CUSTOM schema constructor

Parameters
valuesan array of string of SCHEMA_ARRAY dimension

Member Function Documentation

JobAdSchema* glite::jdl::JobAdSchema::Copy ( )

Make a deep copy of the current JobAdSchema instance

Returns
the copy of the current schema
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

Parameters
attrNamethe attribute to be retrieved
Returns
the string representation of the value to be retrieved
static JobAdSchema* glite::jdl::JobAdSchema::glueSchema ( )
static

GLUE schema static constructor (JobAd default utilised schema)


The documentation for this class was generated from the following file: