//*-- Author : Valeriy Onuchin 11/09/2000 
//
//
////////////////////////////////////////////////////////////////////////////////
//
// rooVArrayBasicType corresponds to VArray_Basic_Type type
// 
// The class rooVArrayBasicType represents descriptors for numeric VArray types.
// An instance of this class is called a numeric-VArray type descriptor.
//
// An instance of this class provides information about a particular numeric 
// VArray type, called its described type. A numeric VArray type is a 
// variable-size array type whose elements are of any fundamental character, 
// integer, floating-point, or pointer type.
//
// You should never instantiate this class directly. Instead, you can obtain a
// numeric-VArray type descriptor either from the module descriptor for the
// top-level module or from an attribute descriptor for a numeric VArray 
// attribute. Typically, you obtain an instance by calling the inherited
// type_of member function of an attribute descriptor.

#include "rooObjy.h"
#include <ooas.h>
#include <oo.h>

ClassImp(rooVArrayBasicType)

////////////////////////////////////////////////////////////////////////////////
//______________________________________________________________________________
 rooVArrayBasicType::rooVArrayBasicType()
{
   // default ctor., for internal use only
   
   fImp = 0; 
}

//______________________________________________________________________________
 rooVArrayBasicType::~rooVArrayBasicType()
{
   // for internal use only  
   
   fImp = 0; 
}

//______________________________________________________________________________
 Int_t rooVArrayBasicType::element_base_type() const
{
   // Returns a code identifying the numeric element type; one of:
   //
   // kooTypeNONE      kooTypeCHAR     kooTypeINT8     kooTypeUINT8
   // kooTypeINT16     kooTypeUINT16   kooTypeINT32    kooTypeUINT32
   // kooTypeINT64     kooTypeUINT64   kooTypeFLOAT32  kooTypeFLOAT64
   // kooTypePTR

   return fImp ? ((VArray_Basic_Type*)fImp)->element_base_type() : 0;
}

//______________________________________________________________________________
 Bool_t rooVArrayBasicType::is_varray_type() const
{
   // Overrides the inherited member function. Indicates that the described 
   // type is a variable-size array type.
   //
   // Returns kTRUE

   return fImp ? ((VArray_Basic_Type*)fImp)->is_varray_type() : 0;
}



ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.