![]() |
NeuroML C++ API
2.3.0
C++ API for NeuroML 2
|
Enumeration class corresponding to the PlasticityTypes schema type. More...
#include <NeuroML_v2.3.hxx>
Public Types | |
enum | value { tsodyksMarkramDepMechanism , tsodyksMarkramDepFacMechanism } |
Underlying enum type. | |
Public Member Functions | |
PlasticityTypes (value v) | |
Create an instance from the underlying enum value. More... | |
PlasticityTypes (const char *v) | |
Create an instance from a C string. More... | |
PlasticityTypes (const ::std::string &v) | |
Create an instance from a string. More... | |
PlasticityTypes (const ::xml_schema::string &v) | |
Create an instance from the base value. More... | |
PlasticityTypes (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
PlasticityTypes (const ::xercesc::DOMAttr &a, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Create an instance from a DOM attribute. More... | |
PlasticityTypes (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... | |
PlasticityTypes (const PlasticityTypes &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual PlasticityTypes * | _clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
PlasticityTypes & | operator= (value v) |
Assign the underlying enum value. More... | |
virtual | operator value () const |
Implicit conversion operator to the underlying enum value. More... | |
Enumeration class corresponding to the PlasticityTypes schema type.
Definition at line 30799 of file NeuroML_v2.3.hxx.
neuroml2::PlasticityTypes::PlasticityTypes | ( | value | v | ) |
Create an instance from the underlying enum value.
v | A enum value. |
Definition at line 7138 of file NeuroML_v2.3.cxx.
neuroml2::PlasticityTypes::PlasticityTypes | ( | const char * | v | ) |
Create an instance from a C string.
v | A string value. |
Definition at line 7144 of file NeuroML_v2.3.cxx.
neuroml2::PlasticityTypes::PlasticityTypes | ( | const ::std::string & | v | ) |
Create an instance from a string.
v | A string value. |
Definition at line 7150 of file NeuroML_v2.3.cxx.
neuroml2::PlasticityTypes::PlasticityTypes | ( | const ::xml_schema::string & | v | ) |
Create an instance from the base value.
v | A base value. |
Definition at line 7156 of file NeuroML_v2.3.cxx.
neuroml2::PlasticityTypes::PlasticityTypes | ( | const ::xercesc::DOMElement & | e, |
::xml_schema::flags | f = 0 , |
||
::xml_schema::container * | c = 0 |
||
) |
Create an instance from a DOM element.
e | A DOM element to extract the data from. |
f | Flags to create the new instance with. |
c | A pointer to the object that will contain the new instance. |
Definition at line 30974 of file NeuroML_v2.3.cxx.
neuroml2::PlasticityTypes::PlasticityTypes | ( | const ::xercesc::DOMAttr & | a, |
::xml_schema::flags | f = 0 , |
||
::xml_schema::container * | c = 0 |
||
) |
Create an instance from a DOM attribute.
a | A DOM attribute to extract the data from. |
f | Flags to create the new instance with. |
c | A pointer to the object that will contain the new instance. |
Definition at line 30983 of file NeuroML_v2.3.cxx.
neuroml2::PlasticityTypes::PlasticityTypes | ( | 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.
s | A string fragment to extract the data from. |
e | A pointer to DOM element containing the string fragment. |
f | Flags to create the new instance with. |
c | A pointer to the object that will contain the new instance. |
Definition at line 30992 of file NeuroML_v2.3.cxx.
neuroml2::PlasticityTypes::PlasticityTypes | ( | const PlasticityTypes & | x, |
::xml_schema::flags | f = 0 , |
||
::xml_schema::container * | c = 0 |
||
) |
Copy constructor.
x | An instance to make a copy of. |
f | Flags to create the copy with. |
c | A pointer to the object that will contain the copy. |
For polymorphic object models use the _clone
function instead.
Definition at line 7162 of file NeuroML_v2.3.cxx.
|
virtual |
Copy the instance polymorphically.
f | Flags to create the copy with. |
c | A pointer to the object that will contain the 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.
Definition at line 31002 of file NeuroML_v2.3.cxx.
|
inlinevirtual |
Implicit conversion operator to the underlying enum value.
Definition at line 30922 of file NeuroML_v2.3.hxx.
PlasticityTypes & neuroml2::PlasticityTypes::operator= | ( | value | v | ) |
Assign the underlying enum value.
v | A enum value. |
Definition at line 7170 of file NeuroML_v2.3.cxx.