NeuroML C++ API  2.3.0
C++ API for NeuroML 2
List of all members
neuroml2::GridLayout Class Reference

Class corresponding to the GridLayout schema type. More...

#include <NeuroML_v2.3.hxx>

+ Inheritance diagram for neuroml2::GridLayout:
+ Collaboration diagram for neuroml2::GridLayout:

xSize

Accessor and modifier functions for the xSize optional attribute.

typedef ::xml_schema::non_negative_integer xSize_type
 Attribute type.
 
typedef ::xsd::cxx::tree::optional< xSize_typexSize_optional
 Attribute optional container type.
 
typedef ::xsd::cxx::tree::traits< xSize_type, char > xSize_traits
 Attribute traits type.
 
const xSize_optionalxSize () const
 Return a read-only (constant) reference to the attribute container. More...
 
xSize_optionalxSize ()
 Return a read-write reference to the attribute container. More...
 
void xSize (const xSize_type &x)
 Set the attribute value. More...
 
void xSize (const xSize_optional &x)
 Set the attribute value. More...
 

ySize

Accessor and modifier functions for the ySize optional attribute.

typedef ::xml_schema::non_negative_integer ySize_type
 Attribute type.
 
typedef ::xsd::cxx::tree::optional< ySize_typeySize_optional
 Attribute optional container type.
 
typedef ::xsd::cxx::tree::traits< ySize_type, char > ySize_traits
 Attribute traits type.
 
const ySize_optionalySize () const
 Return a read-only (constant) reference to the attribute container. More...
 
ySize_optionalySize ()
 Return a read-write reference to the attribute container. More...
 
void ySize (const ySize_type &x)
 Set the attribute value. More...
 
void ySize (const ySize_optional &x)
 Set the attribute value. More...
 

zSize

Accessor and modifier functions for the zSize optional attribute.

typedef ::xml_schema::non_negative_integer zSize_type
 Attribute type.
 
typedef ::xsd::cxx::tree::optional< zSize_typezSize_optional
 Attribute optional container type.
 
typedef ::xsd::cxx::tree::traits< zSize_type, char > zSize_traits
 Attribute traits type.
 
const zSize_optionalzSize () const
 Return a read-only (constant) reference to the attribute container. More...
 
zSize_optionalzSize ()
 Return a read-write reference to the attribute container. More...
 
void zSize (const zSize_type &x)
 Set the attribute value. More...
 
void zSize (const zSize_optional &x)
 Set the attribute value. More...
 

Constructors

 GridLayout ()
 Create an instance from the ultimate base and initializers for required elements and attributes.
 
 GridLayout (const ::xercesc::DOMElement &e, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 GridLayout (const GridLayout &x, ::xml_schema::flags f=0, ::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual GridLayout_clone (::xml_schema::flags f=0, ::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 
GridLayoutoperator= (const GridLayout &x)
 Copy assignment operator. More...
 
virtual ~GridLayout ()
 Destructor.
 

Additional Inherited Members

- Public Member Functions inherited from neuroml2::BaseWithoutId
 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.
 

Detailed Description

Class corresponding to the GridLayout schema type.

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

Constructor & Destructor Documentation

◆ GridLayout() [1/2]

neuroml2::GridLayout::GridLayout ( 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 44449 of file NeuroML_v2.3.cxx.

◆ GridLayout() [2/2]

neuroml2::GridLayout::GridLayout ( const GridLayout 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 44438 of file NeuroML_v2.3.cxx.

Member Function Documentation

◆ _clone()

GridLayout * neuroml2::GridLayout::_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.

Reimplemented from neuroml2::BaseWithoutId.

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

◆ operator=()

GridLayout & neuroml2::GridLayout::operator= ( const GridLayout x)

Copy assignment operator.

Parameters
xAn instance to make a copy of.
Returns
A reference to itself.

For polymorphic object models use the _clone function instead.

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

◆ xSize() [1/4]

GridLayout::xSize_optional & neuroml2::GridLayout::xSize ( )

Return a read-write reference to the attribute container.

Returns
A reference to the optional container.

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

◆ xSize() [2/4]

const GridLayout::xSize_optional & neuroml2::GridLayout::xSize ( ) const

Return a read-only (constant) reference to the attribute container.

Returns
A constant reference to the optional container.

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

◆ xSize() [3/4]

void neuroml2::GridLayout::xSize ( const xSize_optional x)

Set the attribute value.

Parameters
xAn 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 15055 of file NeuroML_v2.3.cxx.

◆ xSize() [4/4]

void neuroml2::GridLayout::xSize ( const xSize_type x)

Set the attribute value.

Parameters
xA 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 15049 of file NeuroML_v2.3.cxx.

◆ ySize() [1/4]

GridLayout::ySize_optional & neuroml2::GridLayout::ySize ( )

Return a read-write reference to the attribute container.

Returns
A reference to the optional container.

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

◆ ySize() [2/4]

const GridLayout::ySize_optional & neuroml2::GridLayout::ySize ( ) const

Return a read-only (constant) reference to the attribute container.

Returns
A constant reference to the optional container.

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

◆ ySize() [3/4]

void neuroml2::GridLayout::ySize ( const ySize_optional x)

Set the attribute value.

Parameters
xAn 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 15079 of file NeuroML_v2.3.cxx.

◆ ySize() [4/4]

void neuroml2::GridLayout::ySize ( const ySize_type x)

Set the attribute value.

Parameters
xA 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 15073 of file NeuroML_v2.3.cxx.

◆ zSize() [1/4]

GridLayout::zSize_optional & neuroml2::GridLayout::zSize ( )

Return a read-write reference to the attribute container.

Returns
A reference to the optional container.

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

◆ zSize() [2/4]

const GridLayout::zSize_optional & neuroml2::GridLayout::zSize ( ) const

Return a read-only (constant) reference to the attribute container.

Returns
A constant reference to the optional container.

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

◆ zSize() [3/4]

void neuroml2::GridLayout::zSize ( const zSize_optional x)

Set the attribute value.

Parameters
xAn 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 15103 of file NeuroML_v2.3.cxx.

◆ zSize() [4/4]

void neuroml2::GridLayout::zSize ( const zSize_type x)

Set the attribute value.

Parameters
xA 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 15097 of file NeuroML_v2.3.cxx.


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