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

resultStruct Class Reference

This Class is used to return the ResultCode back to the main function. More...

List of all members.

Public Member Functions

 resultStruct ()
 Default Success Constructor.

ResultCode get ()
 Used to check the result of the operation, in case of success it returns edg::workload::common::utilities::SUCCES.

edg::workload::logging::client::JobStatus * getStatus ()
 Retrieve the status information from the job If the required operation was a getStatus then the JobStatus instance is returned.

std::string getError ()
 If some error occurred (FAILURE result code) retrieve the error message.

std::string getMessage ()
virtual ~resultStruct ()
 Destructor.


Friends

class JobCollection


Detailed Description

This Class is used to return the ResultCode back to the main function.


Constructor & Destructor Documentation

resultStruct  )  [inline]
 

Default Success Constructor.

virtual ~resultStruct  )  [inline, virtual]
 

Destructor.


Member Function Documentation

ResultCode get  )  [inline]
 

Used to check the result of the operation, in case of success it returns edg::workload::common::utilities::SUCCES.

Returns:
the result code of the operation

std::string getError  )  [inline]
 

If some error occurred (FAILURE result code) retrieve the error message.

Returns:
A detailed description of the error of the operation

std::string getMessage  )  [inline]
 

edg::workload::logging::client::JobStatus* getStatus  )  [inline]
 

Retrieve the status information from the job If the required operation was a getStatus then the JobStatus instance is returned.

NULL is returned otherwise.

Returns:
the Status attributes information of the job


Friends And Related Function Documentation

friend class JobCollection [friend]
 


The documentation for this class was generated from the following file:
Generated on Wed Mar 1 00:39:46 2006 for USERINTERFACE C++ API by doxygen 1.3.5