Version: 6.3.1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes

INTERP_KERNEL.ValueUnit Class Reference

#include <InterpKernelValue.hxx>

Inheritance diagram for INTERP_KERNEL.ValueUnit:
Inheritance graph

Public Member Functions

 ValueUnit ()
ValuenewInstance () const
void setDouble (double val) throw (INTERP_KERNEL::Exception)
void setVarname (int fastPos, const std::string &var) throw (INTERP_KERNEL::Exception)
DecompositionInUnitBase getData () const
void positive () throw (INTERP_KERNEL::Exception)
void negate () throw (INTERP_KERNEL::Exception)
void sqrt () throw (INTERP_KERNEL::Exception)
void cos () throw (INTERP_KERNEL::Exception)
void sin () throw (INTERP_KERNEL::Exception)
void tan () throw (INTERP_KERNEL::Exception)
void abs () throw (INTERP_KERNEL::Exception)
void exp () throw (INTERP_KERNEL::Exception)
void ln () throw (INTERP_KERNEL::Exception)
void log10 () throw (INTERP_KERNEL::Exception)
Valueplus (const Value *other) const throw (INTERP_KERNEL::Exception)
Valueminus (const Value *other) const throw (INTERP_KERNEL::Exception)
Valuemult (const Value *other) const throw (INTERP_KERNEL::Exception)
Valuediv (const Value *other) const throw (INTERP_KERNEL::Exception)
Valuepow (const Value *other) const throw (INTERP_KERNEL::Exception)
Valuemax (const Value *other) const throw (INTERP_KERNEL::Exception)
Valuemin (const Value *other) const throw (INTERP_KERNEL::Exception)
ValuegreaterThan (const Value *other) const throw (INTERP_KERNEL::Exception)
ValuelowerThan (const Value *other) const throw (INTERP_KERNEL::Exception)
ValueifFunc (const Value *the, const Value *els) const throw (INTERP_KERNEL::Exception)

Private Member Functions

 ValueUnit (const DecompositionInUnitBase &unit)

Static Private Member Functions

static void unsupportedOp (const char *type) throw (INTERP_KERNEL::Exception)
static const ValueUnitcheckSameType (const Value *val) throw (INTERP_KERNEL::Exception)

Private Attributes

DecompositionInUnitBase _data

Constructor & Destructor Documentation

ValueUnit::ValueUnit ( )
ValueUnit::ValueUnit ( const DecompositionInUnitBase unit) [private]

Member Function Documentation

Value * ValueUnit::newInstance ( ) const [virtual]
void ValueUnit::setDouble ( double  val) throw (INTERP_KERNEL::Exception) [virtual]

Implements INTERP_KERNEL.Value.

void ValueUnit::setVarname ( int  fastPos,
const std::string &  var 
) throw (INTERP_KERNEL::Exception) [virtual]
DecompositionInUnitBase INTERP_KERNEL.ValueUnit.getData ( ) const
void ValueUnit::positive ( ) throw (INTERP_KERNEL::Exception) [virtual]
void ValueUnit::negate ( ) throw (INTERP_KERNEL::Exception) [virtual]
void ValueUnit::sqrt ( ) throw (INTERP_KERNEL::Exception) [virtual]
void ValueUnit::cos ( ) throw (INTERP_KERNEL::Exception) [virtual]
void ValueUnit::sin ( ) throw (INTERP_KERNEL::Exception) [virtual]
void ValueUnit::tan ( ) throw (INTERP_KERNEL::Exception) [virtual]
void ValueUnit::abs ( ) throw (INTERP_KERNEL::Exception) [virtual]
void ValueUnit::exp ( ) throw (INTERP_KERNEL::Exception) [virtual]
void ValueUnit::ln ( ) throw (INTERP_KERNEL::Exception) [virtual]
void ValueUnit::log10 ( ) throw (INTERP_KERNEL::Exception) [virtual]
Value * ValueUnit::plus ( const Value other) const throw (INTERP_KERNEL::Exception) [virtual]
Value * ValueUnit::minus ( const Value other) const throw (INTERP_KERNEL::Exception) [virtual]
Value * ValueUnit::mult ( const Value other) const throw (INTERP_KERNEL::Exception) [virtual]
Value * ValueUnit::div ( const Value other) const throw (INTERP_KERNEL::Exception) [virtual]
Value * ValueUnit::pow ( const Value other) const throw (INTERP_KERNEL::Exception) [virtual]
Value * ValueUnit::max ( const Value other) const throw (INTERP_KERNEL::Exception) [virtual]
Value * ValueUnit::min ( const Value other) const throw (INTERP_KERNEL::Exception) [virtual]
Value * ValueUnit::greaterThan ( const Value other) const throw (INTERP_KERNEL::Exception) [virtual]
Value * ValueUnit::lowerThan ( const Value other) const throw (INTERP_KERNEL::Exception) [virtual]
Value * ValueUnit::ifFunc ( const Value the,
const Value els 
) const throw (INTERP_KERNEL::Exception) [virtual]
void ValueUnit::unsupportedOp ( const char *  type) throw (INTERP_KERNEL::Exception) [static, private]
const ValueUnit * ValueUnit::checkSameType ( const Value val) throw (INTERP_KERNEL::Exception) [static, private]

Field Documentation

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS