ROOT logo
ROOT » HIST » HIST » TFitResultPtr

class TFitResultPtr

Function Members (Methods)

public:
TFitResultPtr(int status = -1)
TFitResultPtr(TFitResult* p)
TFitResultPtr(const TFitResultPtr& rhs)
virtual~TFitResultPtr()
static TClass*Class()
TFitResult*Get() const
virtual TClass*IsA() const
intoperator int() const
TFitResult&operator*() const
TFitResult*operator->() const
TFitResultPtr&operator=(const TFitResultPtr& rhs)
virtual voidShowMembers(TMemberInspector& insp)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

private:
TFitResult*fPointerSmart Pointer to TFitResult class
intfStatusfit status code

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TFitResultPtr(TFitResult* p)
 constructor from a TFitResult pointer
TFitResultPtr(const TFitResultPtr& rhs)
 copy constructor - create a new TFitResult if needed
~TFitResultPtr()
 destructor - delete the contained TFitResult pointer if needed
TFitResult& operator*() const
 implement the de-reference operator to make the class acts as a pointer to a TFitResult
 assert in case the class does not contain a pointer to TFitResult
TFitResult* operator->() const
 implement the -> operator to make the class acts as a pointer to a TFitResult
 assert in case the class does not contain a pointer to TFitResult
TFitResultPtr & operator=(const TFitResultPtr& rhs)
 assignment operator
 if needed copy the TFitResult  object and delete previous one if existing
TFitResultPtr(int status = -1)
{}
operator int() const
{ return fStatus; }
TFitResult* Get() const
{ return fPointer; }