![]() |
NeuroML C++ API
2.3.0
C++ API for NeuroML 2
|
Class corresponding to the InputList schema type. More...
#include <NeuroML_v2.3.hxx>
input | |
Accessor and modifier functions for the input sequence element. | |
typedef ::neuroml2::Input | input_type |
Element type. | |
typedef ::xsd::cxx::tree::sequence< input_type > | input_sequence |
Element sequence container type. | |
typedef input_sequence::iterator | input_iterator |
Element iterator type. | |
typedef input_sequence::const_iterator | input_const_iterator |
Element constant iterator type. | |
typedef ::xsd::cxx::tree::traits< input_type, char > | input_traits |
Element traits type. | |
const input_sequence & | input () const |
Return a read-only (constant) reference to the element sequence. More... | |
input_sequence & | input () |
Return a read-write reference to the element sequence. More... | |
void | input (const input_sequence &s) |
Copy elements from a given sequence. More... | |
inputW | |
Accessor and modifier functions for the inputW sequence element. | |
typedef ::neuroml2::InputW | inputW_type |
Element type. | |
typedef ::xsd::cxx::tree::sequence< inputW_type > | inputW_sequence |
Element sequence container type. | |
typedef inputW_sequence::iterator | inputW_iterator |
Element iterator type. | |
typedef inputW_sequence::const_iterator | inputW_const_iterator |
Element constant iterator type. | |
typedef ::xsd::cxx::tree::traits< inputW_type, char > | inputW_traits |
Element traits type. | |
const inputW_sequence & | inputW () const |
Return a read-only (constant) reference to the element sequence. More... | |
inputW_sequence & | inputW () |
Return a read-write reference to the element sequence. More... | |
void | inputW (const inputW_sequence &s) |
Copy elements from a given sequence. More... | |
population | |
Accessor and modifier functions for the population required attribute. | |
typedef ::neuroml2::NmlId | population_type |
Attribute type. | |
typedef ::xsd::cxx::tree::traits< population_type, char > | population_traits |
Attribute traits type. | |
const population_type & | population () const |
Return a read-only (constant) reference to the attribute. More... | |
population_type & | population () |
Return a read-write reference to the attribute. More... | |
void | population (const population_type &x) |
Set the attribute value. More... | |
void | population (::std::unique_ptr< population_type > p) |
Set the attribute value without copying. More... | |
component | |
Accessor and modifier functions for the component required attribute. | |
typedef ::neuroml2::NmlId | component_type |
Attribute type. | |
typedef ::xsd::cxx::tree::traits< component_type, char > | component_traits |
Attribute traits type. | |
const component_type & | component () const |
Return a read-only (constant) reference to the attribute. More... | |
component_type & | component () |
Return a read-write reference to the attribute. More... | |
void | component (const component_type &x) |
Set the attribute value. More... | |
void | component (::std::unique_ptr< component_type > p) |
Set the attribute value without copying. More... | |
Constructors | |
InputList (const id_type &, const population_type &, const component_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. | |
InputList (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
InputList (const InputList &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual InputList * | _clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
InputList & | operator= (const InputList &x) |
Copy assignment operator. More... | |
virtual | ~InputList () |
Destructor. | |
Additional Inherited Members | |
![]() | |
typedef ::neuroml2::NmlId | id_type |
Attribute type. | |
typedef ::xsd::cxx::tree::traits< id_type, char > | id_traits |
Attribute traits type. | |
![]() | |
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... | |
Base (const id_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. | |
Base (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
Base (const Base &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0) | |
Copy constructor. More... | |
Base & | operator= (const Base &x) |
Copy assignment operator. More... | |
virtual | ~Base () |
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 InputList schema type.
An explicit list of input s to a population.
Definition at line 65446 of file NeuroML_v2.3.hxx.
neuroml2::InputList::InputList | ( | 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 47087 of file NeuroML_v2.3.cxx.
neuroml2::InputList::InputList | ( | const InputList & | 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 47075 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::Base.
Definition at line 47177 of file NeuroML_v2.3.cxx.
InputList::component_type & neuroml2::InputList::component | ( | ) |
Return a read-write reference to the attribute.
Definition at line 16399 of file NeuroML_v2.3.cxx.
const InputList::component_type & neuroml2::InputList::component | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 16393 of file NeuroML_v2.3.cxx.
void neuroml2::InputList::component | ( | ::std::unique_ptr< component_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 16411 of file NeuroML_v2.3.cxx.
void neuroml2::InputList::component | ( | const component_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 16405 of file NeuroML_v2.3.cxx.
InputList::input_sequence & neuroml2::InputList::input | ( | ) |
Return a read-write reference to the element sequence.
Definition at line 16339 of file NeuroML_v2.3.cxx.
const InputList::input_sequence & neuroml2::InputList::input | ( | ) | const |
Return a read-only (constant) reference to the element sequence.
Definition at line 16333 of file NeuroML_v2.3.cxx.
void neuroml2::InputList::input | ( | const input_sequence & | s | ) |
Copy elements from a given sequence.
s | A sequence to copy elements from. |
For each element in s this function makes a copy and adds it to the sequence. Note that this operation completely changes the sequence and all old elements will be lost.
Definition at line 16345 of file NeuroML_v2.3.cxx.
InputList::inputW_sequence & neuroml2::InputList::inputW | ( | ) |
Return a read-write reference to the element sequence.
Definition at line 16357 of file NeuroML_v2.3.cxx.
const InputList::inputW_sequence & neuroml2::InputList::inputW | ( | ) | const |
Return a read-only (constant) reference to the element sequence.
Definition at line 16351 of file NeuroML_v2.3.cxx.
void neuroml2::InputList::inputW | ( | const inputW_sequence & | s | ) |
Copy elements from a given sequence.
s | A sequence to copy elements from. |
For each element in s this function makes a copy and adds it to the sequence. Note that this operation completely changes the sequence and all old elements will be lost.
Definition at line 16363 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 47184 of file NeuroML_v2.3.cxx.
InputList::population_type & neuroml2::InputList::population | ( | ) |
Return a read-write reference to the attribute.
Definition at line 16375 of file NeuroML_v2.3.cxx.
const InputList::population_type & neuroml2::InputList::population | ( | ) | const |
Return a read-only (constant) reference to the attribute.
Definition at line 16369 of file NeuroML_v2.3.cxx.
void neuroml2::InputList::population | ( | ::std::unique_ptr< population_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 16387 of file NeuroML_v2.3.cxx.
void neuroml2::InputList::population | ( | const population_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 16381 of file NeuroML_v2.3.cxx.