Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

std Namespace Reference


Detailed Description

The C++ standard library namespace.

This a list of classes and functions used by HippoDraw from the C++ standard library.

Note:
This list may be incomplete.


Classes

class  exception
 A C++ standard library class. More...
class  fstream
 The C++ standard library fstream class. More...
struct  greater
 A C++ standard library class. More...
class  ifstream
 The C++ standard library ifstream class. More...
class  istream_iterator
 A C++ standard library class. More...
class  istringstream
 A C++ standard library class. More...
struct  less
 A C++ standard library class. More...
class  list
 The C++ standard library list class. More...
class  map
 The C++ standard library map class. More...
struct  not_equal_to
 A C++ standard library class. More...
class  ofstream
 The C++ standard library ofstream class. More...
class  ostringstream
 The C++ standard library ostringstream class. More...
class  ostrstream
 The C++ library ostrtream class. More...
class  pair
 The C++ standard library pair class. More...
class  string
 The C++ standard library string class. More...
class  vector
 The C++ standard library vector class. More...

Functions

float abs (float)
 A C++ standard library function.
double abs (double)
 A C++ standard library function.
template<class T>
const T & abs (const T &a)
 definition of standard C++ library abs() function for compilers that don't supply it.
template<typename InputIterator, typename Type>
Type accumulate (InputIterator first, InputIterator last, Type init)
 A C++ standard library function.
template<typename Container>
back_insert_iterator< Container > back_inserter (Constainer &container)
 C++ standard distance function.
template<typename Operation, typename Type>
binder2nd< Operation > bind2nd (const Operatin &function, const Type &x)
 The C++ standard library bind2nd function.
template<typename InputIterator, typename OutputIterator>
OutputIterator copy (InputIterator first, InputIterator last, OuputIterator result)
 A C++ standard library function.
float cos (float x)
 A C++ standard library function.
double cos (double x)
 A C++ standard library function.
template<typename InputIterator, typename Type>
iterator_traits< InputIterator
>::difference_type 
count (InputIterator first, InputIterator last, const Type &value)
 A C++ standard library function.
float exp (float x)
 A C++ standard library function.
double exp (double x)
 A C++ standard library function.
template<typename ForwardIterator, typename Type>
void fill (ForwardIterator first, ForwardIterator last, const Type &value)
 A C++ standard library function.
template<typename InputIterator, typename Type>
InputIterator find (InputIterator first, InputIterator last, const Type &value)
 A C++ standard library function.
template<typename InputIterator, typename Predicate>
InputIterator find_if (InputIterator first, InputIterator last, Predicate predicate)
 A C++ standard library function.
template<typename InputIterator, typename Function>
Function for_each (InputIterator first, InputIterator last, Function function)
 A C++ standard library function.
float log (float x)
 A C++ standard library function.
double log (double x)
 A C++ standard library function.
float log10 (float x)
 A C++ standard library function.
double log10 (double x)
 A C++ standard library function.
template<typename ForwardIterator, typename Type>
ForwardIterator lower_bound (ForwardIterator first, ForwardIterator last, const Type &value)
 A C++ standard library function.
template<class T1, class T2>
pair< T1, T2 > make_pair (T1 x, T2 y)
 A C++ standard library function.
template<typename Type>
const Typemax (const Type &a, const Type &b)
 A C++ standard library function.
template<class T>
const T & max (const T &a, const T &b)
 definition of standard C++ library max() function for compilers that don't supply it.
template<typename ForwardIterator>
ForwardIterator max_element (ForwardIterator first, ForwardIterator last)
 A C++ standard library function.
template<typename Result, typename Type>
mem_fun_t< Result, Typemem_fun (Result Type::*function())
 The C++ standard library mem_fun class.
template<typename Type>
const Typemin (const Type &a, const Type &b)
 A C++ standard library function.
template<class T>
const T & min (const T &a, const T &b)
 definition of standard C++ library min() function for compilers that don't supply it.
template<typename ForwardIterator>
ForwardIterator min_element (ForwardIterator first, ForwardIterator last)
 A C++ standard library function.
float pow (float x, float y)
 A C++ standard library function.
double pow (double x, double y)
 A C++ standard library function.
