![]() |
NeuroML C++ API
2.3.0
C++ API for NeuroML 2
|
Class corresponding to the BaseConnectionOldFormat schema type. More...
#include <NeuroML_v2.3.hxx>
preCellId | |
Accessor and modifier functions for the preCellId required attribute. | |
typedef ::neuroml2::Nml2PopulationReferencePath | preCellId_type |
Attribute type. | |
typedef ::xsd::cxx::tree::traits< preCellId_type, char > | preCellId_traits |
Attribute traits type. | |
const preCellId_type & | preCellId () const |
Return a read-only (constant) reference to the attribute. More... | |
preCellId_type & | preCellId () |
Return a read-write reference to the attribute. More... | |
void | preCellId (const preCellId_type &x) |
Set the attribute value. More... | |
void | preCellId (::std::unique_ptr< preCellId_type > p) |
Set the attribute value without copying. More... | |
preSegmentId | |
Accessor and modifier functions for the preSegmentId optional attribute with a default value. | |
typedef ::neuroml2::NonNegativeInteger | preSegmentId_type |
Attribute type. | |
typedef ::xsd::cxx::tree::traits< preSegmentId_type, char > | preSegmentId_traits |
Attribute traits type. | |
const preSegmentId_type & | preSegmentId () const |
Return a read-only (constant) reference to the attribute. More... | |
preSegmentId_type & | preSegmentId () |
Return a read-write reference to the attribute. More... | |
void | preSegmentId (const preSegmentId_type &x) |
Set the attribute value. More... | |
void | preSegmentId (::std::unique_ptr< preSegmentId_type > p) |
Set the attribute value without copying. More... | |
static preSegmentId_type | preSegmentId_default_value () |
Return the default value for the attribute. More... | |
preFractionAlong | |
Accessor and modifier functions for the preFractionAlong optional attribute with a default value. | |
typedef ::neuroml2::ZeroToOne | preFractionAlong_type |
Attribute type. | |
typedef ::xsd::cxx::tree::traits< preFractionAlong_type, char > | preFractionAlong_traits |
Attribute traits type. | |
const preFractionAlong_type & | preFractionAlong () const |
Return a read-only (constant) reference to the attribute. More... | |
preFractionAlong_type & | preFractionAlong () |
Return a read-write reference to the attribute. More... | |
void | preFractionAlong (const preFractionAlong_type &x) |
Set the attribute value. More... | |
void | preFractionAlong (::std::unique_ptr< preFractionAlong_type > p) |
Set the attribute value without copying. More... | |
static preFractionAlong_type | preFractionAlong_default_value () |
Return the default value for the attribute. More... | |
postCellId | |
Accessor and modifier functions for the postCellId required attribute. | |
typedef ::neuroml2::Nml2PopulationReferencePath | postCellId_type |
Attribute type. | |
typedef ::xsd::cxx::tree::traits< postCellId_type, char > | postCellId_traits |
Attribute traits type. | |
const postCellId_type & | postCellId () const |
Return a read-only (constant) reference to the attribute. More... | |
postCellId_type & | postCellId () |
Return a read-write reference to the attribute. More... | |
void | postCellId (const postCellId_type &x) |
Set the attribute value. More... | |
void | postCellId (::std::unique_ptr< postCellId_type > p) |
Set the attribute value without copying. More... | |
postSegmentId | |
Accessor and modifier functions for the postSegmentId optional attribute with a default value. | |
typedef ::neuroml2::NonNegativeInteger | postSegmentId_type |
Attribute type. | |
typedef ::xsd::cxx::tree::traits< postSegmentId_type, char > | postSegmentId_traits |
Attribute traits type. | |
const postSegmentId_type & | postSegmentId () const |
Return a read-only (constant) reference to the attribute. More... | |
postSegmentId_type & | postSegmentId () |
Return a read-write reference to the attribute. More... | |
void | postSegmentId (const postSegmentId_type &x) |
Set the attribute value. More... | |
void | postSegmentId (::std::unique_ptr< postSegmentId_type > p) |
Set the attribute value without copying. More... | |
static postSegmentId_type | postSegmentId_default_value () |
Return the default value for the attribute. More... | |
postFractionAlong | |
Accessor and modifier functions for the postFractionAlong optional attribute with a default value. | |
typedef ::neuroml2::ZeroToOne | postFractionAlong_type |
Attribute type. | |
typedef ::xsd::cxx::tree::traits< postFractionAlong_type, char > | postFractionAlong_traits |
Attribute traits type. | |
const postFractionAlong_type & | postFractionAlong () const |
Return a read-only (constant) reference to the attribute. More... | |
postFractionAlong_type & | postFractionAlong () |
Return a read-write reference to the attribute. More... | |
void | postFractionAlong (const postFractionAlong_type &x) |
Set the attribute value. More... | |
void | postFractionAlong (::std::unique_ptr< postFractionAlong_type > p) |
Set the attribute value without copying. More... | |
static postFractionAlong_type | postFractionAlong_default_value () |
Return the default value for the attribute. More... | |
Constructors | |
BaseConnectionOldFormat (const id_type &, const preCellId_type &, const postCellId_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. | |
BaseConnectionOldFormat (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
BaseConnectionOldFormat (const BaseConnectionOldFormat &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual BaseConnectionOldFormat * | _clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
BaseConnectionOldFormat & | operator= (const BaseConnectionOldFormat &x) |
Copy assignment operator. More... | |
virtual | ~BaseConnectionOldFormat () |
Destructor. | |
Additional Inherited Members | |
![]() | |
typedef ::neuroml2::NeuroLexId | neuroLexId_type |
Attribute type. | |
typedef ::xsd::cxx::tree::optional< neuroLexId_type > | neuroLexId_optional |
Attribute optional container type. | |
typedef ::xsd::cxx::tree::traits< neuroLexId_type, char > | neuroLexId_traits |
Attribute traits type. | |
![]() | |
typedef ::neuroml2::NonNegativeInteger | id_type |
Attribute type. | |
typedef ::xsd::cxx::tree::traits< id_type, char > | id_traits |
Attribute traits type. | |
![]() | |
const neuroLexId_optional & | neuroLexId () const |
Return a read-only (constant) reference to the attribute container. More... | |
neuroLexId_optional & | neuroLexId () |
Return a read-write reference to the attribute container. More... | |
void | neuroLexId (const neuroLexId_type &x) |
Set the attribute value. More... | |
void | neuroLexId (const neuroLexId_optional &x) |
Set the attribute value. More... | |
void | neuroLexId (::std::unique_ptr< neuroLexId_type > p) |
Set the attribute value without copying. More... | |
BaseConnection (const id_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. | |
BaseConnection (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
BaseConnection (const BaseConnection &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Copy constructor. More... | |
BaseConnection & | operator= (const BaseConnection &x) |
Copy assignment operator. More... | |
virtual | ~BaseConnection () |
Destructor. | |
![]() | |
const id_type & | id () const |
Return a read-only (constant) reference to the attribute. More... | |
id_type & | id () |
Return a read-write reference to the attribute. More... | |
void | id (const id_type &x) |
Set the attribute value. More... | |
void | id (::std::unique_ptr< id_type > p) |
Set the attribute value without copying. More... | |
BaseNonNegativeIntegerId (const id_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. | |
BaseNonNegativeIntegerId (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
BaseNonNegativeIntegerId (const BaseNonNegativeIntegerId &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Copy constructor. More... | |
BaseNonNegativeIntegerId & | operator= (const BaseNonNegativeIntegerId &x) |
Copy assignment operator. More... | |
virtual | ~BaseNonNegativeIntegerId () |
Destructor. | |
![]() | |
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 BaseConnectionOldFormat schema type.
Base of all synaptic connections with preCellId, postSegmentId, etc. Note: this is not the best name for these attributes, since Id is superfluous, hence BaseConnectionNewFormat
Definition at line 62399 of file NeuroML_v2.3.hxx.
neuroml2::BaseConnectionOldFormat::BaseConnectionOldFormat | ( | 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 45549 of file NeuroML_v2.3.cxx.
neuroml2::BaseConnectionOldFormat::BaseConnectionOldFormat | ( | const BaseConnectionOldFormat & | 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 45535 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::BaseConnection.
Reimplemented in neuroml2::Connection, neuroml2::ConnectionWD, and neuroml2::Connection_base.
Definition at line 45654 of file NeuroML_v2.3.cxx.
BaseConnectionOldFormat & neuroml2::BaseConnectionOldFormat::operator= | ( | const BaseConnectionOldFormat & | x | ) |
Copy assignment operator.
x | An instance to make a copy of. |
For polymorphic object models use the _clone
function instead.
Definition at line 45661 of file NeuroML_v2.3.cxx.
BaseConnectionOldFormat::postCellId_type & neuroml2::BaseConnectionOldFormat::postCellId | ( | ) |
Return a read-write reference to the attribute.
Definition at line 15699 of file NeuroML_v2.3.cxx.
const BaseConnectionOldFormat::postCellId_type & neuroml2::BaseConnectionOldFormat::postCellId | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 15693 of file NeuroML_v2.3.cxx.
void neuroml2::BaseConnectionOldFormat::postCellId | ( | ::std::unique_ptr< postCellId_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 15711 of file NeuroML_v2.3.cxx.
void neuroml2::BaseConnectionOldFormat::postCellId | ( | const postCellId_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 15705 of file NeuroML_v2.3.cxx.
BaseConnectionOldFormat::postFractionAlong_type & neuroml2::BaseConnectionOldFormat::postFractionAlong | ( | ) |
Return a read-write reference to the attribute.
Definition at line 15753 of file NeuroML_v2.3.cxx.
const BaseConnectionOldFormat::postFractionAlong_type & neuroml2::BaseConnectionOldFormat::postFractionAlong | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 15747 of file NeuroML_v2.3.cxx.
void neuroml2::BaseConnectionOldFormat::postFractionAlong | ( | ::std::unique_ptr< postFractionAlong_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 15765 of file NeuroML_v2.3.cxx.
void neuroml2::BaseConnectionOldFormat::postFractionAlong | ( | const postFractionAlong_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 15759 of file NeuroML_v2.3.cxx.
|
static |
Return the default value for the attribute.
Definition at line 15771 of file NeuroML_v2.3.cxx.
BaseConnectionOldFormat::postSegmentId_type & neuroml2::BaseConnectionOldFormat::postSegmentId | ( | ) |
Return a read-write reference to the attribute.
Definition at line 15723 of file NeuroML_v2.3.cxx.
const BaseConnectionOldFormat::postSegmentId_type & neuroml2::BaseConnectionOldFormat::postSegmentId | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 15717 of file NeuroML_v2.3.cxx.
void neuroml2::BaseConnectionOldFormat::postSegmentId | ( | ::std::unique_ptr< postSegmentId_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 15735 of file NeuroML_v2.3.cxx.
void neuroml2::BaseConnectionOldFormat::postSegmentId | ( | const postSegmentId_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 15729 of file NeuroML_v2.3.cxx.
|
static |
Return the default value for the attribute.
Definition at line 15741 of file NeuroML_v2.3.cxx.
BaseConnectionOldFormat::preCellId_type & neuroml2::BaseConnectionOldFormat::preCellId | ( | ) |
Return a read-write reference to the attribute.
Definition at line 15615 of file NeuroML_v2.3.cxx.
const BaseConnectionOldFormat::preCellId_type & neuroml2::BaseConnectionOldFormat::preCellId | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 15609 of file NeuroML_v2.3.cxx.
void neuroml2::BaseConnectionOldFormat::preCellId | ( | ::std::unique_ptr< preCellId_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 15627 of file NeuroML_v2.3.cxx.
void neuroml2::BaseConnectionOldFormat::preCellId | ( | const preCellId_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 15621 of file NeuroML_v2.3.cxx.
BaseConnectionOldFormat::preFractionAlong_type & neuroml2::BaseConnectionOldFormat::preFractionAlong | ( | ) |
Return a read-write reference to the attribute.
Definition at line 15669 of file NeuroML_v2.3.cxx.
const BaseConnectionOldFormat::preFractionAlong_type & neuroml2::BaseConnectionOldFormat::preFractionAlong | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 15663 of file NeuroML_v2.3.cxx.
void neuroml2::BaseConnectionOldFormat::preFractionAlong | ( | ::std::unique_ptr< preFractionAlong_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 15681 of file NeuroML_v2.3.cxx.
void neuroml2::BaseConnectionOldFormat::preFractionAlong | ( | const preFractionAlong_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 15675 of file NeuroML_v2.3.cxx.
|
static |
Return the default value for the attribute.
Definition at line 15687 of file NeuroML_v2.3.cxx.
BaseConnectionOldFormat::preSegmentId_type & neuroml2::BaseConnectionOldFormat::preSegmentId | ( | ) |
Return a read-write reference to the attribute.
Definition at line 15639 of file NeuroML_v2.3.cxx.
const BaseConnectionOldFormat::preSegmentId_type & neuroml2::BaseConnectionOldFormat::preSegmentId | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 15633 of file NeuroML_v2.3.cxx.
void neuroml2::BaseConnectionOldFormat::preSegmentId | ( | ::std::unique_ptr< preSegmentId_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 15651 of file NeuroML_v2.3.cxx.
void neuroml2::BaseConnectionOldFormat::preSegmentId | ( | const preSegmentId_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 15645 of file NeuroML_v2.3.cxx.
|
static |
Return the default value for the attribute.
Definition at line 15657 of file NeuroML_v2.3.cxx.