Molecular Dynamics  v0.4
Project for the Practical hosted by the Scientific Computing Chair
List of all members
N1 Class Reference

Class corresponding to the N1 schema type. More...

#include <ConfigurationFile.h>

Inheritance diagram for N1:
Inheritance graph
Collaboration diagram for N1:
Collaboration graph

Constructors

 N1 (const ::xml_schema::unsigned_int &)
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 N1 (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 N1 (const ::xercesc::DOMAttr &a, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Create an instance from a DOM attribute. More...
 
 N1 (const ::std::string &s, const ::xercesc::DOMElement *e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Create an instance from a string fragment. More...
 
 N1 (const N1 &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual N1_clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 
virtual ~N1 ()
 Destructor. More...
 

Detailed Description

Class corresponding to the N1 schema type.

Constructor & Destructor Documentation

◆ N1() [1/5]

N1::N1 ( const ::xml_schema::unsigned_int _xsd_unsigned_int_base)

Create an instance from the ultimate base and initializers for required elements and attributes.

◆ N1() [2/5]

N1::N1 ( const ::xercesc::DOMElement &  e,
::xml_schema::flags  f = 0,
::xml_schema::container c = 0 
)

Create an instance from a DOM element.

Parameters
eA DOM element to extract the data from.
fFlags to create the new instance with.
cA pointer to the object that will contain the new instance.

◆ N1() [3/5]

N1::N1 ( const ::xercesc::DOMAttr &  a,
::xml_schema::flags  f = 0,
::xml_schema::container c = 0 
)

Create an instance from a DOM attribute.

Parameters
aA DOM attribute to extract the data from.
fFlags to create the new instance with.
cA pointer to the object that will contain the new instance.

◆ N1() [4/5]

N1::N1 ( const ::std::string &  s,
const ::xercesc::DOMElement *  e,
::xml_schema::flags  f = 0,
::xml_schema::container c = 0 
)

Create an instance from a string fragment.

Parameters
sA string fragment to extract the data from.
eA pointer to DOM element containing the string fragment.
fFlags to create the new instance with.
cA pointer to the object that will contain the new instance.

◆ N1() [5/5]

N1::N1 ( const N1 x,
::xml_schema::flags  f = 0,
::xml_schema::container c = 0 
)

Copy constructor.

Parameters
xAn instance to make a copy of.
fFlags to create the copy with.
cA pointer to the object that will contain the copy.

For polymorphic object models use the _clone function instead.

◆ ~N1()

N1::~N1 ( )
virtual

Destructor.

Member Function Documentation

◆ _clone()

N1 * N1::_clone ( ::xml_schema::flags  f = 0,
::xml_schema::container c = 0 
) const
virtual

Copy the instance polymorphically.

Parameters
fFlags to create the copy with.
cA pointer to the object that will contain the copy.
Returns
A pointer to the dynamically allocated copy.

This function ensures that the dynamic type of the instance is used for copying and should be used for polymorphic object models instead of the copy constructor.


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