#include <BasicString.h>
Public Member Functions | |
| BasicString (const char *s, size_type n) | |
| See std::string. | |
| BasicString (const char *s) | |
| See std::string. | |
| BasicString (std::string &s) | |
| See std::string. | |
| BasicString (std::string &s, size_type pos, size_type n=npos) | |
| See std::string. | |
| BasicString (size_type n, char c) | |
| See std::string. | |
| BasicString (const int x) | |
| BasicString (const unsigned x) | |
| BasicString (const long x) | |
| BasicString (const unsigned long x) | |
| BasicString (const double x) | |
Static Public Member Functions | |
| static unsigned char | parseUByte (const std::string s) |
| static char | parseByte (const std::string s) |
| static unsigned short | parseUShort (const std::string s) |
| static short | parseShort (const std::string s) |
| static unsigned int | parseUInteger (const std::string s) |
| static int | parseInteger (const std::string s) |
| static double | parseDouble (const std::string s) |
| static bool | parseBool (const std::string s) |
| static std::string | trim (const std::string s) |
| static std::string | toUpper (const std::string s) |
| static std::string | toLower (const std::string s) |
Definition at line 32 of file BasicString.h.
| BasicString::BasicString | ( | const char * | s, | |
| size_type | n | |||
| ) | [inline] |
| BasicString::BasicString | ( | const char * | s | ) | [inline] |
| BasicString::BasicString | ( | std::string & | s | ) | [inline] |
| BasicString::BasicString | ( | std::string & | s, | |
| size_type | pos, | |||
| size_type | n = npos | |||
| ) | [inline] |
| BasicString::BasicString | ( | size_type | n, | |
| char | c | |||
| ) | [inline] |
| BasicString::BasicString | ( | const int | x | ) |
Convert an int to a character string.
| x | The int to convert. |
Definition at line 34 of file BasicString.cpp.
| BasicString::BasicString | ( | const unsigned | x | ) |
Convert an unsigned int to a string.
| x | The unsigned int to convert. |
Definition at line 40 of file BasicString.cpp.
| BasicString::BasicString | ( | const long | x | ) |
Convert a long to a string.
| x | The long to convert. |
Definition at line 46 of file BasicString.cpp.
| BasicString::BasicString | ( | const unsigned long | x | ) |
Convert an unsigned long to a string.
| x | The unsigned long to convert. |
Definition at line 52 of file BasicString.cpp.
| BasicString::BasicString | ( | const double | x | ) |
Convert a double to a string.
| x | The double to convert. |
Definition at line 58 of file BasicString.cpp.
| unsigned char BasicString::parseUByte | ( | const std::string | s | ) | [static] |
Definition at line 64 of file BasicString.cpp.
References ASSERT_OR_THROW, and parseUInteger().
Referenced by CompuCell3D::ChemotaxisDictyEnergy::readXML(), and CompuCell3D::CellTypePlugin::readXML().

| char BasicString::parseByte | ( | const std::string | s | ) | [static] |
Definition at line 71 of file BasicString.cpp.
References ASSERT_OR_THROW, and parseUInteger().

| unsigned short BasicString::parseUShort | ( | const std::string | s | ) | [static] |
Definition at line 79 of file BasicString.cpp.
References ASSERT_OR_THROW, and parseUInteger().

| short BasicString::parseShort | ( | const std::string | s | ) | [static] |
Definition at line 86 of file BasicString.cpp.
References ASSERT_OR_THROW, and parseUInteger().

