![]() |
NeuroML C++ API
2.3.0
C++ API for NeuroML 2
|
Class corresponding to the HHRate schema type. More...
#include <NeuroML_v2.3.hxx>
type | |
Accessor and modifier functions for the type required attribute. | |
typedef ::neuroml2::NmlId | type_type |
Attribute type. | |
typedef ::xsd::cxx::tree::traits< type_type, char > | type_traits |
Attribute traits type. | |
const type_type & | type () const |
Return a read-only (constant) reference to the attribute. More... | |
type_type & | type () |
Return a read-write reference to the attribute. More... | |
void | type (const type_type &x) |
Set the attribute value. More... | |
void | type (::std::unique_ptr< type_type > p) |
Set the attribute value without copying. More... | |
rate | |
Accessor and modifier functions for the rate optional attribute. | |
typedef ::neuroml2::Nml2Quantity_pertime | rate_type |
Attribute type. | |
typedef ::xsd::cxx::tree::optional< rate_type > | rate_optional |
Attribute optional container type. | |
typedef ::xsd::cxx::tree::traits< rate_type, char > | rate_traits |
Attribute traits type. | |
const rate_optional & | rate () const |
Return a read-only (constant) reference to the attribute container. More... | |
rate_optional & | rate () |
Return a read-write reference to the attribute container. More... | |
void | rate (const rate_type &x) |
Set the attribute value. More... | |
void | rate (const rate_optional &x) |
Set the attribute value. More... | |
void | rate (::std::unique_ptr< rate_type > p) |
Set the attribute value without copying. More... | |
midpoint | |
Accessor and modifier functions for the midpoint optional attribute. | |
typedef ::neuroml2::Nml2Quantity_voltage | midpoint_type |
Attribute type. | |
typedef ::xsd::cxx::tree::optional< midpoint_type > | midpoint_optional |
Attribute optional container type. | |
typedef ::xsd::cxx::tree::traits< midpoint_type, char > | midpoint_traits |
Attribute traits type. | |
const midpoint_optional & | midpoint () const |
Return a read-only (constant) reference to the attribute container. More... | |
midpoint_optional & | midpoint () |
Return a read-write reference to the attribute container. More... | |
void | midpoint (const midpoint_type &x) |
Set the attribute value. More... | |
void | midpoint (const midpoint_optional &x) |
Set the attribute value. More... | |
void | midpoint (::std::unique_ptr< midpoint_type > p) |
Set the attribute value without copying. More... | |
scale | |
Accessor and modifier functions for the scale optional attribute. | |
typedef ::neuroml2::Nml2Quantity_voltage | scale_type |
Attribute type. | |
typedef ::xsd::cxx::tree::optional< scale_type > | scale_optional |
Attribute optional container type. | |
typedef ::xsd::cxx::tree::traits< scale_type, char > | scale_traits |
Attribute traits type. | |
const scale_optional & | scale () const |
Return a read-only (constant) reference to the attribute container. More... | |
scale_optional & | scale () |
Return a read-write reference to the attribute container. More... | |
void | scale (const scale_type &x) |
Set the attribute value. More... | |
void | scale (const scale_optional &x) |
Set the attribute value. More... | |
void | scale (::std::unique_ptr< scale_type > p) |
Set the attribute value without copying. More... | |
Constructors | |
HHRate (const type_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. | |
HHRate (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
HHRate (const HHRate &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual HHRate * | _clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
HHRate & | operator= (const HHRate &x) |
Copy assignment operator. More... | |
virtual | ~HHRate () |
Destructor. | |
Additional Inherited Members | |
![]() | |
BaseWithoutId () | |
Create an instance from the ultimate base and initializers for required elements and attributes. | |
BaseWithoutId (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
BaseWithoutId (const ::xercesc::DOMAttr &a, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Create an instance from a DOM attribute. More... | |
BaseWithoutId (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... | |
BaseWithoutId (const BaseWithoutId &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual | ~BaseWithoutId () |
Destructor. | |
Class corresponding to the HHRate schema type.
Definition at line 24932 of file NeuroML_v2.3.hxx.
neuroml2::HHRate::HHRate | ( | 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 28166 of file NeuroML_v2.3.cxx.
neuroml2::HHRate::HHRate | ( | const HHRate & | 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 28154 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.
Reimplemented from neuroml2::BaseWithoutId.
Definition at line 28226 of file NeuroML_v2.3.cxx.
HHRate::midpoint_optional & neuroml2::HHRate::midpoint | ( | ) |
Return a read-write reference to the attribute container.
Definition at line 5697 of file NeuroML_v2.3.cxx.
const HHRate::midpoint_optional & neuroml2::HHRate::midpoint | ( | ) | const |
Return a read-only (constant) reference to the attribute container.
Definition at line 5691 of file NeuroML_v2.3.cxx.
void neuroml2::HHRate::midpoint | ( | ::std::unique_ptr< midpoint_type > | p | ) |
Set the attribute value without copying.
p | A new value to use. |
This function will try to use the passed value directly instead of making a copy.
Definition at line 5715 of file NeuroML_v2.3.cxx.
void neuroml2::HHRate::midpoint | ( | const midpoint_optional & | x | ) |
Set the attribute value.
x | An optional container with the new value to set. |
If the value is present in x then this function makes a copy of this value and sets it as the new value of the attribute. Otherwise the attribute container is set the 'not present' state.
Definition at line 5709 of file NeuroML_v2.3.cxx.
void neuroml2::HHRate::midpoint | ( | const midpoint_type & | x | ) |
Set the attribute value.
x | A new value to set. |
This function makes a copy of its argument and sets it as the new value of the attribute.
Definition at line 5703 of file NeuroML_v2.3.cxx.
Copy assignment operator.
x | An instance to make a copy of. |
For polymorphic object models use the _clone
function instead.
Definition at line 28233 of file NeuroML_v2.3.cxx.
HHRate::rate_optional & neuroml2::HHRate::rate | ( | ) |
Return a read-write reference to the attribute container.
Definition at line 5667 of file NeuroML_v2.3.cxx.
const HHRate::rate_optional & neuroml2::HHRate::rate | ( | ) | const |
Return a read-only (constant) reference to the attribute container.
Definition at line 5661 of file NeuroML_v2.3.cxx.
void neuroml2::HHRate::rate | ( | ::std::unique_ptr< rate_type > | p | ) |
Set the attribute value without copying.
p | A new value to use. |
This function will try to use the passed value directly instead of making a copy.
Definition at line 5685 of file NeuroML_v2.3.cxx.
void neuroml2::HHRate::rate | ( | const rate_optional & | x | ) |
Set the attribute value.
x | An optional container with the new value to set. |
If the value is present in x then this function makes a copy of this value and sets it as the new value of the attribute. Otherwise the attribute container is set the 'not present' state.
Definition at line 5679 of file NeuroML_v2.3.cxx.
void neuroml2::HHRate::rate | ( | const rate_type & | x | ) |
Set the attribute value.
x | A new value to set. |
This function makes a copy of its argument and sets it as the new value of the attribute.
Definition at line 5673 of file NeuroML_v2.3.cxx.
HHRate::scale_optional & neuroml2::HHRate::scale | ( | ) |
Return a read-write reference to the attribute container.
Definition at line 5727 of file NeuroML_v2.3.cxx.
const HHRate::scale_optional & neuroml2::HHRate::scale | ( | ) | const |
Return a read-only (constant) reference to the attribute container.
Definition at line 5721 of file NeuroML_v2.3.cxx.
void neuroml2::HHRate::scale | ( | ::std::unique_ptr< scale_type > | p | ) |
Set the attribute value without copying.
p | A new value to use. |
This function will try to use the passed value directly instead of making a copy.
Definition at line 5745 of file NeuroML_v2.3.cxx.
void neuroml2::HHRate::scale | ( | const scale_optional & | x | ) |
Set the attribute value.
x | An optional container with the new value to set. |
If the value is present in x then this function makes a copy of this value and sets it as the new value of the attribute. Otherwise the attribute container is set the 'not present' state.
Definition at line 5739 of file NeuroML_v2.3.cxx.
void neuroml2::HHRate::scale | ( | const scale_type & | x | ) |
Set the attribute value.
x | A new value to set. |
This function makes a copy of its argument and sets it as the new value of the attribute.
Definition at line 5733 of file NeuroML_v2.3.cxx.
HHRate::type_type & neuroml2::HHRate::type | ( | ) |
Return a read-write reference to the attribute.
Definition at line 5643 of file NeuroML_v2.3.cxx.
const HHRate::type_type & neuroml2::HHRate::type | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 5637 of file NeuroML_v2.3.cxx.
void neuroml2::HHRate::type | ( | ::std::unique_ptr< type_type > | p | ) |
Set the attribute value without copying.
p | A new value to use. |
This function will try to use the passed value directly instead of making a copy.
Definition at line 5655 of file NeuroML_v2.3.cxx.
void neuroml2::HHRate::type | ( | const type_type & | x | ) |
Set the attribute value.
x | A new value to set. |
This function makes a copy of its argument and sets it as the new value of the attribute.
Definition at line 5649 of file NeuroML_v2.3.cxx.