![]() |
NeuroML C++ API
2.3.0
C++ API for NeuroML 2
|
Class corresponding to the HHTime 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_time | 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... | |
tau | |
Accessor and modifier functions for the tau optional attribute. | |
typedef ::neuroml2::Nml2Quantity_time | tau_type |
Attribute type. | |
typedef ::xsd::cxx::tree::optional< tau_type > | tau_optional |
Attribute optional container type. | |
typedef ::xsd::cxx::tree::traits< tau_type, char > | tau_traits |
Attribute traits type. | |
const tau_optional & | tau () const |
Return a read-only (constant) reference to the attribute container. More... | |
tau_optional & | tau () |
Return a read-write reference to the attribute container. More... | |
void | tau (const tau_type &x) |
Set the attribute value. More... | |
void | tau (const tau_optional &x) |
Set the attribute value. More... | |
void | tau (::std::unique_ptr< tau_type > p) |
Set the attribute value without copying. More... | |
Constructors | |
HHTime (const type_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. | |
HHTime (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
HHTime (const HHTime &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual HHTime * | _clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
HHTime & | operator= (const HHTime &x) |
Copy assignment operator. More... | |
virtual | ~HHTime () |
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 HHTime schema type.
Definition at line 25701 of file NeuroML_v2.3.hxx.
neuroml2::HHTime::HHTime | ( | 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 28440 of file NeuroML_v2.3.cxx.
neuroml2::HHTime::HHTime | ( | const HHTime & | 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 28427 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 28507 of file NeuroML_v2.3.cxx.
HHTime::midpoint_optional & neuroml2::HHTime::midpoint | ( | ) |
Return a read-write reference to the attribute container.
Definition at line 5927 of file NeuroML_v2.3.cxx.
const HHTime::midpoint_optional & neuroml2::HHTime::midpoint | ( | ) | const |
Return a read-only (constant) reference to the attribute container.
Definition at line 5921 of file NeuroML_v2.3.cxx.
void neuroml2::HHTime::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 5945 of file NeuroML_v2.3.cxx.
void neuroml2::HHTime::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 5939 of file NeuroML_v2.3.cxx.
void neuroml2::HHTime::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 5933 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 28514 of file NeuroML_v2.3.cxx.
HHTime::rate_optional & neuroml2::HHTime::rate | ( | ) |
Return a read-write reference to the attribute container.
Definition at line 5897 of file NeuroML_v2.3.cxx.
const HHTime::rate_optional & neuroml2::HHTime::rate | ( | ) | const |
Return a read-only (constant) reference to the attribute container.
Definition at line 5891 of file NeuroML_v2.3.cxx.
void neuroml2::HHTime::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 5915 of file NeuroML_v2.3.cxx.
void neuroml2::HHTime::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 5909 of file NeuroML_v2.3.cxx.
void neuroml2::HHTime::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 5903 of file NeuroML_v2.3.cxx.
HHTime::scale_optional & neuroml2::HHTime::scale | ( | ) |
Return a read-write reference to the attribute container.
Definition at line 5957 of file NeuroML_v2.3.cxx.
const HHTime::scale_optional & neuroml2::HHTime::scale | ( | ) | const |
Return a read-only (constant) reference to the attribute container.
Definition at line 5951 of file NeuroML_v2.3.cxx.
void neuroml2::HHTime::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 5975 of file NeuroML_v2.3.cxx.
void neuroml2::HHTime::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 5969 of file NeuroML_v2.3.cxx.
void neuroml2::HHTime::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 5963 of file NeuroML_v2.3.cxx.
HHTime::tau_optional & neuroml2::HHTime::tau | ( | ) |
Return a read-write reference to the attribute container.
Definition at line 5987 of file NeuroML_v2.3.cxx.
const HHTime::tau_optional & neuroml2::HHTime::tau | ( | ) | const |
Return a read-only (constant) reference to the attribute container.
Definition at line 5981 of file NeuroML_v2.3.cxx.
void neuroml2::HHTime::tau | ( | ::std::unique_ptr< tau_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 6005 of file NeuroML_v2.3.cxx.
void neuroml2::HHTime::tau | ( | const tau_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 5999 of file NeuroML_v2.3.cxx.
void neuroml2::HHTime::tau | ( | const tau_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 5993 of file NeuroML_v2.3.cxx.
HHTime::type_type & neuroml2::HHTime::type | ( | ) |
Return a read-write reference to the attribute.
Definition at line 5873 of file NeuroML_v2.3.cxx.
const HHTime::type_type & neuroml2::HHTime::type | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 5867 of file NeuroML_v2.3.cxx.
void neuroml2::HHTime::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 5885 of file NeuroML_v2.3.cxx.
void neuroml2::HHTime::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 5879 of file NeuroML_v2.3.cxx.