NeuroML C++ API  2.3.0
C++ API for NeuroML 2
Public Types | Public Member Functions | List of all members
neuroml2::channelTypes Class Reference

Enumeration class corresponding to the channelTypes schema type. More...

#include <NeuroML_v2.3.hxx>

+ Inheritance diagram for neuroml2::channelTypes:
+ Collaboration diagram for neuroml2::channelTypes:

Public Types

enum  value { ionChannelPassive , ionChannelHH }
 Underlying enum type.
 

Public Member Functions

 channelTypes (value v)
 Create an instance from the underlying enum value. More...
 
 channelTypes (const char *v)
 Create an instance from a C string. More...
 
 channelTypes (const ::std::string &v)
 Create an instance from a string. More...
 
 channelTypes (const ::xml_schema::string &v)
 Create an instance from the base value. More...
 
 channelTypes (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 channelTypes (const ::xercesc::DOMAttr &a, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Create an instance from a DOM attribute. More...
 
 channelTypes (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...
 
 channelTypes (const channelTypes &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual channelTypes_clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 
channelTypesoperator= (value v)
 Assign the underlying enum value. More...
 
virtual operator value () const
 Implicit conversion operator to the underlying enum value. More...
 

Detailed Description

Enumeration class corresponding to the channelTypes schema type.

Definition at line 18017 of file NeuroML_v2.3.hxx.

Constructor & Destructor Documentation

◆ channelTypes() [1/8]

neuroml2::channelTypes::channelTypes ( value  v)

Create an instance from the underlying enum value.

Parameters
vA enum value.

Definition at line 3637 of file NeuroML_v2.3.cxx.

◆ channelTypes() [2/8]

neuroml2::channelTypes::channelTypes ( const char *  v)

Create an instance from a C string.

Parameters
vA string value.

Definition at line 3643 of file NeuroML_v2.3.cxx.

◆ channelTypes() [3/8]

neuroml2::channelTypes::channelTypes ( const ::std::string &  v)

Create an instance from a string.

Parameters
vA string value.

Definition at line 3649 of file NeuroML_v2.3.cxx.

◆ channelTypes() [4/8]

neuroml2::channelTypes::channelTypes ( const ::xml_schema::string v)

Create an instance from the base value.

Parameters
vA base value.

Definition at line 3655 of file NeuroML_v2.3.cxx.

◆ channelTypes() [5/8]

neuroml2::channelTypes::channelTypes ( const ::xercesc::DOMElement &  e,
::xml_schema::flags  f = 0,
::xml_schema::container c = 0 
)

Create an instance from a DOM element.

Parameters
eA DOM element to extract the data from.
fFlags to create the new instance with.
cA pointer to the object that will contain the new instance.

Definition at line 24808 of file NeuroML_v2.3.cxx.

◆ channelTypes() [6/8]

neuroml2::channelTypes::channelTypes ( const ::xercesc::DOMAttr &  a,
::xml_schema::flags  f = 0,
::xml_schema::container c = 0 
)

Create an instance from a DOM attribute.

Parameters
aA DOM attribute to extract the data from.
fFlags to create the new instance with.
cA pointer to the object that will contain the new instance.

Definition at line 24817 of file NeuroML_v2.3.cxx.

◆ channelTypes() [7/8]

neuroml2::channelTypes::channelTypes ( 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.

Parameters
sA string fragment to extract the data from.
eA pointer to DOM element containing the string fragment.
fFlags to create the new instance with.
cA pointer to the object that will contain the new instance.

Definition at line 24826 of file NeuroML_v2.3.cxx.

◆ channelTypes() [8/8]

neuroml2::channelTypes::channelTypes ( const channelTypes x,
::xml_schema::flags  f = 0,
::xml_schema::container c = 0 
)

Copy constructor.

Parameters
xAn instance to make a copy of.
fFlags to create the copy with.
cA pointer to the object that will contain the copy.

For polymorphic object models use the _clone function instead.

Definition at line 3661 of file NeuroML_v2.3.cxx.

Member Function Documentation

◆ _clone()

channelTypes * neuroml2::channelTypes::_clone ( ::xml_schema::flags  f = 0,
::xml_schema::container c = 0 
) const
virtual

Copy the instance polymorphically.

Parameters
fFlags to create the copy with.
cA pointer to the object that will contain the copy.
Returns
A pointer to the dynamically allocated 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 24836 of file NeuroML_v2.3.cxx.

◆ operator value()

virtual neuroml2::channelTypes::operator value ( ) const
inlinevirtual

Implicit conversion operator to the underlying enum value.

Returns
A enum value.

Definition at line 18140 of file NeuroML_v2.3.hxx.

◆ operator=()

channelTypes & neuroml2::channelTypes::operator= ( value  v)

Assign the underlying enum value.

Parameters
vA enum value.
Returns
A reference to the instance.

Definition at line 3669 of file NeuroML_v2.3.cxx.


The documentation for this class was generated from the following files: