Re: [ROOT] Dictionary Generation

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu May 29 2003 - 22:38:17 MEST


Hi Paolo,

Your class contains data members of type void*.
rootcint has no way to generate code for I/O for this data type.
I assume that you are not interested by making these members
persistent. You can declare a transient member by adding
a character "!" as the first character in the data member
comment field, eg:

  void *iterator;         //!
  void *partition;        //!
  void *fEventDataStatus; //!
  void *TC_monitoring;    //!
  void *TC_factory;       //!


Rene Brun

On Thu, 29 
May 2003, Paolo 
ADRAGNA wrote:

> 
> Hello everyone,
> 
> compiling a class with a makefile I get this error messages
> 
> Generating dictionary TC_ConsumerDict.cpp... 
> Error: *** Datamember TC_Consumer::iterator: no size indication!
> Error: *** Datamember TC_Consumer::iterator: pointer to fundamental type 
> (need manual intervention)
> Error: *** Datamember TC_Consumer::partition: no size indication!
> Error: *** Datamember TC_Consumer::partition: pointer to fundamental type 
> (need manual intervention)
> Error: *** Datamember TC_Consumer::fEventDataStatus: no size indication!
> Error: *** Datamember TC_Consumer::fEventDataStatus: pointer to 
> fundamental type (need manual intervention)
> Error: *** Datamember TC_Consumer::TC_monitoring: no size indication!
> Error: *** Datamember TC_Consumer::TC_monitoring: pointer to fundamental 
> type (need manual intervention)
> Error: *** Datamember TC_Consumer::TC_factory: no size indication!
> Error: *** Datamember TC_Consumer::TC_factory: pointer to fundamental type 
> (need manual intervention)
> 
> The compilation seems to end normally, except for this bunch of errors.
> Any idea of I could get rid of it?
> Here is my header file:
> 
> 
> #ifndef TC_CONSUMER_H
> #define TC_CONSUMER_H
> 
> #include <Rtypes.h>
> 
> class TC_Consumer
> {
>   private:
> 	
>   void *iterator;
>   void *partition;
>   void *fEventDataStatus;
>   void *TC_monitoring;
>   void *TC_factory;
>   
>   public:
>   
>   TC_Consumer(const char *partition_name,const char *detector, const char* 
> crate, const char* module);
>   virtual ~TC_Consumer();		
>   
>   int StatusOK();
>   unsigned int *GetNewEvent();
>   
>   void *ReturnISStatus() {return fEventDataStatus;}
>   
>   bool active;
>   bool printout;
> 
>   ClassDef(TC_Consumer,1)
>  
> };
> 
> #endif
> 
> Thanks,
> 
> 						Paolo
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:12 MET