https://github.com/root-project/root
Raw File
Tip revision: e0fe70e2badff74d5c8d646a2b81a794b1b9df97 authored by Rene Brun on 29 September 2010, 09:37:56 UTC
Make version v5-27-06
Tip revision: e0fe70e
VPerson.h
/* -*- C++ -*- */
/*************************************************************************
 * Copyright(c) 1995~2005  Masaharu Goto (cint@pcroot.cern.ch)
 *
 * For the licensing terms see the file COPYING
 *
 ************************************************************************/

#ifndef VPERSON_H
#define VPERSON_H

#include "VString.h"
#include "VObject.h"

class VPerson : public VObject
{
public:
   VPerson();
   VPerson(const VPerson& x);
   VPerson(const char* nameIn, const char* syozokuIn);
   VPerson(const char* nameIn, int num);
   VPerson& operator=(const VPerson& x);
   ~VPerson();
   void set(const char* nameIn, const char* shozokuIn);

   const char* Name()
   {
      return name.String();
   }

   const char* Syozoku()
   {
      return syozoku.String();
   }

   void disp();

private:
   VString name;
   VString syozoku;
};

#endif // VPERSON_H
back to top