hippodraw::String Namespace Reference


Detailed Description

The namespace for conversion to string and search of string.

Author:
Paul F. Kunz <Paul_Kunz@slac.stanford.edu>

Xie Fang <xiefang@stanford.edu>


Functions

bool ci_equal (char ch1, char ch2)
 Case insensitive equal.
size_t ci_find (const std::string &str1, const std::string &str2)
 Case insensitive find.
string convert (double value)
 Converts a double to a string.
string convert (unsigned int i)
 Converts an unsigned integer to a string.
string convert (int i)
 Converts an integer to a string.


Function Documentation

bool MDL_HIPPOPLOT_API ci_equal ( char  ch1,
char  ch2 
)

Case insensitive equal.

Definition at line 78 of file string_convert.cxx.

Referenced by ci_find().

size_t MDL_HIPPOPLOT_API ci_find ( const string &  str1,
const string &  str2 
)

Case insensitive find.

Definition at line 83 of file string_convert.cxx.

References ci_equal().

Referenced by Inspector::axisLabelText(), PlotterBaseXML::createPlotter(), BoxTextRep::drawProjectedValues(), AxisRepBase::drawTitle(), AxisRepBase::drawXLabels(), AxisRepBase::drawYLabels(), AxisRepColor::drawZLabels(), Inspector::summaryNew(), and Inspector::titleText_returnPressed().

std::string MDL_HIPPOPLOT_API convert ( double  v  ) 

Converts a double to a string.

Definition at line 63 of file string_convert.cxx.

Referenced by NTuple::addColumn(), DisplayController::addLineRep(), DataSource::checkWidth(), RootNTuple::createBinding(), ContourPointRep::createContours(), NTupleProjectorXML::createElement(), FunctionProjectorXML::createElement(), UnderflowTextRep::drawProjectedValues(), TotalTextRep::drawProjectedValues(), OverflowTextRep::drawProjectedValues(), FuncParmRep::drawProjectedValues(), AverageTextRep::drawProjectedValues(), AxisRepBase::drawXLabels(), AxisRepBase::drawXMag(), AxisRepBase::drawYLabels(), AxisRepBase::drawYMag(), AxisRepColor::drawZTickLabels(), FunctionController::ellipsoidNTuple(), FitsFile::fillShape(), DisplayController::getAverage(), FontXML::getAxis(), AxisModelXML::getAxis(), NTupleProjectorXML::getBindings(), PyDataRep::getBinWidth(), PlotterBase::getBinWidth(), QtDisplay::getLabel(), DisplayController::getLog(), DataRep::getMean(), PlotterBase::getOffset(), QtDisplay::getRange(), DisplayController::getRMS(), DataRep::getRMS(), PlotterBaseXML::handleCutPlotter(), DataSource::isValidColumn(), LinearSumFunction::parmNames(), NTupleController::readAsciiNTuple(), DataSourceController::registerNTuple(), NTuple::replaceColumn(), FitsNTuple::replaceColumn(), NTupleController::saveNTuples(), QtXmlElement::setAttribute(), FunctionProjectorXML::setAttributes(), QtDisplay::setAutoRanging(), PlotterBase::setAutoRanging(), PlotterBase::setAutoTicks(), PyDataRep::setBinWidth(), PlotterBase::setBinWidth(), DisplayController::setBinWidth(), PyDataRep::setErrorDisplay(), QtDisplay::setLabel(), PlotterBase::setLabel(), NTuple::setLabels(), QtDisplay::setLog(), DisplayController::setLog(), PlotterBase::setNumberOfBins(), QtDisplay::setOffset(), PlotterBase::setOffset(), DyHist2DProjector::setOffset(), PlotterBase::setRange(), SymbolPointRep::setStyle(), LinePointRep::setStyle(), ColumnPointRep::setStyle(), PlotterBase::setTicks(), PlotterBase::setView(), DataSource::throwIfInvalidRowSize(), FitsController::version(), and FitsFile::writeHDU().

std::string MDL_HIPPOPLOT_API convert ( unsigned int  i  ) 

Converts an unsigned integer to a string.

Definition at line 48 of file string_convert.cxx.

std::string MDL_HIPPOPLOT_API convert ( int  i  ) 

Converts an integer to a string.

Definition at line 33 of file string_convert.cxx.

Referenced by PyDataSource::checkRank(), NTupleXML::createChildren2D(), AxisRepBase::drawXLabels(), AxisRepBase::drawYLabels(), FitsFile::fillColumnNamesFromImage(), MinuitMigrad::initialize(), PyDataSource::replaceColumn(), and PyDataSource::saveColumnFromNumArray().


Generated for HippoDraw Class Library by doxygen