template<typename ForwardIterator, typename Type>
ForwardIterator remove (ForwardIterator first, ForwardIterator last, const Type &value)
 A C++ standard library function.
template<typename ForwardIterator, typename Pedicate, typename Type>
void replace_if (ForwardIterator first, ForwardIterator last, Predicate predicate, const Type &value)
 A C++ standard library function.
float sin (float x)
 A C++ standard library function.
double sin (double x)
 A C++ standard library function.
float sinh (float x)
 A C++ standard library function.
double sinh (double x)
 A C++ standard library function.
template<typename RandomAccessIterator, typename Compare>
void sort (RandomAccessIterator first, RandomAccessIterator last, Compare compare)
 A C++ standard library function.
float sqrt (float x)
 A C++ standard library function.
double sqrt (double x)
 A C++ standard library function.
template<typename Type>
void swap (Type &a, Type &b)
 A C++ standard library function.
template<typename ForwardIterator, typename Type>
ForwardIterator upper_bound (ForwardIterator first, ForwardIterator last, const Type &value)
 A C++ standard library function.


Function Documentation

float std::abs float   ) 
 

A C++ standard library function.

Returns the absolute value of the argument.

double std::abs double   ) 
 

A C++ standard library function.

Returns the absolute value of the argument.

template<class T>
const T& std::abs const T &  a  )  [inline]
 

definition of standard C++ library abs() function for compilers that don't supply it.

Definition at line 119 of file MSconfig.h.

References hippodraw::Axes::T.

Referenced by AxisModelLinear::adjustValues(), LMFitter::calcBestFit(), BFGSFitter::calcBestFit(), AxisModelLog::calcHigh(), AxisModelLog::calcLow(), FigureEditor::contentsMouseMoveEvent(), MapMatrixProjector::fillDataSource(), MapMatrixProjector::fillProjectedValues(), FLT_EQUAL(), hippodraw::Numeric::gcf(), LinearTransform::genTicks(), Lambert::genTicks(), HammerAito::genTicks(), CompositePlotter::getBinWidth(), MapMatrixProjector::getPosOn(), Map3Projector::getZValue(), hippodraw::Numeric::gser(), BFGSFitter::interpolate(), hippodraw::Numeric::operator/(), LinearTransform::setTickStep(), Lambert::setTickStep(), HammerAito::setTickStep(), BinsFunction::smoothCurve(), LMFitter::solveSystem(), BFGSFitter::wolfeStep(), and BFGSFitter::zoom().

template<typename InputIterator, typename Type>
Type std::accumulate InputIterator  first,
InputIterator  last,
Type  init
 

A C++ standard library function.

Accumulates into initial the sum of the elements in the range.

Referenced by StHist2DProjector::addValues(), StHist1DProjector::addValues(), Bins1DHist::fillDataSource(), Bins1DHist::fillProjectedValues(), StHist2DProjector::getAverage(), MapMatrixProjector::getAverage(), Map1Projector::getAverage(), Bins2DBase::getNumberOfEntries(), Bins1DProfile::getNumberOfEntries(), Bins1DHist::getNumberOfEntries(), ProjectorHelper::meanCoord(), ProjectorHelper::meanValue(), and NTuple::sum().

template<typename Container>
back_insert_iterator< Container > std::back_inserter Constainer &  container  ) 
 

C++ standard distance function.

Inserts to end of the container sequence.

Referenced by NTupleXML::getObject().

template<typename Operation, typename Type>
binder2nd< Operation > std::bind2nd const Operatin &  function,
const Type x
 

The C++ standard library bind2nd function.

This function is used to bind x as a second argument to a function call.

Referenced by NTupleFCN::hasErrors(), HippoRectangle::makeInBounds(), CompositePlotter::matrixTranspose(), Observable::notifyObservers(), CanvasView::reTile(), FigureEditor::setAllSelected(), FigureEditor::setLocked(), and CutPlotter::updateTargets().

template<typename InputIterator, typename OutputIterator>
OutputIterator std::copy InputIterator  first,
InputIterator  last,
OuputIterator  result
 

A C++ standard library function.

Copies the sequence into result.

