library: libRooFit #include "RooStringVar.h"

# RooStringVar

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

## class RooStringVar : public RooAbsString

| Inheritance Chart:
`TObject`
| <- | `TNamed`
`RooPrintable`
| <- | `RooAbsArg`
| <- | `RooAbsString`
| <- | `RooStringVar` |

        public:

                              RooStringVar()
                              RooStringVar(const char* name, const char* title, const char* value, Int_t size = 1024)
                              RooStringVar(const RooStringVar& other, const char* name = "0")
                      virtual ~RooStringVar()
               static TClass* Class()
             virtual TObject* clone(const char* newname) const
          virtual const char* getVal() const
              virtual TClass* IsA() const
               virtual Bool_t isFundamental() const
              virtual TString operator TString()
           virtual RooAbsArg& operator=(const char* newValue)
               virtual Bool_t readFromStream(istream& is, Bool_t compact, Bool_t verbose = kFALSE)
                 virtual void setVal(const char* newVal)
                 virtual void ShowMembers(TMemberInspector& insp, char* parent)
                 virtual void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)
                 virtual void writeToStream(ostream& os, Bool_t compact) const

### Data Members

## Class Description

RooStringVar(const char *name, const char *title, const char* value, Int_t size) : RooAbsString(name, title, size)

     Constructor with initial value

RooStringVar(const RooStringVar& other, const char* name) : RooAbsString(other, name)

     Copy constructor

~RooStringVar()

     Destructor

void setVal(const char* value)

     Set value to given TString

Bool_t readFromStream(istream& is, Bool_t compact, Bool_t verbose)

     Read object contents from given stream

void writeToStream(ostream& os, Bool_t /*compact*/) const

     Write object contents to given stream

### Inline Functions

            RooStringVar RooStringVar(const RooStringVar& other, const char* name = "0")
                TObject* clone(const char* newname) const
                 TString operator TString()
             const char* getVal() const
              RooAbsArg& operator=(const char* newValue)
                  Bool_t isFundamental() const
                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)

Last update: Tue Jun 28 18:15:20 2005
Copyright (c) 2000-2005, Regents of the University of California *