rooClassPosition
class description - source file - inheritance tree
public:
rooClassPosition rooClassPosition()
rooClassPosition rooClassPosition(void* imp)
virtual void ~rooClassPosition()
TClass* Class()
Bool_t is_convertible_to_uint() const
virtual TClass* IsA() const
size_t operator size_t() const
rooClassPosition& operator=(const rooClassPosition&)
Bool_t operator==(const rooClassPosition&) const
size_t rooClassPosition(const rooClassPosition&)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
rooClassPosition corresponds to Class_Position Class
rooClassPosition represents the positions of attributes within classes.
Each instance of this class, called a class position, gives the position
of a particular attribute in the physical layout for objects of a particular
class.
______________________________________________________________________________
About Class Positions
A class position indicates nesting of data inherited from base classes;
You do not instantiate this class directly, instead, you obtain
the class position for a particular attribute of a particular class by
calling the rooClass::position_in_class() member function of a class
descriptor, a class object, or a proposed class; the parameter to the
function specifies the attribute of interest.
The class position for an immediate base class or an attribute that is not
inherited contains a single number. Such a class position can be converted
to and from an unsigned integer. You can call the is_convertible_to_uint()
member function to see whether such conversion is possible.
If a class position is one or more levels of inheritance deep, you may not
convert it to an integer. An attempt to do so throws a
ConvertDeepPositionToInt exception.
rooClassPosition()
default ctor., for internal use only
~rooClassPosition()
or., for internal use only
Bool_t is_convertible_to_uint() const
Returns kTRUE if this class position gives the position of an immediate
base class or an attribute defined in the class; kFALSE if it gives
the position of an ancestor class or an inherited attribute.
rooClassPosition(const rooClassPosition & cp)
copy constructor
Inline Functions
Bool_t operator==(const rooClassPosition&) const
rooClassPosition& operator=(const rooClassPosition&)
size_t operator size_t() const
size_t rooClassPosition(const rooClassPosition&)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
Author: Valeriy Onuchin 11/09/2000
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.