Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes
Arc::JobDescriptionParser Class Reference

#include <JobDescriptionParser.h>

Inheritance diagram for Arc::JobDescriptionParser:
Inheritance graph
Collaboration diagram for Arc::JobDescriptionParser:
Collaboration graph

List of all members.

Public Member Functions

 JobDescriptionParser ()
virtual ~JobDescriptionParser ()
virtual JobDescription Parse (const std::string &source) const =0
virtual std::string UnParse (const JobDescription &job) const =0
void AddHint (const std::string &key, const std::string &value)
void SetHints (const std::map< std::string, std::string > &hints)

Protected Member Functions

std::string GetHint (const std::string &key) const

Protected Attributes

std::map< std::string,
std::string > 

Static Protected Attributes

static Logger logger

Detailed Description

Definition at line 22 of file JobDescriptionParser.h.

Constructor & Destructor Documentation

Definition at line 16 of file JobDescriptionParser.cpp.


Definition at line 18 of file JobDescriptionParser.cpp.


Member Function Documentation

void Arc::JobDescriptionParser::AddHint ( const std::string &  key,
const std::string &  value 

Definition at line 20 of file JobDescriptionParser.cpp.

    if(key.empty()) return;
    hints[key] = value;
std::string Arc::JobDescriptionParser::GetHint ( const std::string &  key) const [protected]

Definition at line 25 of file JobDescriptionParser.cpp.

    std::map<std::string,std::string>::const_iterator h = hints.find(key);
    if(h == hints.end()) return "";
    return h->second;

Here is the caller graph for this function:

virtual JobDescription Arc::JobDescriptionParser::Parse ( const std::string &  source) const [pure virtual]
void Arc::JobDescriptionParser::SetHints ( const std::map< std::string, std::string > &  hints)

Definition at line 31 of file JobDescriptionParser.cpp.

    this->hints = hints;

Here is the caller graph for this function:

virtual std::string Arc::JobDescriptionParser::UnParse ( const JobDescription job) const [pure virtual]

Member Data Documentation

std::map<std::string,std::string> Arc::JobDescriptionParser::hints [protected]

Definition at line 32 of file JobDescriptionParser.h.

Definition at line 31 of file JobDescriptionParser.h.

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