PandaRoot
PndDocuSample.h
Go to the documentation of this file.
1 #ifndef PNDDOCUSAMPLE_H
2 #define PNDDOCUSAMPLE_H
3 
4 #include <string>
5 
6 #include "TObject.h"
7 
83  public:
87  PndDocuSample();
96  PndDocuSample(std::string _s, int _i);
97  ~PndDocuSample();
98 
111  void SetString(std::string _s) { fString = _s; };
118  void SetNumber(int _i) { fNumber = _i; };
119 
124  std::string GetString() { return fString; };
129  int GetNumber() { return fNumber; };
130 
135  void PrintValues();
136  void AddString();
137  void SquareNumber();
138 
139  private:
140  bool fInitialized;
141 
147  std::string fString;
148  int fNumber;
149  Int_t fTransient;
150  // As long as CLASSIMP is not set, the ClassDef() and ClassImp() macros are excluded from the documentation
152  ClassDef(PndDocuSample, 1);
153 
154 };
155 
156 #endif // PNDDOCUSAMPLE_H
PndDocuSample()
Default constructor does not need much of a description.
void PrintValues()
You can either document in the header file...
void SetString(std::string _s)
Set the string.
void SquareNumber()
Documentation Sample Class.
Definition: PndDocuSample.h:82
void AddString()
~PndDocuSample()
Default destructor.
int GetNumber()
Return the current number.
std::string GetString()
Returns the current string.
void SetNumber(int _i)
Set the number.