votca 2024-dev
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
votca::xtp::Job::JobResult Class Reference

#include <job.h>

Collaboration diagram for votca::xtp::Job::JobResult:
Collaboration graph
[legend]

Public Member Functions

void setStatus (JobStatus stat)
 
void setOutput (std::string output)
 
void setOutput (tools::Property &output)
 
JobStatus getStatus () const
 
bool hasOutput () const
 
const tools::PropertygetOutput () const
 
tools::PropertygetOutput ()
 
bool hasError () const
 
const std::string & getError () const
 
void setError (std::string error)
 

Private Attributes

JobStatus status_
 
tools::Property output_
 
bool has_output_ = false
 
std::string error_
 
bool has_error_ = false
 

Detailed Description

Definition at line 47 of file job.h.

Member Function Documentation

◆ getError()

const std::string & votca::xtp::Job::JobResult::getError ( ) const
inline

Definition at line 65 of file job.h.

◆ getOutput() [1/2]

tools::Property & votca::xtp::Job::JobResult::getOutput ( )
inline

Definition at line 63 of file job.h.

◆ getOutput() [2/2]

const tools::Property & votca::xtp::Job::JobResult::getOutput ( ) const
inline

Definition at line 61 of file job.h.

◆ getStatus()

JobStatus votca::xtp::Job::JobResult::getStatus ( ) const
inline

Definition at line 59 of file job.h.

◆ hasError()

bool votca::xtp::Job::JobResult::hasError ( ) const
inline

Definition at line 64 of file job.h.

◆ hasOutput()

bool votca::xtp::Job::JobResult::hasOutput ( ) const
inline

Definition at line 60 of file job.h.

◆ setError()

void votca::xtp::Job::JobResult::setError ( std::string  error)
inline

Definition at line 67 of file job.h.

◆ setOutput() [1/2]

void votca::xtp::Job::JobResult::setOutput ( std::string  output)
inline

Definition at line 50 of file job.h.

◆ setOutput() [2/2]

void votca::xtp::Job::JobResult::setOutput ( tools::Property output)
inline

Definition at line 54 of file job.h.

◆ setStatus()

void votca::xtp::Job::JobResult::setStatus ( JobStatus  stat)
inline

Definition at line 49 of file job.h.

Member Data Documentation

◆ error_

std::string votca::xtp::Job::JobResult::error_
private

Definition at line 76 of file job.h.

◆ has_error_

bool votca::xtp::Job::JobResult::has_error_ = false
private

Definition at line 77 of file job.h.

◆ has_output_

bool votca::xtp::Job::JobResult::has_output_ = false
private

Definition at line 75 of file job.h.

◆ output_

tools::Property votca::xtp::Job::JobResult::output_
private

Definition at line 74 of file job.h.

◆ status_

JobStatus votca::xtp::Job::JobResult::status_
private

Definition at line 73 of file job.h.


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