#include <BoxData.h>
Inheritance diagram for OSCAR::BoxData:

Public Methods | |
| BoxData (const String &inputFileName, OSCARError &err=DUMMY_ERROR(noError), const String &rootElementName=String("Box"), const String name=String("")) | |
| BoxData (const char *xmlDataString, OSCARError &err=DUMMY_ERROR(noError), const String &rootElementName=String("Box"), const String name=String("")) | |
| BoxData (const DOMElement *coneNode, OSCARError &err=DUMMY_ERROR(noError), const String &rootElementName=String("Box"), const String name=String("")) | |
| BoxData (const Box &box, OSCARError &err=DUMMY_ERROR(noError), const String &rootElementName=String("Box"), const String name=String("")) | |
| BoxData (const BoxData &rhs) | |
| virtual | ~BoxData () |
| BoxData & | operator= (const BoxData &rhs) |
| const Box * | GetParameters () const |
| bool | SetParameters (const Box &box) |
| bool | Output (std::ostream &out, bool nameSpaceHeader=false) const |
Static Public Methods | |
| bool | Output (const Box *box, std::ostream &strm, const String &rootElementName=String("Box"), bool nameSpaceHeader=false) |
Protected Methods | |
| virtual bool | parseParameters (const DOMElement *coneNode) |
Protected Attributes | |
| Box * | box |
|
||||||||||||||||||||
|
Constructor. This is the constructor for an object of type BoxData. Use this to construct an BoxData object by supplying a datafile that contains the Box data specified in XML. Possible errors that may occur include a fileOpenError or xmlError. A call to LoadData() should follow a succesful constructor call.
|
|
||||||||||||||||||||
|
Constructor. Use this to construct an BoxData object from a char string holding the XML description of a Box. Possible errors that may occur include or xmlError. A call to LoadData() should follow a succesful constructor call.
|
|
||||||||||||||||||||
|
Constructor that allows xml data to be loaded from pre validated DOMElement containing a Box node. A call to LoadData() should follow a succesful constructor call.
|
|
||||||||||||||||||||
|
Creates a BoxData object from a Box object. Use this constructor to serialize a Box object into XML A call to LoadData() is not needed after this constructor call.
|
|
|
Copy Constructor. This is the Copy Constructor for an object of type BoxData. Use this to construct an BoxData object from an existing BoxData object.
|
|
|
Destructor. This is the Destructor for an object of type BoxData. |
|
|
Returns the Box that represents the Box data.
|
|
|
Assignment Operator. This is the Assignment Operator for an object of type BoxData.
|
|
||||||||||||||||||||
|
Outputs any given Box object into XML. This does not output the internally stored object. Also, this method is declared static and as such can be called to serialize any Box object without creating a BoxData object.
|
|
||||||||||||
|
Outputs stored data CylisphereModel in XML format. The root element for BoxData is .
Implements OSCAR::XMLData. |
|
|
Overloaded method for parsing an element of type CylisphereType.
Reimplemented from OSCAR::XMLData. |
|
|
Set the Box that will be serialized by this object.
|
|
|
|
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |