NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#include <stringmemory.hpp>
Public Member Functions | |
bool | writeString (const std::string &_sString, unsigned int _nthString=std::string::npos, unsigned int nCol=0) |
std::string | readString (unsigned int _nthString=std::string::npos, unsigned int nCol=0) |
std::string | maxString (unsigned int i1=0, unsigned int i2=std::string::npos, unsigned int nCol=0) |
std::string | maxString (VectorIndex _vLine, VectorIndex _vCol) |
std::string | minString (unsigned int i1=0, unsigned int i2=std::string::npos, unsigned int nCol=0) |
std::string | minString (VectorIndex _vLine, VectorIndex _vCol) |
std::string | sumString (unsigned int i1=0, unsigned int i2=std::string::npos, unsigned int nCol=0) |
std::string | sumString (VectorIndex _vLine, VectorIndex _vCol) |
unsigned int | getStringElements (unsigned int nCol=std::string::npos) const |
unsigned int | getStringCols () const |
bool | removeStringElements (unsigned int nCol=0) |
bool | clearStringElements () |
int | getStringSize (unsigned int nCol=std::string::npos) const |
std::vector< int > | sortStringElements (long long int i1, long long int i2, long long int j1, long long int j2, const std::string &sSortingExpression) |
Private Attributes | |
StringInternalMemory | _stringIntMem |
Definition at line 50 of file stringmemory.hpp.
|
inline |
Definition at line 110 of file stringmemory.hpp.
References _stringIntMem, and StringInternalMemory::sStrings.
Referenced by cmd_clear().
|
inline |
Definition at line 92 of file stringmemory.hpp.
References _stringIntMem, and StringInternalMemory::sStrings.
Referenced by NumeRe::StringFuncHandler::applySpecialStringFuncs(), NumeReDebugger::decodeType(), expandStringIndexVectors(), NumeReDebugger::getGlobals(), NumeReKernel::getStringTable(), NumeReKernel::getVariableList(), listDeclaredVariables(), sortStrings(), and MemoryManager::updateDimensionVariables().
|
inline |
Definition at line 69 of file stringmemory.hpp.
References _stringIntMem, and StringInternalMemory::sStrings.
Referenced by NumeRe::StringFuncHandler::applySpecialStringFuncs(), cmd_show(), expandStringIndexVectors(), NumeRe::StringParser::getDataForString(), NumeReDebugger::getGlobals(), NumeReKernel::getStringTable(), NumeReKernel::getVariableList(), listDeclaredVariables(), sortStrings(), and MemoryManager::updateDimensionVariables().
|
inline |
Definition at line 122 of file stringmemory.hpp.
References _stringIntMem, getStringSize(), and StringInternalMemory::sStrings.
Referenced by NumeReDebugger::decodeType(), getStringSize(), NumeReKernel::getVariableList(), and listDeclaredVariables().
string StringMemory::maxString | ( | unsigned int | i1 = 0 , |
unsigned int | i2 = std::string::npos , |
||
unsigned int | nCol = 0 |
||
) |
Definition at line 349 of file stringmemory.cpp.
References _stringIntMem, and StringInternalMemory::sStrings.
Referenced by NumeReDebugger::decodeType(), NumeRe::StringParser::getDataForString(), NumeReDebugger::getGlobals(), and NumeReKernel::getVariableList().
string StringMemory::maxString | ( | VectorIndex | _vLine, |
VectorIndex | _vCol | ||
) |
Definition at line 377 of file stringmemory.cpp.
References _stringIntMem, VectorIndex::front(), VectorIndex::isOpenEnd(), VectorIndex::last(), VectorIndex::setRange(), VectorIndex::size(), and StringInternalMemory::sStrings.
string StringMemory::minString | ( | unsigned int | i1 = 0 , |
unsigned int | i2 = std::string::npos , |
||
unsigned int | nCol = 0 |
||
) |
Definition at line 405 of file stringmemory.cpp.
References _stringIntMem, and StringInternalMemory::sStrings.
Referenced by NumeReDebugger::decodeType(), NumeRe::StringParser::getDataForString(), NumeReDebugger::getGlobals(), and NumeReKernel::getVariableList().
string StringMemory::minString | ( | VectorIndex | _vLine, |
VectorIndex | _vCol | ||
) |
Definition at line 433 of file stringmemory.cpp.
References _stringIntMem, VectorIndex::front(), VectorIndex::isOpenEnd(), VectorIndex::last(), VectorIndex::setRange(), VectorIndex::size(), and StringInternalMemory::sStrings.
string StringMemory::readString | ( | unsigned int | _nthString = std::string::npos , |
unsigned int | nCol = 0 |
||
) |
Definition at line 325 of file stringmemory.cpp.
References _stringIntMem, and StringInternalMemory::sStrings.
Referenced by cmd_show(), NumeRe::StringParser::getDataForString(), and NumeReKernel::getStringTable().
|
inline |
Definition at line 98 of file stringmemory.hpp.
References _stringIntMem, and StringInternalMemory::sStrings.
Referenced by cmd_delete().
|
inline |
Definition at line 159 of file stringmemory.hpp.
References _stringIntMem, and StringInternalMemory::sortElements().
Referenced by sortStrings().
string StringMemory::sumString | ( | unsigned int | i1 = 0 , |
unsigned int | i2 = std::string::npos , |
||
unsigned int | nCol = 0 |
||
) |
Definition at line 461 of file stringmemory.cpp.
References _stringIntMem, and StringInternalMemory::sStrings.
Referenced by NumeRe::StringParser::getDataForString().
string StringMemory::sumString | ( | VectorIndex | _vLine, |
VectorIndex | _vCol | ||
) |
Definition at line 488 of file stringmemory.cpp.
References _stringIntMem, VectorIndex::front(), VectorIndex::isOpenEnd(), VectorIndex::last(), VectorIndex::setRange(), VectorIndex::size(), and StringInternalMemory::sStrings.
bool StringMemory::writeString | ( | const std::string & | _sString, |
unsigned int | _nthString = std::string::npos , |
||
unsigned int | nCol = 0 |
||
) |
Definition at line 263 of file stringmemory.cpp.
References _stringIntMem, and StringInternalMemory::sStrings.
Referenced by NumeRe::StringParser::storeStringToStringObject().
|
private |
Definition at line 53 of file stringmemory.hpp.
Referenced by clearStringElements(), getStringCols(), getStringElements(), getStringSize(), maxString(), minString(), readString(), removeStringElements(), sortStringElements(), sumString(), and writeString().