Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Private Attributes | Friends
numvalue_for_shell Class Reference

#include <job_desc.h>

List of all members.

Public Member Functions

 numvalue_for_shell (const char *str)
 numvalue_for_shell (int n_)
numvalue_for_shell operator/ (int d)
numvalue_for_shell operator* (int d)

Private Attributes

long int n


std::ostream & operator<< (std::ostream &, const numvalue_for_shell &)

Detailed Description

Definition at line 46 of file job_desc.h.

Constructor & Destructor Documentation

numvalue_for_shell::numvalue_for_shell ( const char *  str) [inline]

Definition at line 51 of file job_desc.h.

{ n=0; sscanf(str,"%li",&n); };

Here is the caller graph for this function:

Definition at line 52 of file job_desc.h.

{ n=n_; };

Member Function Documentation

numvalue_for_shell numvalue_for_shell::operator* ( int  d) [inline]

Definition at line 54 of file job_desc.h.

{ return numvalue_for_shell(n*d); };

Here is the call graph for this function:

numvalue_for_shell numvalue_for_shell::operator/ ( int  d) [inline]

Definition at line 53 of file job_desc.h.

{ return numvalue_for_shell(n/d); };

Here is the call graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  ,
const numvalue_for_shell  
) [friend]

Definition at line 178 of file job_desc.cpp.

  return o;

Member Data Documentation

long int numvalue_for_shell::n [private]

Definition at line 49 of file job_desc.h.

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