Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

JdlAttributeList Class Reference

JobAd Manipulation attribute class This class allow the user to know the names of all Jobad attributes and it is used principally by JobAd in order to perform the requested checks needed ro prepare for submission. More...

List of all members.

Public Methods

void checkInt (const std::string &attr_name, int attr_value)
 Check if the couple attribute/value is admitted. More...

void checkDouble (const std::string &attr_name, const double &attr_value)
 Check if the couple attribute/value is admitted. More...

void checkBool (const std::string &attr_name, const bool &attr_value)
 Check if the couple attribute/value is admitted. More...

void checkString (const std::string &attr_name, const std::string &attr_value)
 Check if the couple attribute/value is admitted. More...

void checkAd (const std::string &attr_name, classad::ClassAd *attr_value)
 Check if the couple attribute/value is admitted. More...

void checkExpr (const std::string &attr_name, const std::string &attr_value)
 Check if the couple attribute/value is admitted. More...


Friends

class JobAd


Detailed Description

JobAd Manipulation attribute class This class allow the user to know the names of all Jobad attributes and it is used principally by JobAd in order to perform the requested checks needed ro prepare for submission.


Member Function Documentation

void checkAd const std::string &    attr_name,
classad::ClassAd *    attr_value
 

Check if the couple attribute/value is admitted.

Parameters:
attr_name  - the name of the attribute
attr_value  - the value of the attribute
Exceptions:
AdMismatchException  - The type of value is not allowed for the specified attribute name

void checkBool const std::string &    attr_name,
const bool &    attr_value
 

Check if the couple attribute/value is admitted.

Parameters:
attr_name  - the name of the attribute
attr_value  - the value of the attribute
Exceptions:
AdMismatchException  - The type of value is not allowed for the specified attribute name

void checkDouble const std::string &    attr_name,
const double &    attr_value
 

Check if the couple attribute/value is admitted.

Parameters:
attr_name  - the name of the attribute
attr_value  - the value of the attribute
Exceptions:
AdMismatchException  - The type of value is not allowed for the specified attribute name

void checkExpr const std::string &    attr_name,
const std::string &    attr_value
 

Check if the couple attribute/value is admitted.

Parameters:
attr_name  - the name of the attribute
attr_value  - the value of the attribute
Exceptions:
AdMismatchException  - The type of value is not allowed for the specified attribute name
AdFormatException  - The type of value is not allowed for the specified attribute name

void checkInt const std::string &    attr_name,
int    attr_value
 

Check if the couple attribute/value is admitted.

Parameters:
attr_name  - the name of the attribute
attr_value  - the value of the attribute
Exceptions:
AdMismatchException  - The type of value is not allowed for the specified attribute name

void checkString const std::string &    attr_name,
const std::string &    attr_value
 

Check if the couple attribute/value is admitted.

Parameters:
attr_name  - the name of the attribute
attr_value  - the value of the attribute
Exceptions:
AdMismatchException  - The type of value is not allowed for the specified attribute name


The documentation for this class was generated from the following file:
Generated on Fri May 14 14:18:26 2004 for COMMON API - configuration, jobid, ldif2classadi, logger, process, requestad, socket++i, task, utilities by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002