Referenced by FitsFile::fillIntVectorFromColumn(), CanvasView::fillSelectedWithObservers(), NTupleXML::getObject(), NTuple::replaceColumn(), RootNTuple::replaceColumn(), FitsNTuple::replaceColumn(), and FunctionProjector::setPrincipleErrors().

float std::cos float  x  ) 
 

A C++ standard library function.

Returns the cosine of x, where x is given in radians.

double std::cos double  x  ) 
 

A C++ standard library function.

Returns the cosine of x, where x is given in radians.

Referenced by FunctionController::ellipse(), SymbolPointRep::rotate(), Lambert::transform(), and HammerAito::transform().

template<typename InputIterator, typename Type>
iterator_traits< InputIterator >::difference_type std::count InputIterator  first,
InputIterator  last,
const Type value
 

A C++ standard library function.

Counts the number of copies of value are in the sequence.

Referenced by Inspector::addDataRepButton_clicked(), FunctionController::addFunctionRep(), NTupleFCN::degreesOfFreedom(), Inspector::deleteColorModel(), Inspector::disableCutControls(), Inspector::editColorModel(), Inspector::findCutIndex(), Inspector::functionAdd(), Inspector::functionsFitToDataButton_clicked(), Inspector::functionsRemoveButton_clicked(), hippodraw::TextTTF::getTextSizePixels(), FunctionController::getUniqueNonFunctionIndex(), DisplayController::getUniqueWithNTupleBindings(), XyPlotter::isTargetable(), Inspector::newPlotButton_clicked(), hippodraw::TextTTF::render(), hippodraw::TextTTF::renderString(), NTuple::rows(), QtApp::setFirstWindow(), Inspector::updateCutControls(), Inspector::updateFunctionsTab(), Inspector::updateNewPlotControls(), Inspector::updatePlotTab(), Inspector::updatePlotTypes(), and Inspector::updateSelectedPlotDataSource().

float std::exp float  x  ) 
 

A C++ standard library function.

Returns the value of e ( the base of natural logrithms) raised to the power of x.

double std::exp double  x  ) 
 

A C++ standard library function.

Returns the value of e ( the base of natural logrithms) raised to the power of x.

Referenced by Erfc::calcErfc(), Landau::calcZ(), Gaussian::derivByMean(), Gaussian::derivByNorm(), Exponential::derivByParm(), Erfc::derivByRed(), Gaussian::derivBySigma(), BinToKamaeScale::doubleToColor(), hippodraw::Numeric::gcf(), hippodraw::Numeric::gser(), Exponential::initialParameters(), LogNormal::operator()(), Landau::operator()(), Gaussian::operator()(), Exponential::operator()(), and Chi2Dist::operator()().

template<typename ForwardIterator, typename Type>
void std::fill ForwardIterator  first,
ForwardIterator  last,
const Type value
 

A C++ standard library function.

Fills the range with copies of value.

Referenced by Bins2DProfile::reset(), Bins2DHist::reset(), Bins1DProfile::reset(), and Bins1DHist::reset().

template<typename InputIterator, typename Type>
InputIterator std::find InputIterator  first,
InputIterator  last,
const Type value
[inline]
 

A C++ standard library function.

Returns an iterator to the first occurence of the value in the sequence.

Referenced by DisplayController::addTextViewToList(), CutController::appendToWeb(), FigureEditor::contentsMousePressEvent(), FunctionController::findIndex(), PyDataSource::hasColumn(), DataSource::indexOf(), NTupleProjector::indexOfBindingOption(), CutPlotter::isTarget(), DataSource::isValidLabel(), CompositePlotter::push_back(), NTupleProjector::removeCut(), CompositePlotter::removeDataRep(), CutPlotter::removeFromTarget(), QtDisplay::setColorMap(), Map2Projector::setXErrorOption(), Map2Projector::setYErrorOption(), Map1Projector::setYErrorOption(), Inspector::setZRadioButton(), DataSourceController::unregisterNTuple(), CutPlotter::update(), Inspector::updateFunctionsTab(), Inspector::updatePlotTab(), and CutPlotter::willDelete().

