library: libFoam
#include "TFoamVect.h"

TFoamVect


class description - source file - inheritance tree (.pdf)

class TFoamVect : public TObject

Inheritance Chart:
TObject
<-
TFoamVect

    public:
TFoamVect() TFoamVect(Int_t) TFoamVect(const TFoamVect&) TFoamVect operator+(const TFoamVect&) TFoamVect operator-(const TFoamVect&) virtual ~TFoamVect() static TClass* Class() Double_t GetCoord(Int_t i) const Int_t GetDim() const virtual TClass* IsA() const TFoamVect& operator*=(const Double_t&) TFoamVect& operator+=(const TFoamVect&) TFoamVect& operator-=(const TFoamVect&) TFoamVect& operator=(const TFoamVect&) TFoamVect& operator=(Double_t*) TFoamVect& operator=(Double_t) Double_t& operator[](Int_t) virtual void Print(Option_t* option) const void PrintList() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Int_t fDim Dimension Double_t* fCoords [fDim] Coordinates TFoamVect* fNext pointer for tree construction TFoamVect* fPrev pointer for tree construction

Class Description

                                                                            
 Auxiliary class TFoamVect of n-dimensional vector, with dynamic allocation 
 used for the cartesian geometry of the TFoam  cells                        
                                                                            
_____________________________________________________________________________

TFoamVect()
 Default constructor for streamer

TFoamVect(Int_t n)
 User constructor creating n-dimensional vector
 and allocating dynamically array of components

TFoamVect(const TFoamVect &Vect): TObject(Vect)
 Copy constructor

~TFoamVect()
 Destructor

void Print(Option_t *option) const
 Printout of all vector components on "cout"

void PrintList(void)
 Printout of all member vectors in the list starting from "this"



Inline Functions


         TFoamVect& operator=(const TFoamVect&)
          Double_t& operator[](Int_t)
         TFoamVect& operator=(Double_t*)
         TFoamVect& operator=(Double_t)
         TFoamVect& operator+=(const TFoamVect&)
         TFoamVect& operator-=(const TFoamVect&)
         TFoamVect& operator*=(const Double_t&)
          TFoamVect operator+(const TFoamVect&)
          TFoamVect operator-(const TFoamVect&)
              Int_t GetDim() const
           Double_t GetCoord(Int_t i) const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Author: S. Jadach, P.Sawicki
Last update: root/foam:$Name: $:$Id: TFoamVect.cxx,v 1.9 2005/09/04 09:02:06 brun Exp $


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.