#include <glite/jdl/NodeAd.h>
Inheritance diagram for glite::jdl::NodeAd:

Public Member Functions | |
| NodeAd () | |
| NodeAd (const std::string &jdl) | |
| NodeAd (const classad::ClassAd &classAd) | |
| NodeAd (const NodeAd &nodead) | |
| void | operator= (const NodeAd &nodead) |
| virtual | ~NodeAd () throw () |
| std::vector< classad::ExprTree * > | getRemoteSandbox () |
| std::vector< std::string > | getStringValue (const std::string &attr_name) |
| void | addUserTag (const std::string &attr_name, const std::string &attr_value) |
| void | checkSyntax (const std::string &attr_name, classad::Value attr_value) |
Protected Member Functions | |
| std::vector< std::string > | getISBStrings () |
| void | checkInputSandbox (std::vector< std::string > &extracted) |
| void | checkSpecials () |
| void | insertAttribute (const std::string &attr_name, classad::ExprTree *val) |
Friends | |
| class | ExpDagAd |
| glite::jdl::NodeAd::NodeAd | ( | ) | [inline] |
Default constructor
| glite::jdl::NodeAd::NodeAd | ( | const std::string & | jdl | ) | [inline] |
Constructor with a string
| jdl | the string to be loaded |
| glite::jdl::NodeAd::NodeAd | ( | const classad::ClassAd & | classAd | ) | [inline] |
Constructory by Classad
| virtual glite::jdl::NodeAd::~NodeAd | ( | ) | throw () [virtual] |
Operator =
| void glite::jdl::NodeAd::addUserTag | ( | const std::string & | attr_name, | |
| const std::string & | attr_value | |||
| ) |
Add a UserTag to the node
| attr_name | the name of the usertag to be added | |
| attr_value | the value for the usertag |
| void glite::jdl::NodeAd::checkInputSandbox | ( | std::vector< std::string > & | extracted | ) | [protected, virtual] |
Check InputSandbox value. Could be overloaded in order to perform different checks
| extracted | a vector listing all the files that have to be extracted i.e. whoose path has to be solved |
Reimplemented from glite::jdl::JobAd.
| void glite::jdl::NodeAd::checkSpecials | ( | ) | [protected, virtual] |
Perform Special checks for VirtualOrganisation attribute Notice: for a NodeAd instance it is not mandatory (as for a JobAd)
Reimplemented from glite::jdl::JobAd.
| void glite::jdl::NodeAd::checkSyntax | ( | const std::string & | attr_name, | |
| classad::Value | attr_value | |||
| ) | [virtual] |
Check the syntax of the specified attribute
| attr_name | the name of the attribute | |
| attr_value | the classad value of the attribute |
Reimplemented from glite::jdl::JobAd.
| std::vector<std::string> glite::jdl::NodeAd::getISBStrings | ( | ) | [protected] |
Retrieves only string InputSandbox values for this node. reference values will not be taken into consideration
| std::vector<classad::ExprTree*> glite::jdl::NodeAd::getRemoteSandbox | ( | ) |
Retrieve the inputSandbox remote files extracted while checking the Ad
| std::vector<std::string> glite::jdl::NodeAd::getStringValue | ( | const std::string & | attr_name | ) | [virtual] |
Retrieves the string value for the specified attribute
| attr_name | the name of the attribute to be looked up |
Reimplemented from glite::jdl::Ad.
| void glite::jdl::NodeAd::insertAttribute | ( | const std::string & | attr_name, | |
| classad::ExprTree * | val | |||
| ) | [protected, virtual] |
JobAd overloaded method: used to insert an attribute inside the classad
| attr_name | the name of the attribute | |
| val | the value of the inserted attribute as a classad expression |
Reimplemented from glite::jdl::JobAd.
| void glite::jdl::NodeAd::operator= | ( | const NodeAd & | nodead | ) |
Operator "=" performs a deep copy of the JobAd instance
friend class ExpDagAd [friend] |
Reimplemented from glite::jdl::JobAd.
1.4.7