vectorial::SpaceBase< SpaceType > Class Template Reference
Base class for vector valued space. More...
#include <vectorial.hh>
Public Types | |
| typedef VectorialElementType< typename SpaceType::type >::type | ElementType |
| typedef concepts::Scan< ElementType > | Scanner |
Public Member Functions | |
| virtual uint | dim () const |
| virtual const SpaceType * | get (const int a, const int b=0) const |
| Get a component. More... | |
| virtual void | insert (SpaceType &vdata, const int a=0, const int b=0) |
| Add a component. More... | |
| virtual uint | nelm () const |
| virtual void | put (SpaceType &spc, const int i=0, const int j=0) |
Insert a Space spc of one vectorial dimension to the next v-dimensional space (arguments i and j are ignored) More... | |
| void | rebuild () |
| Rebuilds the vectorial space from the scalar spaces. More... | |
| virtual Scanner * | scan () const |
| SpaceBase (const SpaceBase &spcb) | |
| SpaceBase (const uint vdim, const uint arrayWidth=0, std::string name="SpaceBase") | |
| uint | vdim () const |
| Returns number of components. More... | |
| virtual | ~SpaceBase () |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
Protected Attributes | |
| uint | idx_ |
| Index of the last added component. More... | |
| concepts::Array< SpaceType * > | vdata_ |
| Storage. More... | |
| uint | vdim_ |
| Number of components. More... | |
Private Member Functions | |
| void | buildElm_ (const SpaceType &spc, uint idx) |
Private Attributes | |
| uint | dim_ |
| concepts::Joiner< ElementType *, 1 > * | elm_ |
| std::string | name_ |
| Name of the class for output. More... | |
| uint | nelm_ |
Detailed Description
template<class SpaceType>
class vectorial::SpaceBase< SpaceType >
Base class for vector valued space.
Definition at line 426 of file vectorial.hh.
Member Typedef Documentation
◆ ElementType
| typedef VectorialElementType<typename SpaceType::type>::type vectorial::SpaceBase< SpaceType >::ElementType |
Definition at line 430 of file vectorial.hh.
◆ Scanner
| typedef concepts::Scan<ElementType> vectorial::SpaceBase< SpaceType >::Scanner |
Definition at line 451 of file vectorial.hh.
Constructor & Destructor Documentation
◆ SpaceBase() [1/2]
|
inline |
Definition at line 432 of file vectorial.hh.
◆ SpaceBase() [2/2]
|
inline |
Definition at line 440 of file vectorial.hh.
◆ ~SpaceBase()
|
virtual |
Member Function Documentation
◆ buildElm_()
|
private |
◆ dim()
|
inlinevirtual |
Definition at line 449 of file vectorial.hh.
◆ get()
|
inlinevirtualinherited |
Get a component.
Definition at line 74 of file vectorial.hh.
◆ info()
|
protectedvirtual |
◆ insert()
|
virtualinherited |
Add a component.
Definition at line 72 of file vectorial.hh.
◆ nelm()
|
inlinevirtual |
Definition at line 450 of file vectorial.hh.
◆ put()
|
virtual |
Insert a Space spc of one vectorial dimension to the next v-dimensional space (arguments i and j are ignored)
◆ rebuild()
| void vectorial::SpaceBase< SpaceType >::rebuild | ( | ) |
Rebuilds the vectorial space from the scalar spaces.
◆ scan()
|
virtual |
◆ vdim()
|
inlineinherited |
Returns number of components.
Definition at line 77 of file vectorial.hh.
Member Data Documentation
◆ dim_
|
private |
Definition at line 464 of file vectorial.hh.
◆ elm_
|
private |
Definition at line 465 of file vectorial.hh.
◆ idx_
|
protectedinherited |
Index of the last added component.
Definition at line 82 of file vectorial.hh.
◆ name_
|
private |
Name of the class for output.
Definition at line 467 of file vectorial.hh.
◆ nelm_
|
private |
Definition at line 464 of file vectorial.hh.
◆ vdata_
|
mutableprotectedinherited |
Storage.
Definition at line 84 of file vectorial.hh.
◆ vdim_
|
protectedinherited |
Number of components.
Definition at line 80 of file vectorial.hh.
The documentation for this class was generated from the following file:
- vectorial/vectorial.hh