template<typename InputIterator, typename Predicate>
InputIterator std::find_if InputIterator  first,
InputIterator  last,
Predicate  predicate
[inline]
 

A C++ standard library function.

Returns an iterator to the first occurence in the sequence for which the predicate is true.

Referenced by FunctionController::getComposite(), and NTupleFCN::hasErrors().

template<typename InputIterator, typename Function>
Function std::for_each InputIterator  first,
InputIterator  last,
Function  function
 

A C++ standard library function.

Applies the function to every element of the sequence.

Referenced by CompositePlotter::matrixTranspose(), Observable::notifyObservers(), CanvasView::reTile(), FigureEditor::setAllSelected(), FigureEditor::setLocked(), WindowController::updateActions(), and CutPlotter::updateTargets().

float std::log float  x  ) 
 

A C++ standard library function.

Returns the natural logarithm of x

double std::log double  x  ) 
 

A C++ standard library function.

Returns the natural logarithm of x

Referenced by PowerLaw::derivByParm(), Chi2Dist::derivByParm(), BrokenPowerLaw::derivByParm(), hippodraw::Numeric::gammln(), hippodraw::Numeric::gcf(), hippodraw::Numeric::gser(), PowerLaw::initialParameters(), Exponential::initialParameters(), BrokenPowerLaw::initialParameters(), Inspector::logScale_clicked(), NTupleLikeliHoodFCN::objectiveValue(), LogNormal::operator()(), Inspector::updateAxisTab(), and Inspector::updateLogBox().

float std::log10 float  x  ) 
 

A C++ standard library function.

Returns the base-10 logarithm of x

double std::log10 double  x  ) 
 

A C++ standard library function.

Returns the base-10 logarithm of x

Referenced by LinearTransform::adjustValues(), AxisModelLinear::adjustValues(), AxisModelLog::calcHigh(), AxisModelLog::calcLow(), BinnerAxisLog::calcWidthParm(), LogTransform::genTicks(), BinnerAxisLog::getNob(), LogTransform::nextStep(), AxisModelLog::nextStep(), LogTransform::prevStep(), AxisModelLog::prevStep(), LogTransform::setTickStep(), LinearTransform::setTickStep(), Lambert::setTickStep(), HammerAito::setTickStep(), AxisModelLog::setTickStep(), and LogTransform::transform().

template<typename ForwardIterator, typename Type>
ForwardIterator std::lower_bound ForwardIterator  first,
ForwardIterator  last,
const Type value
 

A C++ standard library function.

Finds the first position in which value can be inserted without changing the ordering.

Referenced by NTupleSorter::addRow().

template<class T1, class T2>
pair< T1, T2 > std::make_pair T1  x,
T2  y
[inline]
 

A C++ standard library function.

A convenience function for creating a pair from two objects.

Referenced by QtDisplay::saveView(), QtDisplay::setRange(), and CutController::setZoomPan().

template<typename Type>
const Type& std::max const Type a,
const Type b
[inline]
 

A C++ standard library function.

Returns the larger of the two values.

template<class T>
const T& std::max const T &  a,
const T &  b
[inline]
 

definition of standard C++ library max() function for compilers that don't supply it.

Note should do only less than comparison.

Definition at line 92 of file MSconfig.h.

References hippodraw::Axes::T.

Referenced by BinnerAxisLinear::axisBinNumber(), AxisModelLinear::calcHigh(), AxisModelLog::calcLow(), CanvasView::contentsMouseMoveEvent(), CanvasView::contentsMouseReleaseEvent(), ContourPointRep::createContours(), ProfileProjector::dataRangeOn(), NTupleProjector::dataRangeWithError(), CutRangeRep::drawInvertedRange1D(), AxisRepBase::drawTitle(), AxisRepBase::drawXLabels(), AxisRepBase::drawYLabels(), DataSource::fillRange(), DyHist1DProjector::getAverage(), LineProjector::getPosOn(), PowerLaw::initialParameters(), BrokenPowerLaw::initialParameters(), HippoRectangle::makeInBounds(), FigureEditor::maximumZ(), AxisRepBase::setFontSize(), Range::setIntersect(), Range::setRange(), LinearTransform::setTickStep(), Lambert::setTickStep(), HammerAito::setTickStep(), and Range::setUnion().

