WXP C++ Library Version 6.74.9
|
This class manipulates basic strings (char *) More...
#include "../include/StrLib.h"
Static Public Member Functions | |
static int | clear (char *string) |
static int | length (const char *string) |
static int | replace (char *string, char tar, char fill) |
static int | trimWS (char *string) |
static int | stripWS (char *string) |
static int | chop (char *string) |
static int | lowCase (char *string) |
static int | upCase (char *string) |
static int | upCaseFirst (char *string) |
static int | toInt (const char *str, int ind, int len) |
static int | toInt (const char *str, int ind) |
static int | toInt (const char *str) |
static float | toFloat (const char *str, int ind, int len) |
static float | toFloat (const char *str, int ind) |
static float | toFloat (const char *str) |
static int | subString (const char *s1, int ind, int len, char *s2, int len2) |
static int | splice (char *s1, int len1, int i1, int n, const char *s2) |
static const char * | getField (const char *str, char delim, int field) |
static int | index (const char *s1, char s2) |
static int | index (const char *s1, char s2, int num) |
static int | lastIndex (const char *s1, char s2) |
static int | occurs (const char *s1, char s2) |
static bool | equal (const char *s1, const char *s2) |
static int | icmp (const char *s1, const char *s2) |
static bool | iequal (const char *s1, const char *s2) |
static bool | contains (const char *s1, const char *s2) |
static bool | hasToken (const char *s1, char delim, const char *s2) |
static int | where (const char *s1, const char *s2) |
static int | icmp (const char *s1, const char *s2, int num) |
static bool | iequal (const char *s1, const char *s2, int num) |
static bool | equal (const char *s1, const char *s2, int num) |
static bool | equal (const char *s1, int num, const char *s2) |
static int | copy (char *s1, int len1, const char s2) |
static int | copy (char *s1, int len1, const char *s2) |
static int | copy (char *s1, int len1, const char *s2, int num) |
static int | bcopy (unsigned char *s1, int len1, const unsigned char *s2, int num) |
static int | append (char *s1, int len1, const char *s2, int num) |
static int | append (char *s1, int len1, const char *s2) |
static char * | acopy (const char *str) |
static char * | acopy (const char *str, int num) |
static int | printf (char *str, int maxlen, const char *fmt,...) |
static int | aprintf (char *str, int maxlen, const char *fmt,...) |
static char | setChar (char *str, int ind, char ch) |
static char | getChar (const char *str, int ind) |
static bool | isNum (const char *string) |
static bool | isNum (const char *string, int len) |
static int | getInt (const char *string) |
static float | getFloat (const char *string) |
static int | clean (char *line) |
static bool | valid (const char *str) |
static const char * | valid (const char *str, const char *def) |
static bool | validData (const char *str) |
static bool | isAlphaNum (const char *str) |
static bool | check (const char *str, const char *pat) |
static bool | match (const char *str, const char *pat) |
This class manipulates basic strings (char *)
|
static |
Copies a string to a pointer, allocating memory for new string
s2 | String to append |
Referenced by WXP::Resrc::add(), WXP::Strings::add(), WXP::Resrc::append(), WXP::Hash::enter(), WXP::Resrc::prepend(), WXP::Strings::set(), WXP::Strings::set(), WXP::Strings::set(), WXP::Strings::set(), WXP::Strings::set(), WXP::Strings::set(), WXP::Strings::set(), WXP::Data::setId(), and WXP::PngFile::write().
|
static |
Copies a string to a pointer, allocating memory for new string, only copying num chars
s2 | String to append |
num | Number of characeters to copy |
|
static |
Appends a string to another string
s1 | Output string |
len1 | Length of output string |
s2 | String to append |
|
static |
Appends a string to another string
s1 | Output string |
len1 | Length of output string |
s2 | String to append |
Referenced by WXP::MetarTool::decode(), WXP::FrontPlot::draw(), WXP::RawPlot::draw(), WXP::VectPlot::drawLabels(), WXP::GribFile::makeDatim(), WXP::GribFile::makeInfo(), WXP::WmoIngest::process(), WXP::SfcWmoFile::read(), WXP::UpaWmoFile::read(), WXP::WarnFile::read(), WXP::BufrFile::readData(), and WXP::VarSpec::toInfoLabel().
|
static |
Appends formatted data into a string (similar to sprintf)
str | String to append formatted data |
len | Length of string |
fmt | Format to use |
Referenced by WXP::GribFile::makeDatim().
|
static |
Copies binary data to a string (null characters accepted)
s1 | Output string |
len1 | Length of output string |
s2 | Data to copy |
num | Number of characters to copy |
Referenced by WXP::WmoIngest::process().
|
static |
Checks a string against a specific type of data. The pattern is a character by character pattern: A - alphanumeric a - alphabetic d - number b - blank c - control character l - lower case u - upper case p - punctuation g - graphic (printable except for space) else a specific character match
str | String to check |
pat | Pattern to use |
References index().
Referenced by WXP::SfcWmoFile::checkHeader(), WXP::SfcWmoFile::checkStart(), WXP::CityHash::get(), WXP::Parse::getLine(), and WXP::WmoParse::getLine().
|
static |
Clears the contents of a string
string | String to clear |
Referenced by WXP::ResrcDB::create(), WXP::VectPlot::drawLabels(), WXP::BufrData::init(), WXP::GridSpec::init(), WXP::GribFile::makeDatim(), WXP::GribFile::makeInfo(), WXP::XWindow::open(), WXP::WarnFile::read(), and WXP::VarSpec::toInfoLabel().
|
static |
Returns whether search string is in main string
s1 | Main string |
s2 | Search string |
Referenced by WXP::CityTool::compareData(), WXP::MosFile::decodeGFS(), WXP::MosFile::decodeGFSX(), WXP::MosFile::decodeLAMP(), WXP::MosFile::decodeNAM(), WXP::MosFile::decodeNGM(), WXP::WarnPlot::draw(), WXP::Figure::endPlot(), WXP::Parse::getLine(), WXP::WmoParse::getLine(), and WXP::Domain::set().
|
static |
Copies a string
s1 | Output string |
len1 | Length of output string |
s2 | String to copy |
|
static |
Copies a string, only num chars
s1 | Output string |
len1 | Length of output string |
s2 | String to copy |
num | Number of characters to copy |
|
static |
Copies a character to a string
s1 | Output string |
len1 | Length of output string |
s2 | Character to copy |
Referenced by WXP::Plot::addLabel(), WXP::Plot::callback(), WXP::Date::changeTimezone(), WXP::SfcWmoFile::checkHeader(), WXP::CityTool::compareData(), WXP::MosDataTool::compute(), WXP::SfcDataTool::compute(), WXP::UpaDataTool::compute(), WXP::Unit::convert(), WXP::NameConv::decode(), WXP::Vtec::decode(), WXP::FrontPlot::draw(), WXP::MapPlot::draw(), WXP::MosPlot::draw(), WXP::RawPlot::draw(), WXP::RedbookPlot::draw(), WXP::SfcPlot::draw(), WXP::UpaPlot::draw(), WXP::Graph::drawText(), WXP::VarName::get(), WXP::ResrcFile::get(), WXP::LritFile::getHeader(), WXP::Parse::getLine(), WXP::WmoParse::getLine(), WXP::MetarFile::getLine(), WXP::ResrcFile::getValid(), WXP::MeteoPlot::init(), WXP::RadMask::init(), WXP::GribFile::makeDatim(), WXP::FileTool::makeDir(), WXP::SfcCdfFile::open(), WXP::SfcData::outString(), WXP::Unit::parse(), WXP::RedbookFile::plotParam(), WXP::WmoIngest::process(), WXP::SfcXmlFile::read(), WXP::SfcWmoFile::read(), WXP::UpaWmoFile::read(), WXP::VarFile::read(), WXP::WarnFile::read(), WXP::BufrFile::readData(), WXP::Unit::readFile(), WXP::GribFile::readHeader(), WXP::WmoIngest::readProdFile(), WXP::Variable::set(), WXP::Variable::set(), WXP::ModelSpec::set(), WXP::Filename::set(), WXP::Filename::set(), WXP::ResrcFile::set(), WXP::Menu::set(), WXP::NameConv::set(), WXP::Date::set(), WXP::StatPrior::set(), WXP::BufrCode::set(), WXP::BufrCode::set(), WXP::ResrcFile::set(), WXP::Variable::setAbbr(), WXP::VarNameItem::setAbbr(), WXP::XWindow::setBackground(), WXP::PngFile::setComment(), WXP::Grid::setDatim(), WXP::Grid::setDatim(), WXP::NameConv::setExt(), WXP::GridPlot::setFile(), WXP::MeteoPlot::setFile(), WXP::MosPlot::setFile(), WXP::NameConvFile::setFilename(), WXP::NameConvFile::setFilename(), WXP::XWindow::setFont(), WXP::Graph::setFont(), WXP::Graph::setFontSpec(), WXP::DatumPlot::setFormat(), WXP::Grid::setGenName(), WXP::NameConvFile::setHdrFilename(), WXP::NameConvFile::setHdrFilename(), WXP::Parse::setHeader(), WXP::WmoParse::setHeader(), WXP::Parse::setId(), WXP::WmoParse::setId(), WXP::MosData::setId(), WXP::MosUData::setId(), WXP::MosData::setId(), WXP::MosUData::setId(), WXP::Lev2Plot::setId(), WXP::NidsPlot::setId(), WXP::MeteoPlot::setIdent(), WXP::Grid::setInfo(), WXP::NameConv::setKey(), WXP::MapFileHeader::setLabel(), WXP::Plot::setLabel(), WXP::Plot::setLabelFormat(), WXP::RadMask::setModel(), WXP::GridCont::setModel(), WXP::GridPlot::setModel(), WXP::GridVect::setModel(), WXP::ImagePlot::setModel(), WXP::MeteoPlot::setModel(), WXP::MosPlot::setModel(), WXP::MosRaw::setModel(), WXP::Variable::setName(), WXP::VarNameItem::setName(), WXP::Filename::setNameConv(), WXP::MosData::setObvis(), WXP::GridPlot::setParam(), WXP::ImagePlot::setParam(), WXP::MosPlot::setParam(), WXP::NameConvFile::setParam(), WXP::NidsPlot::setParam(), WXP::RedbookPlot::setParam(), WXP::SatPlot::setParam(), WXP::StatPrior::setParam(), WXP::XWindow::setParam(), WXP::SfcPlot::setPlotType(), WXP::UpaPlot::setPlotType(), WXP::RadPlot::setSubType(), WXP::Graph::setSymbol(), WXP::ResrcFile::setTag(), WXP::ContPlot::setTextFormat(), WXP::PngFile::setTitle(), WXP::XWindow::setTitle(), WXP::Filename::setType(), WXP::NameConvFile::setType(), WXP::NidsPlot::setType(), WXP::ImagePlot::setType(), WXP::Variable::setUnits(), WXP::RcmDecode::setup(), WXP::RedbookFile::text(), WXP::License::valid(), WXP::Unit::valid(), WXP::ResrcFile::valid(), WXP::GifFile::write(), WXP::LZWComp::write(), and WXP::PngFile::write().
|
static |
Returns whether two strings are equal
s1 | First string |
s2 | Second string |
Referenced by WXP::Resrc::add(), WXP::ColorMap::add(), WXP::XWindow::addCallback(), WXP::DataMath::average(), WXP::AreaFile::calcDomain(), WXP::Figure::callback(), WXP::Graph::callback(), WXP::GridCont::callback(), WXP::GridVect::callback(), WXP::ImagePlot::callback(), WXP::NidsPlot::callback(), WXP::Plot::callback(), WXP::SatPlot::callback(), WXP::XWindow::callback(), WXP::Filename::checkFile(), WXP::SfcWmoFile::checkStart(), WXP::MetarFile::checkType(), WXP::BufrFile::checkType(), WXP::GribFile::checkType(), WXP::GridFile::checkType(), WXP::ImageFile::checkType(), WXP::SatFile::checkType(), WXP::Parse::compare(), WXP::WmoParse::compare(), WXP::ResrcCL::compare(), WXP::MosDataTool::compute(), WXP::MosRaw::compute(), WXP::SfcRaw::compute(), WXP::UpaRaw::compute(), WXP::SfcDataTool::compute(), WXP::UpaDataTool::compute(), WXP::DataMath::cutoff(), WXP::GridMath::cutoff(), WXP::NameConv::decode(), WXP::Variable::decode(), WXP::MetarTool::decode(), WXP::MosFile::decodeGFS(), WXP::MosFile::decodeGFSX(), WXP::MosFile::decodeLAMP(), WXP::MosFile::decodeNAM(), WXP::MosFile::decodeNGM(), WXP::ContPlot::decodeType(), WXP::ImagePlot::draw(), WXP::LightPlot::draw(), WXP::MdrPlot::draw(), WXP::RawPlot::draw(), WXP::RcmPlot::draw(), WXP::RedbookPlot::draw(), WXP::SfcPlot::draw(), WXP::VectPlot::drawVect(), WXP::Hash::enter(), WXP::Unit::equal(), WXP::Strings::equal(), WXP::Strings::equal(), WXP::Strings::equal(), WXP::Strings::find(), WXP::VarName::get(), WXP::VarName::get(), WXP::DateTool::getCurrent(), WXP::ImagePlot::getDomain(), WXP::Data::getIndex(), WXP::ResrcCL::getKeyed(), WXP::Parse::getLine(), WXP::WmoParse::getLine(), WXP::MetarFile::getLine(), WXP::FileTool::getPath(), WXP::MdrPlot::getType(), WXP::RadPlot::getType(), WXP::RcmPlot::getType(), WXP::ImageFile::getType(), WXP::LightFile::getType(), WXP::UpaDecode::init(), WXP::WmoIngest::isSelected(), WXP::GridMath::locatePoint(), WXP::Plot::manage(), WXP::FileTool::numPath(), WXP::XWindow::open(), WXP::SfcXmlFile::open(), WXP::ImgWxpFile::open(), WXP::KmlFile::open(), WXP::Resrc::prepend(), WXP::WmoIngest::printLog(), WXP::WmoIngest::process(), WXP::CityFile::read(), WXP::GifFile::read(), WXP::LZWComp::read(), WXP::PngFile::read(), WXP::KmlFile::read(), WXP::SfcXmlFile::read(), WXP::SfcWmoFile::read(), WXP::UpaWmoFile::read(), WXP::WarnFile::read(), WXP::WatchFile::read(), WXP::WarnPlot::readFile(), WXP::AreaFile::readHeader(), WXP::BufrFile::readHeader(), WXP::GribFile::readHeader(), WXP::NowradFile::readHeader(), WXP::SatUniFile::readHeader(), WXP::ImgWxpFile::readHeader(), WXP::LritFile::readHeader(), WXP::WmoIngest::readProdFile(), WXP::DataMath::removeValid(), WXP::Hash::search(), WXP::Hash::searchBool(), WXP::VarName::searchFile(), WXP::VarName::searchFile(), WXP::Hash::searchFloat(), WXP::GribFile::searchGRIB(), WXP::Hash::searchInt(), WXP::ModelSpec::set(), WXP::Date::set(), WXP::Prog::setCommand(), WXP::Graph::setDevice(), WXP::Filename::setFile(), WXP::Graph::setFont(), WXP::MdrPlot::setInput(), WXP::RadPlot::setInput(), WXP::RcmPlot::setInput(), WXP::FrontPlot::setInput(), WXP::Lev2Plot::setInput(), WXP::MeteoPlot::setInput(), WXP::NameConv::setPath(), WXP::Graph::setSymbol(), WXP::ContPlot::setType(), WXP::DatumPlot::setType(), WXP::VectPlot::setType(), WXP::Date::toText(), WXP::License::valid(), WXP::Wxp::validLicense(), WXP::MosData::weather12(), WXP::MosData::weather6(), WXP::GifFile::write(), and WXP::LZWComp::write().
|
static |
Returns whether two strings are equal, checking only num chars
s1 | First string |
s2 | Second string |
num | Number of characters to compare |
|
static |
Returns whether two strings are equal, checking only num chars
s1 | First string |
num | Number of characters to compare from first string |
s2 | Second string |
|
static |
Returns a character from a string
str | String to use |
ind | Index in that string to extract character |
Referenced by WXP::DatumPlot::draw(), WXP::UpaWmoFile::read(), WXP::VarFile::read(), and WXP::Message::set().
|
static |
Returns the field using a specific delimeter. This searches through the string for the field number. It returns a pointer in the original string to the location just after the delimeter.
str | String to search |
delim | Delimeter to use |
field | The field number |
Referenced by WXP::VarFile::read().
|
static |
|
static |
Returns an integer extracted from a string
ind | Index of string |
off | Offset into string to start extracting |
References WXP::Const::MISS.
|
static |
Compares two strings, case insensitive
s1 | First string |
s2 | Second string |
|
static |
Returns whether two strings are equal, case insensitive
s1 | First string |
s2 | Second string |
Referenced by WXP::UpaCalc::calc(), WXP::Filename::checkFile(), WXP::ImageFile::checkFilename(), WXP::MosDataTool::compute(), WXP::SfcDataTool::compute(), WXP::UpaDataTool::compute(), WXP::Unit::convert(), WXP::ResrcDB::create(), WXP::ForeTime::decode(), WXP::Level::decode(), WXP::DomainTool::decode(), WXP::HodoPlot::draw(), WXP::ProfPlot::draw(), WXP::SoundPlot::draw(), WXP::UpaXSectCont::draw(), WXP::UpaXSectPlot::draw(), WXP::DatumPlot::draw(), WXP::Region::get(), WXP::VarName::get(), WXP::ResrcFile::get(), WXP::Resrc::getBool(), WXP::CityTool::getFilename(), WXP::ColorMap::getInd(), WXP::Domain::getProj(), WXP::MosDataTool::getUnits(), WXP::SfcDataTool::getUnits(), WXP::UpaDataTool::getUnits(), WXP::UpaCalc::getUnits(), WXP::Strings::iequal(), WXP::Strings::iequal(), WXP::Strings::iequal(), WXP::FileTool::isDevice(), WXP::FileTool::isStdio(), WXP::File::open(), WXP::DatumAttr::parse(), WXP::RcmFile::read(), WXP::Unit::readFile(), WXP::ImgWxpFile::readHeader(), WXP::WmoIngest::readProdFile(), WXP::CityTool::search(), WXP::Menu::search(), WXP::Message::set(), WXP::NameConv::set(), WXP::ColorFill::setFill(), WXP::MosFile::setModel(), WXP::MosUFile::setModel(), and WXP::Unit::valid().
|
static |
Returns whether two strings are equal, checking only num chars
s1 | First string |
s2 | Second string |
num | Number of characters to compare |
|
static |
Returns the index of character within string
str | String to search |
ch | Character to search for |
Referenced by check(), WXP::VarName::get(), WXP::ResrcCL::getKeyed(), WXP::FileTool::getPath(), WXP::Strings::index(), WXP::FileTool::numPath(), WXP::DatumAttr::parse(), WXP::Unit::parse(), WXP::WatchFile::read(), WXP::ImgWxpFile::readHeader(), WXP::ColorFill::set(), WXP::ColorFill::set(), WXP::Filename::setFile(), WXP::Filename::setFile(), WXP::XWindow::setFont(), WXP::Graph::setFont(), and WXP::Graph::setFontSpec().
|
static |
Returns the index of num'th occurrence of a character within string
str | String to search |
ch | Character to search for |
num | The number of times a character appears before valid |
|
static |
Checks a string to see if it contains alpha-numeric data
string | String to check |
Referenced by WXP::Parse::getLine(), and WXP::WmoParse::getLine().
|
static |
Returns whether the string contains all numeric data
str | String to check |
References valid().
Referenced by WXP::SfcWmoFile::checkStart(), and WXP::UpaWmoFile::read().
|
static |
|
static |
Returns the last index of character within string (backwards search)
str | String to search |
ch | Character to search for |
|
static |
Returns the length of a string
string | String to check |
Referenced by WXP::NameConv::decode(), WXP::MosUFile::decodeETA(), WXP::MosFile::decodeGFS(), WXP::MosFile::decodeGFSX(), WXP::MosFile::decodeLAMP(), WXP::MosFile::decodeNAM(), WXP::MosFile::decodeNGM(), WXP::CityHash::get(), WXP::FileTool::makeDir(), WXP::WatchFile::read(), WXP::ImgWxpFile::readHeader(), WXP::Strings::set(), WXP::Strings::set(), WXP::FrontPlot::setInput(), toFloat(), toInt(), WXP::GifFile::write(), and WXP::LZWComp::write().
|
static |
Converts a string to lower case
string | String to convert |
Referenced by WXP::WmoIngest::setAction().
|
static |
Pattern match compare:
str | String to match |
pattern | Pattern to match against . or ? - match a single character
|
References match().
Referenced by match().
|
static |
Returns the number of times a character occurs within string
str | String to search |
ch | Character to search for |
|
static |
Prints formatted data into a string (similar to sprintf)
str | String to put formatted data |
len | Length of string |
fmt | Format to use |
|
static |
Replaces characters in string
string | String to convert |
tar | Target character to replace |
rep | Character to replace it with |
Referenced by WXP::Plot::callback(), WXP::Unit::convert(), WXP::CityPlot::draw(), WXP::MosPlot::draw(), WXP::SfcPlot::draw(), WXP::UpaPlot::draw(), WXP::FileTool::makeDir(), WXP::XWindow::open(), WXP::VarFile::read(), and WXP::Unit::valid().
|
static |
Replaces a specific character
str | String to use |
ind | Index in that string to replace |
ch | Character to put into string |
Referenced by WXP::UpaWmoFile::read().
|
static |
Splices a string into another string
s1 | Initial string to splice into |
len1 | Size of first string |
i1 | Index in s1 to start |
n | Number of characters to remove |
s2 | String to splice in |
Referenced by WXP::XWindow::setFont(), and WXP::Graph::setFontSpec().
|
static |
Strips all white space characters from the string
string | String to trim |
|
static |
Outputs a substring of initial string
s1 | Initial string to extract from |
ind | Index in s1 to start extracting |
num | Number of characters to extract |
s2 | Output string |
len2 | Length of output string |
Referenced by WXP::MosFile::decodeGFS(), WXP::MosFile::decodeGFSX(), WXP::MosFile::decodeLAMP(), WXP::MosFile::decodeNAM(), and WXP::MosFile::decodeNGM().
|
static |
|
static |
Converts a string to an float
str | String to convert |
ind | Index in string of number |
References WXP::Const::MISS.
|
static |
Converts a string to an float
str | String to convert |
ind | Index in string of number |
len | Length of characters to use in conversion |
References length(), WXP::Const::MISS, and trimWS().
Referenced by WXP::UpaXSectCont::draw().
|
static |
|
static |
Converts a string to an integer
str | String to convert |
ind | Index in string of number |
References WXP::Const::MISS.
|
static |
Converts a string to an integer
str | String to convert |
ind | Index in string of number |
len | Length of characters to use in conversion |
References length(), WXP::Const::MISS, and trimWS().
Referenced by WXP::MosFile::decodeGFS(), WXP::MosFile::decodeGFSX(), WXP::MosFile::decodeLAMP(), WXP::MosFile::decodeNAM(), WXP::MosFile::decodeNGM(), and WXP::WmoIngest::readProdFile().
|
static |
Trims white space characters from the end of string
string | String to trim |
Referenced by WXP::ModelName::get(), WXP::AreaFile::getComment(), WXP::Parse::getLine(), WXP::WmoParse::getLine(), WXP::MetarFile::getLine(), WXP::SfcWxpFile::open(), WXP::Unit::parse(), WXP::WmoIngest::process(), WXP::Prog::prompt(), WXP::RcmFile::read(), WXP::SfcWmoFile::read(), WXP::UpaWmoFile::read(), WXP::VarFile::read(), WXP::WarnFile::read(), WXP::AreaFile::readHeader(), WXP::ImgWxpFile::readHeader(), WXP::WmoIngest::readProdFile(), WXP::VarName::searchFile(), WXP::VarName::searchFile(), toFloat(), and toInt().
|
static |
Converts a string to upper case
string | String to convert |
Referenced by WXP::WmoIngest::setAction().
|
static |
Checks a string for validity (non-NULL pointer, non-null string)
str | String to test |
Referenced by WXP::FileTool::addOutPath(), WXP::FileTool::addPath(), WXP::Filename::checkFile(), WXP::SfcWmoFile::checkHeader(), WXP::FileTool::checkPath(), WXP::SfcWmoFile::checkStart(), WXP::ObjectAnal::compute(), WXP::MosDataTool::compute(), WXP::MosRaw::compute(), WXP::SfcRaw::compute(), WXP::UpaRaw::compute(), WXP::SfcDataTool::compute(), WXP::UpaDataTool::compute(), WXP::ResrcDB::create(), WXP::DateTool::createLabel(), WXP::DateTool::createLabel(), WXP::ForeTime::decode(), WXP::Variable::decode(), WXP::GridPlot::draw(), WXP::HodoPlot::draw(), WXP::MdrPlot::draw(), WXP::MiscPlot::draw(), WXP::MosPlot::draw(), WXP::RcmPlot::draw(), WXP::RedbookPlot::draw(), WXP::SfcPlot::draw(), WXP::SoundPlot::draw(), WXP::UpaPlot::draw(), WXP::DatumPlot::draw(), WXP::NidsPlot::drawData(), WXP::ImagePlot::drawImage(), WXP::ContPlot::drawValues(), WXP::NidsPlot::getDomain(), WXP::Parse::getLine(), WXP::WmoParse::getLine(), WXP::MosDataTool::getUnits(), WXP::SfcDataTool::getUnits(), WXP::UpaDataTool::getUnits(), isNum(), isNum(), WXP::GribFile::makeDatim(), WXP::XWindow::open(), WXP::ResrcFile::open(), WXP::Parse::open(), WXP::WmoParse::open(), WXP::Filename::print(), WXP::NameConvFile::print(), WXP::VarSpec::print(), WXP::VarSpec::printDetails(), WXP::Prog::readResrcFile(), WXP::VarName::searchFile(), WXP::ObjectAnal::set(), WXP::Timezone::set(), WXP::NameConv::set(), WXP::Filename::setFile(), WXP::NameConv::setFixDate(), WXP::MeteoPlot::setModel(), WXP::GridCont::setNameConv(), WXP::GridPlot::setNameConv(), WXP::GridVect::setNameConv(), WXP::HodoPlot::setNameConv(), WXP::Lev2Plot::setNameConv(), WXP::LightPlot::setNameConv(), WXP::MdrPlot::setNameConv(), WXP::RadPlot::setNameConv(), WXP::RcmPlot::setNameConv(), WXP::SatPlot::setNameConv(), WXP::ImagePlot::setNameConv(), WXP::NidsPlot::setNameConv(), WXP::Filename::setNumFiles(), WXP::Variable::toLabel(), WXP::GridMath::units(), WXP::Unit::valid(), and WXP::PngFile::write().
|
static |
Returns where search string is in main string
s1 | Main string |
s2 | Search string |
Referenced by WXP::Unit::simplify().