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

Public Member Functions | |
| CollectionAd (const classad::ClassAd &classAd) | |
| CollectionAd () | |
| CollectionAd (const std::string &classAd) | |
| void | operator= (const CollectionAd &collect) |
| virtual | ~CollectionAd () throw () |
| CollectionAd * | check () |
| std::string | toSubmissionString () |
| std::vector< std::string > | getNodeStringValue (const std::string &node, const std::string &attr_name) |
| std::vector< std::pair< std::string, std::vector< std::string > > > | getNodeStringValues (const std::string &attr_name) |
| std::map< std::string, std::vector< std::string > > | getNodeStringValuesMap (const std::string &attr_name) |
| void | setLocalAccess (bool lookInto) |
| void | setDefaultRank (classad::ExprTree *attr_value) |
| void | setDefaultReq (classad::ExprTree *attr_value) |
| bool | gettoBretrieved () |
| ExtractedAd * | getExtractedAd () |
| void | addNode (Ad node) |
| glite::jdl::CollectionAd::CollectionAd | ( | const classad::ClassAd & | classAd | ) |
Constructory by Classad
| glite::jdl::CollectionAd::CollectionAd | ( | ) |
Default constructor
| glite::jdl::CollectionAd::CollectionAd | ( | const std::string & | classAd | ) |
Constructory by Stirng
| virtual glite::jdl::CollectionAd::~CollectionAd | ( | ) | throw () [virtual] |
Default Destructor
| void glite::jdl::CollectionAd::addNode | ( | Ad | node | ) |
Add a node to the collection
| node | the node to be added |
| CollectionAd* glite::jdl::CollectionAd::check | ( | ) |
Check both syntax and semantic rules for a collection. Fill default values
| ExtractedAd* glite::jdl::CollectionAd::getExtractedAd | ( | ) |
Retrieve the local files to be for the current instance
| std::vector< std::string > glite::jdl::CollectionAd::getNodeStringValue | ( | const std::string & | node, | |
| const std::string & | attr_name | |||
| ) |
Retrieve (if present) the string value for the specified attribute
| node | the name of the node to be looked for | |
| attr_name | the name of the attributeto be retrieved |
| std::vector< std::pair<std::string ,std::vector< std::string > > > glite::jdl::CollectionAd::getNodeStringValues | ( | const std::string & | attr_name | ) |
Retrieve the string values for the specified attribute for all the nodes
| attr_name | the name of the attribute to be retrieved |
| std::map<std::string, std::vector< std::string > > glite::jdl::CollectionAd::getNodeStringValuesMap | ( | const std::string & | attr_name | ) |
Retrieve the string values for the specified attribute for all the nodes
| attr_name | the name of the attribute to be retrieved |
| bool glite::jdl::CollectionAd::gettoBretrieved | ( | ) | [inline] |
Return wheter are there any files to be retrieved This value has significant meaning only after a previous check
| void glite::jdl::CollectionAd::operator= | ( | const CollectionAd & | collect | ) |
operator =
| void glite::jdl::CollectionAd::setDefaultRank | ( | classad::ExprTree * | attr_value | ) |
Set the default value for Rank attribute (take in consideration if not specified in JDL)
| attr_value | the value to be set to the default rank |
| void glite::jdl::CollectionAd::setDefaultReq | ( | classad::ExprTree * | attr_value | ) |
Set the default value for Requirements attribute (take in consideration if not specified in JDL)
| attr_value | the value to be set to the default requirements |
| void glite::jdl::CollectionAd::setLocalAccess | ( | bool | lookInto | ) |
If Collection is used by a remove machine, it is impossible to look into the local hard-disk by default this parameter is set to true
| lookInto | allow all the check methods to access to the local hard disk (true) or skip the check (false) |
| std::string glite::jdl::CollectionAd::toSubmissionString | ( | ) |
Performs a check and return the checked/filled collection result
1.4.7