template<typename ForwardIterator>
ForwardIterator std::max_element ForwardIterator  first,
ForwardIterator  last
 

A C++ standard library function.

Returns iterator to maximum element in the range.

Referenced by NTuple::columnMax(), NTuple::indexOfMaxElement(), Bins1DProfile::maxBin(), Bins1DHist::maxBin(), ProjectorHelper::maxCoord(), NTuple::maxElement(), and ProjectorHelper::maxValue().

template<typename Result, typename Type>
mem_fun_t< Result, Type > std::mem_fun Result Type::*  function()  ) 
 

The C++ standard library mem_fun class.

Returns the result of calling member function of class Type.

Referenced by FunctionController::getComposite(), CompositePlotter::matrixTranspose(), Observable::notifyObservers(), CanvasView::reTile(), FigureEditor::setAllSelected(), FigureEditor::setLocked(), WindowController::updateActions(), and CutPlotter::updateTargets().

template<typename Type>
const Type& std::min const Type a,
const Type b
[inline]
 

A C++ standard library function.

Returns the smaller of the two values.

template<class T>
const T& std::min const T &  a,
const T &  b
[inline]
 

definition of standard C++ library min() function for compilers that don't supply it.

Note should do only less than comparison.

Definition at line 107 of file MSconfig.h.

References hippodraw::Axes::T.

Referenced by BinnerAxisLinear::axisBinNumber(), AxisModelLog::calcLow(), AxisModelLinear::calcLow(), CanvasView::contentsMouseMoveEvent(), CanvasView::contentsMouseReleaseEvent(), ContourPointRep::createContours(), ProfileProjector::dataRangeOn(), NTupleProjector::dataRangeWithError(), BinToKamaeScale::doubleToColor(), CutRangeRep::drawInvertedRange1D(), AxisRepBase::drawTitle(), AxisRepBase::drawXLabels(), AxisRepBase::drawXTickLabels(), AxisRepBase::drawYLabels(), AxisRepColor::drawZLabels(), AxisRepColor::drawZTickLabels(), DataSource::fillRange(), DyHist1DProjector::getAverage(), CompositePlotter::getPosRange(), NTupleProjector::getPosWithError(), HippoRectangle::makeInBounds(), AxisRepBase::setFontSize(), Range::setIntersect(), Range::setRange(), Range::setUnion(), AxisRepBase::setXFontSize(), AxisRepBase::setYFontSize(), AxisRepBase::setZFontSize(), and BFGSFitter::wolfeStep().

template<typename ForwardIterator>
ForwardIterator std::min_element ForwardIterator  first,
ForwardIterator  last
 

A C++ standard library function.

Returns iterator to minimum element in the range.

Referenced by NTuple::columnMin(), NTuple::indexOfMinElement(), Bins1DProfile::minBin(), Bins1DHist::minBin(), ProjectorHelper::minCoord(), NTuple::minElement(), and ProjectorHelper::minValue().

float std::pow float  x,
float  y
 

A C++ standard library function.

Returns the value of x raised to the power of y.

double std::pow double  x,
double  y
 

A C++ standard library function.

Returns the value of x raised to the power of y.

Referenced by LogTransform::adjustValues(), LinearTransform::adjustValues(), AxisModelLog::adjustValues(), AxisModelLinear::adjustValues(), AxisModelLog::calcHigh(), AxisModelLog::calcLow(), PowerLaw::derivByParm(), BinToKamaeScale::doubleToColor(), Inspector::functionParamsSliderSliderMoved(), LogTransform::genTicks(), LinearTransform::genTicks(), Lambert::genTicks(), HammerAito::genTicks(), PowerLaw::initialParameters(), BrokenPowerLaw::initialParameters(), LogTransform::inverseTransform(), LogTransform::nextStep(), AxisModelLog::nextStep(), PowerLaw::operator()(), LogNormal::operator()(), Chi2Dist::operator()(), BrokenPowerLaw::operator()(), LogTransform::prevStep(), AxisModelLog::prevStep(), BinnerAxisLog::setBins(), BinnerAxisLog::setBinWidth(), LogTransform::setFirstTick(), BinnerAxisLog::setOffset(), BinnerAxisLog::setRange(), LogTransform::setTickStep(), LinearTransform::setTickStep(), and AxisModelLog::setTickStep().

