PARTONS  
PARtonic Tomography Of Nucleon Software
Public Member Functions | List of all members
PARTONS::Plot2DList Class Reference

List<Plot2D> with a member to get a string representation to be written in a file. More...

Inheritance diagram for PARTONS::Plot2DList:
PARTONS::List< Plot2D > PARTONS::BaseObject

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 Plot2Dget (size_t n) const
 Get reference to element of given index. More...
 
Plot2Doperator[] (size_t n)
 Get reference to element of given index. More...
 
const Plot2Doperator[] (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< Plot2DgetData () 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 Plot2DgetLast () 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 BaseObjectclone () 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 &parameterName) 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< Plot2Dm_data
 Elements of this list. More...
 

Detailed Description

List<Plot2D> with a member to get a string representation to be written in a file.

Constructor & Destructor Documentation

◆ Plot2DList()

PARTONS::Plot2DList::Plot2DList ( )

Constructor.

◆ ~Plot2DList()

PARTONS::Plot2DList::~Plot2DList ( )

Destructor.

Member Function Documentation

◆ toStringPlotFile()

std::string PARTONS::Plot2DList::toStringPlotFile ( const char &  splitChar) const
virtual

Get string representation to be written in a file.


The documentation for this class was generated from the following files: