Class documentation of Concepts

Loading...
Searching...
No Matches
vectorial::SpaceBase< SpaceType > Class Template Reference

#include <vectorial.hh>

Inheritance diagram for vectorial::SpaceBase< SpaceType >:
vectorial::Vectorial< SpaceType >

Public Types

typedef VectorialElementType< typenameSpaceType::type >::type ElementType
 
typedef concepts::Scan< ElementType > Scanner
 

Public Member Functions

 SpaceBase (const uint vdim, const uint arrayWidth=0, std::string name="SpaceBase")
 
 SpaceBase (const SpaceBase &spcb)
 
virtual uint dim () const
 
virtual uint nelm () const
 
virtual Scannerscan () const
 
virtual void put (SpaceType &spc, const int i=0, const int j=0)
 
void rebuild ()
 Rebuilds the vectorial space from the scalar spaces.
 
virtual void insert (SpaceType &vdata, const int a=0, const int b=0)
 Add a component.
 
virtual const SpaceType * get (const int a, const int b=0) const
 Get a component.
 
uint vdim () const
 Returns number of components.
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 

Protected Attributes

uint vdim_
 Number of components.
 
uint idx_
 Index of the last added component.
 
concepts::Array< SpaceType * > vdata_
 Storage.
 

Detailed Description

template<class SpaceType>
class vectorial::SpaceBase< SpaceType >

Base class for vector valued space

Author
Kersten Schmidt, 2002

Definition at line 426 of file vectorial.hh.

Member Typedef Documentation

◆ ElementType

template<class SpaceType >
typedef VectorialElementType<typenameSpaceType::type>::type vectorial::SpaceBase< SpaceType >::ElementType

Definition at line 430 of file vectorial.hh.

◆ Scanner

template<class SpaceType >
typedef concepts::Scan<ElementType> vectorial::SpaceBase< SpaceType >::Scanner

Definition at line 451 of file vectorial.hh.

Constructor & Destructor Documentation

◆ SpaceBase() [1/2]

template<class SpaceType >
vectorial::SpaceBase< SpaceType >::SpaceBase ( const uint  vdim,
const uint  arrayWidth = 0,
std::string  name = "SpaceBase< SpaceType >" 
)
inline

Definition at line 432 of file vectorial.hh.

◆ SpaceBase() [2/2]

template<class SpaceType >
vectorial::SpaceBase< SpaceType >::SpaceBase ( const SpaceBase< SpaceType > &  spcb)
inline

Definition at line 440 of file vectorial.hh.

Member Function Documentation

◆ dim()

template<class SpaceType >
virtual uint vectorial::SpaceBase< SpaceType >::dim ( ) const
inlinevirtual

Definition at line 449 of file vectorial.hh.

◆ get()

virtual const SpaceType * vectorial::Vectorial< SpaceType >::get ( const int  a,
const int  b = 0 
) const
inlinevirtualinherited

Get a component.

Definition at line 74 of file vectorial.hh.

◆ insert()

void vectorial::Vectorial< SpaceType >::insert ( SpaceType &  vdata,
const int  a = 0,
const int  b = 0 
)
virtualinherited

Add a component.

Definition at line 72 of file vectorial.hh.

◆ nelm()

template<class SpaceType >
virtual uint vectorial::SpaceBase< SpaceType >::nelm ( ) const
inlinevirtual

Definition at line 450 of file vectorial.hh.

◆ put()

template<class SpaceType >
virtual void vectorial::SpaceBase< SpaceType >::put ( SpaceType &  spc,
const int  i = 0,
const int  j = 0 
)
virtual

Insert a Space spc of one vectorial dimension to the next v-dimensional space (arguments i and j are ignored)

◆ vdim()

uint vectorial::Vectorial< SpaceType >::vdim ( ) const
inlineinherited

Returns number of components.

Definition at line 77 of file vectorial.hh.

Member Data Documentation

◆ idx_

uint vectorial::Vectorial< SpaceType >::idx_
protectedinherited

Index of the last added component.

Definition at line 82 of file vectorial.hh.

◆ vdata_

concepts::Array<SpaceType *> vectorial::Vectorial< SpaceType >::vdata_
mutableprotectedinherited

Storage.

Definition at line 84 of file vectorial.hh.

◆ vdim_

uint vectorial::Vectorial< SpaceType >::vdim_
protectedinherited

Number of components.

Definition at line 80 of file vectorial.hh.


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