template<typename ForwardIterator, typename Type>
ForwardIterator std::remove ForwardIterator  first,
ForwardIterator  last,
const Type value
 

A C++ standard library function.

Removes elements with value from the sequence and put them at the end of the sequence. Returns an iterator to the end of the resulting sequence, i.e. pointing the first occurance of value.

Referenced by FigureEditor::removeFromItemList(), and FigureEditor::removeSelectedItem().

template<typename ForwardIterator, typename Pedicate, typename Type>
void std::replace_if ForwardIterator  first,
ForwardIterator  last,
Predicate  predicate,
const Type value
 

A C++ standard library function.

Replace each value in a sequence for which a predicate returns true with another value.

Referenced by HippoRectangle::makeInBounds().

float std::sin float  x  ) 
 

A C++ standard library function.

Returns the sine of x, where x is given in radians.

double std::sin double  x  ) 
 

A C++ standard library function.

Returns the sine of x, where x is given in radians.

Referenced by BinToKamaeScale::doubleToColor(), FunctionController::ellipse(), SymbolPointRep::rotate(), Lambert::transform(), and HammerAito::transform().

float std::sinh float  x  ) 
 

A C++ standard library function.

Returns the hyperbolic sine of x, where x.

double std::sinh double  x  ) 
 

A C++ standard library function.

Returns the hyperbolic sine of x.

Referenced by LogNormal::operator()().

template<typename RandomAccessIterator, typename Compare>
void std::sort RandomAccessIterator  first,
RandomAccessIterator  last,
Compare  compare
 

A C++ standard library function.

Sort the elements of the sequence using a predicate for comparison.

Referenced by PickTable::listSorted(), CanvasView::reTile(), and NTupleSorter::sort().

float std::sqrt float  x  ) 
 

A C++ standard library function.

Returns the the non-negative square root of x. It fails and sets errno to EDOM, if x is negative.

double std::sqrt double  x  ) 
 

A C++ standard library function.

Returns the the non-negative square root of x. It fails and sets errno to EDOM, if x is negative.

Referenced by hippodraw::Numeric::cholFactor(), AxisRepBase::drawXTickLabels(), AxisRepBase::drawXTickLines(), AxisRepBase::drawYTickLabels(), AxisRepBase::drawYTickLines(), FunctionController::ellipse(), Bins2DProfile::fillDataSource(), Bins2DHist::fillDataSource(), Bins1DProfile::fillDataSource(), Bins1DHist::fillDataSource(), Bins2DProfile::fillProjectedValues(), Bins2DHist::fillProjectedValues(), Bins1DProfile::fillProjectedValues(), Bins1DHist::fillProjectedValues(), BinnerAxisLog::getCoordinate(), Quadratic2::initialParameters(), Landau::initialParameters(), BFGSFitter::interpolate(), Lambert::inverseTransform(), HammerAito::inverseTransform(), hippodraw::Numeric::norm(), LogNormal::operator()(), Landau::operator()(), FunctionProjector::principleErrors(), LinePointRep::separation(), MapMatrixProjector::setNTuple(), ProjectorHelper::stdCoord(), HammerAito::transform(), and BFGSFitter::wolfeStep().

template<typename Type>
void std::swap Type a,
Type b
[inline]
 

A C++ standard library function.

Swaps two values.

Referenced by FigureEditor::calcPrinterMetrics(), PlotterBaseXML::createAxisModels(), BFGSFitter::interpolate(), DisplayController::setAxisModel(), AxisModelBase::setRange(), CompositePlotter::setTransform(), CanvasView::setup(), and LMFitter::solveSystem().

template<typename ForwardIterator, typename Type>
ForwardIterator std::upper_bound ForwardIterator  first,
ForwardIterator  last,
const Type value
 

A C++ standard library function.

Finds the last position in which val could be inserted without changing the ordering.

Referenced by BinnerAxisLog::axisBinNumber().


Generated for HippoDraw-1.14.8.5 by doxygen 1.4.3