//*-- Author : Valeriy Onuchin 11/09/2000
//
//
////////////////////////////////////////////////////////////////////////////////
//
// rooPropertyType corresponds to Property_Type Class
//
// The abstract class rooPropertyType represents descriptors for property types
// in the schema of the federated database.
//
// Concrete derived classes represent descriptors for attribute types and
// relationship types. An instance of any concrete derived class is called a
// property-type descriptor; it provides information about a particular property
// type, called its described type. Because this class is abstract, you never
// instantiate it; instead, you work with instances of its concrete derived
// classes. You should not derive your own classes from this class.
#include "rooObjy.h"
#include <ooas.h>
#include <oo.h>
ClassImp(rooPropertyType)
////////////////////////////////////////////////////////////////////////////////
//______________________________________________________________________________
rooPropertyType::rooPropertyType()
{
// default ctor. , for internal use only
fImp = 0;
}
//______________________________________________________________________________
//rooPropertyType::operator size_t() const
//{
// corresponds to size_t() operator
//}
//______________________________________________________________________________
Int_t rooPropertyType::type_number() const
{
// Returns the unique type number for the described property type.
return fImp ? ((Property_Type*)fImp)->type_number() : 0;
}
//______________________________________________________________________________
UInt_t rooPropertyType::id() const
{
// Returns the ID for the described type.
//
// The ID of a property type is the same as its type number.
return fImp ? ((Property_Type*)fImp)->id() : 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.