PARTONS
|
PARtonic Tomography Of Nucleon Software
|
List<Plot2D> with a member to get a string representation to be written in a file. More...
Public Member Functions | |
Plot2DList () | |
Constructor. More... | |
~Plot2DList () | |
Destructor. More... | |
virtual std::string | toStringPlotFile (const char &splitChar) const |
Get string representation to be written in a file. More... | |
Public Member Functions inherited from PARTONS::List< Plot2D > | |
List () | |
Constructor. More... | |
List (std::vector< Plot2D > &stdVector) | |
Assignment constructor. More... | |
virtual | ~List () |
Destructor. More... | |
virtual void | add (const Plot2D &data) |
Add new element. More... | |
void | add (const List< Plot2D > &list) |
Add list of new elements. More... | |
void | add (const std::vector< Plot2D > &vector) |
Add vector of new elements. More... | |
const Plot2D & | get (size_t n) const |
Get reference to element of given index. More... | |
Plot2D & | operator[] (size_t n) |
Get reference to element of given index. More... | |
const Plot2D & | operator[] (size_t n) const |
Get reference to element of given index. More... | |
size_t | size () const |
Get size of this list. More... | |
bool | isEmpty () const |
Check if list is empty. More... | |
std::string | toString () |
Return a pre-formatted characters string for output visualization of class member's values. More... | |
void | sort () |
Sort elements of this list. More... | |
std::vector< Plot2D > | getData () const |
Get vector containing stored elements. More... | |
void | compare (ComparisonReport &rootComparisonReport, const List< Plot2D > &referenceObject, const ComparisonMode &comparisonMode=ComparisonMode::EQUAL, std::string parentObjectInfo=ElemUtils::StringUtils::EMPTY) const |
Compare to other List and store comparison result in given comparison report. More... | |
void | clear () |
Clear list. More... | |
void | resize (size_t n) |
Resize list to given size. More... | |
void | removeLast () |
Remove the last element from this list. More... | |
const Plot2D & | getLast () const |
Get the last element of this list. More... | |
void | serialize (ElemUtils::Packet &packet) const |
Used to split a complex C++ object into a concatenation of simple types. More... | |
void | unserialize (ElemUtils::Packet &packet) |
Used to rebuild a complex C++ object from a concatenation of simple type. More... | |
Public Member Functions inherited from PARTONS::BaseObject | |
BaseObject (const std::string &className) | |
Constructor. More... | |
virtual | ~BaseObject () |
Default destructor. More... | |
virtual BaseObject * | clone () const |
Virtual clone function to allow the factory to clone all derived members object stored in the BaseObjectRegistry. More... | |
virtual void | resolveObjectDependencies () |
Because of the initialization step order of the program, objects are registered in a total random order and some objects depend on others. More... | |
virtual std::string | toString () const |
Return a pre-formatted characters string for output visualization of class member's values. More... | |
void | serialize (ElemUtils::Packet &packet) const |
Used to split a complex C++ object into a concatenation of simple types. More... | |
void | unserialize (ElemUtils::Packet &packet) |
Used to rebuild a complex C++ object from a concatenation of simple type. More... | |
bool | operator< (const BaseObject &other) const |
Overload of < operator to sort BaseObject object by its indexId value. More... | |
const std::string & | getClassName () const |
unsigned int | getObjectId () const |
int | getIndexId () const |
void | setIndexId (int indexId) |
Additional Inherited Members | |
Protected Member Functions inherited from PARTONS::BaseObject | |
BaseObject (const BaseObject &other) | |
Copy constructor. More... | |
void | info (const std::string &functionName, const std::string &message) const |
Print info message into logger. More... | |
void | debug (const std::string &functionName, const std::string &message) const |
Print debug message into logger. More... | |
void | warn (const std::string &functionName, const std::string &message) const |
Print warning message into logger. More... | |
void | errorMissingParameter (const std::string ¶meterName) const |
Use in automation process to throw exception when a parameter is missing from the XML scenario file. More... | |
Protected Attributes inherited from PARTONS::List< Plot2D > | |
std::vector< Plot2D > | m_data |
Elements of this list. More... | |
List<Plot2D> with a member to get a string representation to be written in a file.
PARTONS::Plot2DList::Plot2DList | ( | ) |
Constructor.
PARTONS::Plot2DList::~Plot2DList | ( | ) |
Destructor.
|
virtual |
Get string representation to be written in a file.