Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Private Attributes
Arc::JobRequest Class Reference

#include <job_request.h>

Collaboration diagram for Arc::JobRequest:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 JobRequest ()
 JobRequest (const JobRequest &r)
 JobRequest (Arc::XMLNode &d)
 JobRequest (ByteArray &buffer)
ByteArrayserialize (void)
 ~JobRequest (void)
Arc::XMLNodegetJSDL (void)
Arc::XMLNode operator[] (const std::string &key)
 operator std::string (void) const

Private Attributes

Arc::XMLNode request_
ByteArray buffer_

Detailed Description

Definition at line 11 of file job_request.h.


Constructor & Destructor Documentation

Definition at line 9 of file job_request.cpp.

                      :buffer_(0) 
{
    // NOP
}

Definition at line 24 of file job_request.cpp.

                                         :buffer_(0)
{
    r.request_.New(request_);
}

Here is the call graph for this function:

Definition at line 19 of file job_request.cpp.

                                   :buffer_(0)
{
    r.New(request_);
}

Here is the call graph for this function:

Definition at line 29 of file job_request.cpp.

{
    int buf_len = 0;
    char *buf = buffer.data();
    std::string xml_str = buf;
    buf_len = xml_str.size() + 1;
    Arc::XMLNode n(xml_str);
    n.New(request_);
}

Here is the call graph for this function:

Definition at line 14 of file job_request.cpp.

{
    // NOP
}

Member Function Documentation

Arc::XMLNode& Arc::JobRequest::getJSDL ( void  ) [inline]

Definition at line 24 of file job_request.h.

{ return request_; };

Here is the caller graph for this function:

Arc::JobRequest::operator std::string ( void  ) const

Definition at line 48 of file job_request.cpp.

{
    std::string xml_str;
    request_.GetXML(xml_str);
    std::string out = "Request XML:\n" + xml_str + "\n";
    return out;
}
Arc::XMLNode Arc::JobRequest::operator[] ( const std::string &  key) [inline]

Definition at line 25 of file job_request.h.

{ return request_[key]; };

Definition at line 39 of file job_request.cpp.

{
    buffer_.clean();
    std::string xml_str;
    request_.GetXML(xml_str);
    buffer_.append(xml_str);
    return buffer_;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 16 of file job_request.h.

Definition at line 14 of file job_request.h.


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