| unsigned int BasicString::parseUInteger | ( | const std::string | s | ) | [static] |
Definition at line 94 of file BasicString.cpp.
References ASSERT_OR_THROW.
Referenced by parseByte(), CompuCell3D::Simulator::parsePotts(), parseShort(), parseUByte(), parseUShort(), CompuCell3D::UniformFieldInitializer::readXML(), CompuCell3D::ReactionDiffusionSolverFE_SavHog::readXML(), CompuCell3D::ReactionDiffusionFile::readXML(), CompuCell3D::FlexibleDiffusionSolverFE::readXML(), CompuCell3D::FastDiffusionSolver2DFE::readXML(), CompuCell3D::DictyFieldInitializer::readXML(), CompuCell3D::DictyChemotaxisSteppable::readXML(), CompuCell3D::CellVelocity::readXML(), CompuCell3D::CellDiffusionDataOutput::readXML(), CompuCell3D::BoxWatcher::readXML(), CompuCell3D::BlobFieldInitializer::readXML(), CompuCell3D::Simulator::readXML(), CompuCell3D::EnergyFunctionCalculatorStatisticsParseData::readXML(), CompuCell3D::EnergyFunctionCalculatorStatistics::readXML(), CompuCell3D::SurfaceTrackerPlugin::readXML(), CompuCell3D::PlayerSettingsPlugin::readXML(), CompuCell3D::PDESolverCallerPlugin::readXML(), CompuCell3D::NeighborTrackerPlugin::readXML(), CompuCell3D::MitosisPlugin::readXML(), CompuCell3D::LengthConstraintEnergy::readXML(), CompuCell3D::GrowthPlugin::readXML(), CompuCell3D::ContactMultiCadEnergy::readXML(), CompuCell3D::ContactLocalProductEnergy::readXML(), CompuCell3D::ContactLocalFlexEnergy::readXML(), CompuCell3D::ContactEnergy::readXML(), CompuCell3D::ContactCompartmentEnergy::readXML(), CompuCell3D::CellVelocityPlugin::readXML(), CompuCell3D::Point3D::readXML(), CompuCell3D::ClassRegistry::readXML(), and CompuCell3D::SurfaceEnergy::readXML().
| int BasicString::parseInteger | ( | const std::string | s | ) | [static] |
Definition at line 103 of file BasicString.cpp.
References ASSERT_OR_THROW.
Referenced by CompuCell3D::GrowthPlugin::readXML().
| double BasicString::parseDouble | ( | const std::string | s | ) | [static] |
Definition at line 112 of file BasicString.cpp.
References ASSERT_OR_THROW.
Referenced by CompuCell3D::Simulator::parsePotts(), CompuCell3D::ReactionDiffusionSolverFE_SavHog::readXML(), CompuCell3D::SecretionData::readXML(), CompuCell3D::DiffusionData::readXML(), CompuCell3D::DictyFieldInitializer::readXML(), CompuCell3D::DictyChemotaxisSteppable::readXML(), CompuCell3D::VolumeFlexEnergy::readXML(), CompuCell3D::ViscosityEnergy::readXML(), CompuCell3D::SurfaceTrackerPlugin::readXML(), CompuCell3D::SurfaceLocalFlexEnergy::readXML(), CompuCell3D::SurfaceFlexEnergy::readXML(), CompuCell3D::StretchnessEnergy::readXML(), CompuCell3D::SimpleArrayPlugin::readXML(), CompuCell3D::RearrangementEnergy::readXML(), CompuCell3D::PlayerSettingsPlugin::readXML(), CompuCell3D::PlasticityEnergy::readXML(), CompuCell3D::LengthConstraintEnergy::readXML(), CompuCell3D::GrowthPlugin::readXML(), CompuCell3D::ExternalPotentialEnergy::readXML(), CompuCell3D::ContactMultiCadEnergy::readXML(), CompuCell3D::ContactLocalProductEnergy::readXML(), CompuCell3D::ContactLocalFlexEnergy::readXML(), CompuCell3D::ContactFlexEnergy::readXML(), CompuCell3D::ContactEnergy::readXML(), CompuCell3D::ConnectivityEnergy::readXML(), CompuCell3D::ContactCompartmentEnergy::readXML(), CompuCell3D::ChickTypePlugin::readXML(), CompuCell3D::ChickGrowthTypePlugin::readXML(), CompuCell3D::ChemotaxisDictyEnergy::readXML(), CompuCell3D::ChemotaxisEnergy::readXML(), CompuCell3D::CellOrientationEnergy::readXML(), CompuCell3D::VolumeEnergy::readXML(), and CompuCell3D::SurfaceEnergy::readXML().
| bool BasicString::parseBool | ( | const std::string | s | ) | [static] |
Definition at line 120 of file BasicString.cpp.
References THROW, toLower(), and trim().
Referenced by CompuCell3D::PlayerSettingsPlugin::readXML().

| static std::string BasicString::trim | ( | const std::string | s | ) | [static] |
Referenced by parseBool().
| static std::string BasicString::toUpper | ( | const std::string | s | ) | [static] |
Referenced by CompuCell3D::SimpleArrayPlugin::readXML().
| static std::string BasicString::toLower | ( | const std::string | s | ) | [static] |
Referenced by parseBool().
1.5.3